]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/contextmenu.js
Move auth provider icons to auth_providers subdirectory
[rails.git] / app / assets / javascripts / index / contextmenu.js
index cac5e6fbf8c8c145d57f427a599d423c8a3de773..ffc0eadb771d24810ba21c2e1344d20484726f27 100644 (file)
@@ -51,7 +51,7 @@ OSM.initializeContextMenu = function (map) {
           lat = latlng.lat.toFixed(precision),
           lng = latlng.lng.toFixed(precision);
 
-      OSM.router.route("/search?whereami=1&query=" + encodeURIComponent(lat + "," + lng));
+      OSM.router.route("/search?lat=" + encodeURIComponent(lat) + "&lon=" + encodeURIComponent(lng));
     }
   });