From 6c316c8688660fed0136b772343a629c87b57ef0 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Tue, 25 Jul 2017 18:10:17 +0200 Subject: [PATCH] Leaflet 1.0: Fix elevation marker on track hover Breaking change by "only propagate events if given true to fire, #2311", https://github.com/Leaflet/Leaflet/commit/6d1142a --- js/plugin/Routing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/plugin/Routing.js b/js/plugin/Routing.js index 30e39ed..fca3b55 100644 --- a/js/plugin/Routing.js +++ b/js/plugin/Routing.js @@ -57,12 +57,12 @@ BR.Routing = L.Routing.extend({ var latLng = e.latlng; if (latLng._feature) { this._mouseMarker._feature = latLng._feature; - latLng._feature.fire('mousemove', e); + latLng._feature.fire('mousemove', e, true); } }, this._edit)); var mouseoutHandler = function(e) { if (this._mouseMarker._feature) { - this._mouseMarker._feature.fire('mouseout', e); + this._mouseMarker._feature.fire('mouseout', e, true); this._mouseMarker._feature = null; } };