Calling getTileSize with z argument

Thanks for catching this @twpayne.
This commit is contained in:
ahocevar committed 2013-03-05 01:47:28 +01:00
1 parent 66b790294d
commit 23c09abd3a
1 file changed
+1 -1
+1 -1
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);