From 91108bc334165ec4d9582fb029f0bf2af28c2841 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 20 May 2021 21:02:31 +0200 Subject: [PATCH] Fix hidden routing marker still being interactive --- js/plugin/Routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; },