diff --git a/src/layer/vector/canvas/Path.Canvas.js b/src/layer/vector/canvas/Path.Canvas.js index 4a0c1606..cc9c8e15 100644 --- a/src/layer/vector/canvas/Path.Canvas.js +++ b/src/layer/vector/canvas/Path.Canvas.js @@ -35,7 +35,9 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path : map .off('viewreset', this.projectLatlngs, this) .off('moveend', this._updatePath, this); - + if (this.options.clickable) { + map.off('click', this._onClick, this); + } this._requestUpdate(); this._map = null;