fixed leaflet layer remove

This commit is contained in:
javi 2014-02-07 13:29:07 +01:00
parent 95fcbffefc
commit 282be92161

View File

@ -79,7 +79,7 @@ L.CanvasLayer = L.Class.extend({
},
onRemove: function (map) {
map._container.removeChild(this._staticPane);
this._staticPane.removeChild(this._canvas);
map.off({
'viewreset': this._reset,
'move': this._render,