Fix hidden routing marker still being interactive

This commit is contained in:
Norbert Renner 2021-05-20 21:02:31 +02:00
parent 47f3a06be6
commit 91108bc334

View file

@ -70,7 +70,7 @@ BR.Routing = L.Routing.extend({
return; return;
} }
this._mouseMarker.setOpacity(0.0); this._hideMouseMarker();
this._map.off('mousemove', this._segmentOnMousemove, this); this._map.off('mousemove', this._segmentOnMousemove, this);
this._suspended = true; this._suspended = true;
}, },