Ignore klick on map if route is ongoing
This commit is contained in:
parent
2b7b7e4824
commit
ae36e7767a
1 changed files with 1 additions and 0 deletions
|
|
@ -801,6 +801,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
map.on("click", function (e) {
|
map.on("click", function (e) {
|
||||||
|
if (isRouteMode) return;
|
||||||
placePin(e.latlng);
|
placePin(e.latlng);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue