mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 09:22:12 +00:00
fix precision on click
This commit is contained in:
1 parent
71ff8ad727
commit
3efcb5fd61
1 file changed
+2
-2
@@ -142,8 +142,8 @@
|
||||
}
|
||||
|
||||
function setCoordinates(e: any) {
|
||||
latitude = e.lngLat.lat;
|
||||
longitude = e.lngLat.lng;
|
||||
latitude = e.lngLat.lat.toFixed(6);
|
||||
longitude = e.lngLat.lng.toFixed(6);
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
|
||||
Reference in new issue
Block a user