added reload tile to tile loaders
This commit is contained in:
parent
71ef5cee95
commit
2655094cdc
@ -31,6 +31,11 @@ GMapsTileLoader.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
_reloadTiles: function() {
|
||||
this._removeTiles();
|
||||
this._updateTiles();
|
||||
},
|
||||
|
||||
_updateTiles: function () {
|
||||
|
||||
if (!this._map) { return; }
|
||||
|
@ -50,6 +50,11 @@ L.Mixin.TileLoader = {
|
||||
}
|
||||
},
|
||||
|
||||
_reloadTiles: function() {
|
||||
this._removeTiles();
|
||||
this._updateTiles();
|
||||
},
|
||||
|
||||
_removeOtherTiles: function (bounds) {
|
||||
var kArr, x, y, z, key;
|
||||
var zoom = this._map.getZoom();
|
||||
|
Loading…
Reference in New Issue
Block a user