Factor out ol.TileCoordTransformType

This commit is contained in:
Tom Payne
2013-09-11 15:56:46 +02:00
parent d57b4844d1
commit 184c2e52d5

View File

@@ -14,6 +14,12 @@ goog.require('ol.extent');
ol.TileUrlFunctionType;
/**
* @typedef {function(ol.TileCoord, ol.Projection, ol.TileCoord=): ol.TileCoord}
*/
ol.TileCoordTransformType;
/**
* @param {string} template Template.
* @return {ol.TileUrlFunctionType} Tile URL function.
@@ -121,8 +127,7 @@ ol.TileUrlFunction.nullTileUrlFunction = function(tileCoord, projection) {
/**
* @param {function(ol.TileCoord, ol.Projection, ol.TileCoord=): ol.TileCoord}
* transformFn Transform function.
* @param {ol.TileCoordTransformType} transformFn Transform function.
* @param {ol.TileUrlFunctionType} tileUrlFunction Tile URL function.
* @return {ol.TileUrlFunctionType} Tile URL function.
*/