restores tileloaders

This commit is contained in:
Francisco Dans 2015-04-20 18:43:24 +02:00
parent 25e61e064f
commit 36b4fa9c0c
2 changed files with 0 additions and 2 deletions

View File

@ -21,7 +21,6 @@ GMapsTileLoader.prototype = {
},
_removeTileLoader: function() {
this.fire('remove');
for(var i in this._listeners) {
google.maps.event.removeListener(this._listeners[i]);
}

View File

@ -11,7 +11,6 @@ L.Mixin.TileLoader = {
},
_removeTileLoader: function() {
this.fire('remove');
this._map.off({
'moveend': this._updateTiles
}, this);