mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Places: Use float64 for all coordinates to avoid rounding errors #3953
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -20,8 +20,8 @@ type TestForm struct {
|
||||
Photo bool `form:"photo"`
|
||||
Archived bool `form:"archived"`
|
||||
Error bool `form:"error"`
|
||||
Lat float32 `form:"lat"`
|
||||
Lng float32 `form:"lng"`
|
||||
Lat float64 `form:"lat"`
|
||||
Lng float64 `form:"lng"`
|
||||
Dist uint `form:"dist"`
|
||||
Color string `form:"color"`
|
||||
Chroma int16 `form:"chroma"`
|
||||
|
||||
Reference in New Issue
Block a user