Merge pull request #8 from Moorviper/master

Location Picker - show on sidebar
This commit is contained in:
PetaByteBoy // Milan Pässler 2016-02-25 20:17:37 +01:00
commit cec0775423

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()
}