From 85fcdee20c6fd4757618db680d1691ce31dd7097 Mon Sep 17 00:00:00 2001 From: Moorviper Date: Thu, 25 Feb 2016 20:05:36 +0100 Subject: [PATCH] Location Picker - show on sidebar data is now represented at sidebar --- lib/map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/map.js b/lib/map.js index d9c9f3c..d6bda4a 100644 --- a/lib/map.js +++ b/lib/map.js @@ -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() }