Revert "use zoom parameter if passed" (#6006)
This commit is contained in:
parent
4704037365
commit
bfbaf6522e
@ -164,7 +164,7 @@ export var TileLayer = GridLayer.extend({
|
||||
s: this._getSubdomain(coords),
|
||||
x: coords.x,
|
||||
y: coords.y,
|
||||
z: coords.z ? coords.z : this._getZoomForUrl()
|
||||
z: this._getZoomForUrl()
|
||||
};
|
||||
if (this._map && !this._map.options.crs.infinite) {
|
||||
var invertedY = this._globalTileRange.max.y - coords.y;
|
||||
|
Loading…
Reference in New Issue
Block a user