Browse Source

Use prompt instead of alert to show coords

Michael Schwarz 8 years ago
parent
commit
e02f657dab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/map.js

+ 1 - 1
lib/map.js

@@ -215,7 +215,7 @@ define(["map/clientlayer", "map/labelslayer",
       }
 
       function showCoordinates(e) {
-        window.alert("Koordinaten: " + e.latlng.lat.toFixed(6) + ", " + e.latlng.lng.toFixed(6))
+        prompt("Koordinaten Lat, Lon: ", e.latlng.lat.toFixed(6) + ", " + e.latlng.lng.toFixed(6))
         disableCoords()
       }