Leaflet 1.0: Fix elevation marker on track hover
Breaking change by "only propagate events if given true to fire, #2311",
6d1142a
This commit is contained in:
parent
7d2efa6fdf
commit
6c316c8688
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue