mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
fix precision on click
This commit is contained in:
@@ -142,8 +142,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setCoordinates(e: any) {
|
function setCoordinates(e: any) {
|
||||||
latitude = e.lngLat.lat;
|
latitude = e.lngLat.lat.toFixed(6);
|
||||||
longitude = e.lngLat.lng;
|
longitude = e.lngLat.lng.toFixed(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
Reference in New Issue
Block a user