fixed leaflet layer remove
This commit is contained in:
parent
95fcbffefc
commit
282be92161
@ -79,7 +79,7 @@ L.CanvasLayer = L.Class.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onRemove: function (map) {
|
onRemove: function (map) {
|
||||||
map._container.removeChild(this._staticPane);
|
this._staticPane.removeChild(this._canvas);
|
||||||
map.off({
|
map.off({
|
||||||
'viewreset': this._reset,
|
'viewreset': this._reset,
|
||||||
'move': this._render,
|
'move': this._render,
|
||||||
|
Loading…
Reference in New Issue
Block a user