Export getZForResolution from ol.tilegrid.TileGrid

This commit is contained in:
Frederic Junod
2016-06-22 08:45:17 +02:00
committed by Andreas Hocevar
parent 14cecb7163
commit 4b7cdffaf4

View File

@@ -492,6 +492,7 @@ ol.tilegrid.TileGrid.prototype.getFullTileRange = function(z) {
* If 1, the nearest lower resolution will be used. If -1, the nearest
* higher resolution will be used. Default is 0.
* @return {number} Z.
* @api
*/
ol.tilegrid.TileGrid.prototype.getZForResolution = function(
resolution, opt_direction) {