Location Picker - show on sidebar

data is now represented at sidebar
This commit is contained in:
Moorviper 2016-02-25 20:05:36 +01:00
parent 91f39ef841
commit 85fcdee20c
1 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,8 @@ define(["map/clientlayer", "map/labelslayer",
}
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()
}