Factor out ol.TileCoordTransformType
This commit is contained in:
@@ -14,6 +14,12 @@ goog.require('ol.extent');
|
|||||||
ol.TileUrlFunctionType;
|
ol.TileUrlFunctionType;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {function(ol.TileCoord, ol.Projection, ol.TileCoord=): ol.TileCoord}
|
||||||
|
*/
|
||||||
|
ol.TileCoordTransformType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} template Template.
|
* @param {string} template Template.
|
||||||
* @return {ol.TileUrlFunctionType} Tile URL function.
|
* @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}
|
* @param {ol.TileCoordTransformType} transformFn Transform function.
|
||||||
* transformFn Transform function.
|
|
||||||
* @param {ol.TileUrlFunctionType} tileUrlFunction Tile URL function.
|
* @param {ol.TileUrlFunctionType} tileUrlFunction Tile URL function.
|
||||||
* @return {ol.TileUrlFunctionType} Tile URL function.
|
* @return {ol.TileUrlFunctionType} Tile URL function.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user