Correct type declaration of ol.TileUrlFunction
This commit is contained in:
1 parent
69fabce0c0
commit
f193a94847
2 files changed
+2
-2
No files matched your search
@@ -85,7 +85,7 @@ ol.TileStore.prototype.getTile = function(tileCoord) {
|
||||
|
||||
/**
|
||||
* @param {ol.TileCoord} tileCoord Tile coordinate.
|
||||
* @return {string} Tile coord URL.
|
||||
* @return {string|undefined} Tile URL.
|
||||
*/
|
||||
ol.TileStore.prototype.getTileCoordUrl = function(tileCoord) {
|
||||
return this.tileUrlFunction_(tileCoord);
|
||||
|
||||
@@ -6,7 +6,7 @@ goog.require('ol.TileCoord');
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {function(ol.TileCoord): string|undefined}
|
||||
* @typedef {function(ol.TileCoord): (string|undefined)}
|
||||
*/
|
||||
ol.TileUrlFunctionType;
|
||||
|
||||
|
||||
Reference in new issue
Block a user