lib/leaflet/src/layer/vector/canvas/Path.Canvas.js in leaflet-js-0.6.beta4 vs lib/leaflet/src/layer/vector/canvas/Path.Canvas.js in leaflet-js-0.7.0
- old
+ new
@@ -36,9 +36,10 @@
.off('viewreset', this.projectLatlngs, this)
.off('moveend', this._updatePath, this);
if (this.options.clickable) {
this._map.off('click', this._onClick, this);
+ this._map.off('mousemove', this._onMouseMove, this);
}
this._requestUpdate();
this._map = null;