Add ol.TileUrlFunction.nullTileUrlFunction
This commit is contained in:
1 parent
f193a94847
commit
c4f9704f4f
1 file changed
+9
@@ -54,6 +54,15 @@ ol.TileUrlFunction.createFromTemplates = function(templates) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.TileCoord} tileCoord Tile coordinate.
|
||||
* @return {string|undefined} Tile URL.
|
||||
*/
|
||||
ol.TileUrlFunction.nullTileUrlFunction = function(tileCoord) {
|
||||
return undefined;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {function(ol.TileCoord): ol.TileCoord} transform Transform.
|
||||
* @param {ol.TileUrlFunctionType} tileUrlFunction Tile URL function.
|
||||
|
||||
Reference in new issue
Block a user