Add support for multiple tileSizes in the tilegrid.

This is needed by WMTS.
This commit is contained in:
Bruno Binet
2013-03-03 20:37:45 +01:00
parent 7c440d087f
commit 2816e3256c
8 changed files with 39 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ ol.DebugTile_ = function(tileCoord, tileGrid) {
* @private
* @type {ol.Size}
*/
this.tileSize_ = tileGrid.getTileSize();
this.tileSize_ = tileGrid.getTileSize(tileCoord.z);
/**
* @private