Fix issue with _super
being removed from listeners
See https://github.com/CartoDB/cartodb.js/issues/478#issuecomment-102415466 for more details.
This commit is contained in:
parent
321258a891
commit
999b4d49f4
@ -21,9 +21,10 @@ GMapsTileLoader.prototype = {
|
||||
},
|
||||
|
||||
_removeTileLoader: function() {
|
||||
for(var i in this._listeners) {
|
||||
google.maps.event.removeListener(this._listeners[i]);
|
||||
}
|
||||
this._listeners.forEach(function (listener) {
|
||||
google.maps.event.removeListener(listener);
|
||||
});
|
||||
|
||||
this._removeTiles();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user