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