triggers remove from layer
This commit is contained in:
parent
36b4fa9c0c
commit
aaa8b819ed
@ -127,6 +127,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
|
||||
},
|
||||
|
||||
onRemove: function(map) {
|
||||
this.fire('remove');
|
||||
this._removeTileLoader();
|
||||
map.off({
|
||||
'zoomend': this._clearCaches,
|
||||
|
Loading…
Reference in New Issue
Block a user