Merge pull request #8 from Moorviper/master
Location Picker - show on sidebar
This commit is contained in:
commit
cec0775423
@ -235,7 +235,8 @@ define(["map/clientlayer", "map/labelslayer",
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showCoordinates(e) {
|
function showCoordinates(e) {
|
||||||
window.prompt("Koordinaten (Lat, Lng)", e.latlng.lat.toFixed(9) + ", " + e.latlng.lng.toFixed(9))
|
router.gotoLocation(e.latlng)
|
||||||
|
// window.prompt("Koordinaten (Lat, Lng)", e.latlng.lat.toFixed(9) + ", " + e.latlng.lng.toFixed(9))
|
||||||
disableCoords()
|
disableCoords()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user