From 36b4fa9c0c71a0b18581fafbac8b2bfed9a6aea7 Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Mon, 20 Apr 2015 18:43:24 +0200 Subject: [PATCH] restores tileloaders --- lib/torque/gmaps/gmaps_tileloader_mixin.js | 1 - lib/torque/leaflet/leaflet_tileloader_mixin.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/torque/gmaps/gmaps_tileloader_mixin.js b/lib/torque/gmaps/gmaps_tileloader_mixin.js index ef128aa..a0c6a6c 100644 --- a/lib/torque/gmaps/gmaps_tileloader_mixin.js +++ b/lib/torque/gmaps/gmaps_tileloader_mixin.js @@ -21,7 +21,6 @@ GMapsTileLoader.prototype = { }, _removeTileLoader: function() { - this.fire('remove'); for(var i in this._listeners) { google.maps.event.removeListener(this._listeners[i]); } diff --git a/lib/torque/leaflet/leaflet_tileloader_mixin.js b/lib/torque/leaflet/leaflet_tileloader_mixin.js index b462ee3..1e72a48 100644 --- a/lib/torque/leaflet/leaflet_tileloader_mixin.js +++ b/lib/torque/leaflet/leaflet_tileloader_mixin.js @@ -11,7 +11,6 @@ L.Mixin.TileLoader = { }, _removeTileLoader: function() { - this.fire('remove'); this._map.off({ 'moveend': this._updateTiles }, this);