Calling getTileSize with z argument

Thanks for catching this @twpayne.
This commit is contained in:
ahocevar
2013-03-05 01:47:28 +01:00
parent 66b790294d
commit 23c09abd3a

View File

@@ -83,7 +83,7 @@ ol.TileUrlFunction.createWMSParams =
if (goog.isNull(tileCoord)) {
return undefined;
} else {
var size = tileGrid.getTileSize();
var size = tileGrid.getTileSize(tileCoord.z);
var extent = tileGrid.getTileCoordExtent(tileCoord);
return ol.source.wms.getUrl(
baseUrl, params, extent, size, projection, opt_version);