refs #10 fix waypoint lat/lng precision to 6 digits

merge-requests/1/head
Julien Veyssier 2017-01-20 11:12:29 -03:00
parent 3b505e7b55
commit 8cd4a2bc70
1 changed files with 2 additions and 2 deletions

View File

@ -447,8 +447,8 @@ function load_map() {
}
buttonParent.find('select[role=symbol]').change();
var latlng = gpxedit.layersData[id].layer.getLatLng();
buttonParent.find('input.layerLat').val(latlng.lat);
buttonParent.find('input.layerLon').val(latlng.lng);
buttonParent.find('input.layerLat').val(latlng.lat.toFixed(6));
buttonParent.find('input.layerLon').val(latlng.lng.toFixed(6));
}
});