fix precision on click
This commit is contained in:
parent
71ff8ad727
commit
3efcb5fd61
1 changed files with 2 additions and 2 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in a new issue