Module type for ol.TileState
This commit is contained in:
@@ -53,7 +53,7 @@ const TileImage = function(options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
* @type {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, ol.TileState, string,
|
* @type {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, module:ol/TileState~TileState, string,
|
||||||
* ?string, module:ol/Tile~LoadFunction, module:ol/Tile~Options=)}
|
* ?string, module:ol/Tile~LoadFunction, module:ol/Tile~Options=)}
|
||||||
*/
|
*/
|
||||||
this.tileClass = options.tileClass !== undefined ?
|
this.tileClass = options.tileClass !== undefined ?
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js';
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.Tile}
|
* @extends {ol.Tile}
|
||||||
* @param {module:ol/tilecoord~TileCoord} tileCoord Tile coordinate.
|
* @param {module:ol/tilecoord~TileCoord} tileCoord Tile coordinate.
|
||||||
* @param {ol.TileState} state State.
|
* @param {module:ol/TileState~TileState} state State.
|
||||||
* @param {string} src Image source URI.
|
* @param {string} src Image source URI.
|
||||||
* @param {module:ol/extent~Extent} extent Extent of the tile.
|
* @param {module:ol/extent~Extent} extent Extent of the tile.
|
||||||
* @param {boolean} preemptive Load the tile when visible (before it's needed).
|
* @param {boolean} preemptive Load the tile when visible (before it's needed).
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ const VectorTileSource = function(options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
* @type {function(new: ol.VectorTile, module:ol/tilecoord~TileCoord, ol.TileState, string,
|
* @type {function(new: ol.VectorTile, module:ol/tilecoord~TileCoord, module:ol/TileState~TileState, string,
|
||||||
* ol.format.Feature, module:ol/Tile~LoadFunction)}
|
* ol.format.Feature, module:ol/Tile~LoadFunction)}
|
||||||
*/
|
*/
|
||||||
this.tileClass = options.tileClass ? options.tileClass : VectorTile;
|
this.tileClass = options.tileClass ? options.tileClass : VectorTile;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ const TierSizeCalculation = {
|
|||||||
* @extends {ol.ImageTile}
|
* @extends {ol.ImageTile}
|
||||||
* @param {module:ol/tilegrid/TileGrid~TileGrid} tileGrid TileGrid that the tile belongs to.
|
* @param {module:ol/tilegrid/TileGrid~TileGrid} tileGrid TileGrid that the tile belongs to.
|
||||||
* @param {module:ol/tilecoord~TileCoord} tileCoord Tile coordinate.
|
* @param {module:ol/tilecoord~TileCoord} tileCoord Tile coordinate.
|
||||||
* @param {ol.TileState} state State.
|
* @param {module:ol/TileState~TileState} state State.
|
||||||
* @param {string} src Image source URI.
|
* @param {string} src Image source URI.
|
||||||
* @param {?string} crossOrigin Cross origin.
|
* @param {?string} crossOrigin Cross origin.
|
||||||
* @param {module:ol/Tile~LoadFunction} tileLoadFunction Tile load function.
|
* @param {module:ol/Tile~LoadFunction} tileLoadFunction Tile load function.
|
||||||
|
|||||||
Reference in New Issue
Block a user