Do not display two coordinates on 'where am I' click

Closes #1968
This commit is contained in:
Ilya Zverev 2018-09-03 12:05:25 +03:00 committed by Tom Hughes
parent d792a3bab5
commit 67925e6d98
3 changed files with 5 additions and 3 deletions

View file

@ -49,7 +49,7 @@ OSM.initializeContextMenu = function (map) {
lat = latlng.lat.toFixed(precision),
lng = latlng.lng.toFixed(precision);
OSM.router.route("/search?query=" + encodeURIComponent(lat + "," + lng));
OSM.router.route("/search?whereami=1&query=" + encodeURIComponent(lat + "," + lng));
}
});