mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 00:32:33 +00:00
limit lon lat precision shown
This commit is contained in:
@@ -60,8 +60,8 @@
|
|||||||
) {
|
) {
|
||||||
description += '\n\n' + $selectedWaypoint[0].cmt;
|
description += '\n\n' + $selectedWaypoint[0].cmt;
|
||||||
}
|
}
|
||||||
longitude = $selectedWaypoint[0].getLongitude();
|
longitude = parseFloat($selectedWaypoint[0].getLongitude().toFixed(6));
|
||||||
latitude = $selectedWaypoint[0].getLatitude();
|
latitude = parseFloat($selectedWaypoint[0].getLatitude().toFixed(6));
|
||||||
} else {
|
} else {
|
||||||
selectedWaypoint.set(undefined);
|
selectedWaypoint.set(undefined);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user