Revert "use zoom parameter if passed" (#6006)

carto
Andrew 7 years ago committed by ghybs
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…
Cancel
Save