Add support for multiple tileSizes in the tilegrid.
This is needed by WMTS.
This commit is contained in:
@@ -33,7 +33,7 @@ ol.DebugTile_ = function(tileCoord, tileGrid) {
|
||||
* @private
|
||||
* @type {ol.Size}
|
||||
*/
|
||||
this.tileSize_ = tileGrid.getTileSize();
|
||||
this.tileSize_ = tileGrid.getTileSize(tileCoord.z);
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user