diff --git a/js/plugin/Routing.js b/js/plugin/Routing.js index 63665b4..78a5577 100644 --- a/js/plugin/Routing.js +++ b/js/plugin/Routing.js @@ -70,7 +70,7 @@ BR.Routing = L.Routing.extend({ return; } - this._mouseMarker.setOpacity(0.0); + this._hideMouseMarker(); this._map.off('mousemove', this._segmentOnMousemove, this); this._suspended = true; },