Module type for ol.TileState
This commit is contained in:
@@ -27,10 +27,10 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js';
|
||||
* @property {boolean} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
||||
* Higher values can increase reprojection performance, but decrease precision.
|
||||
* @property {module:ol/source/State~State} [state] Source state.
|
||||
* @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* ol.TileState, string, ?string,
|
||||
* @property {function(new: module:ol/ImageTile~ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* module:ol/TileState~TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||
* Default is {@link ol.ImageTile}.
|
||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
||||
* @property {ol.TileLoadFunctionType} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
||||
* ```js
|
||||
|
||||
@@ -43,10 +43,10 @@ import {appendParams} from '../uri.js';
|
||||
* @property {module:ol/proj~ProjectionLike} projection Projection.
|
||||
* @property {boolean} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
||||
* Higher values can increase reprojection performance, but decrease precision.
|
||||
* @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* ol.TileState, string, ?string,
|
||||
* @property {function(new: module:ol/ImageTile~ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* module:ol/TileState~TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||
* Default is {@link ol.ImageTile}.
|
||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
||||
* tilesize and extent supported by the server.
|
||||
* If this is not defined, a default grid will be used: if there is a projection
|
||||
|
||||
@@ -22,7 +22,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid.
|
||||
* @property {module:ol/proj~ProjectionLike} projection Projection.
|
||||
* @property {module:ol/source/State~State} [state] Source state.
|
||||
* @property {function(new: ol.VectorTile, module:ol/tilecoord~TileCoord,
|
||||
* ol.TileState, string, ?string,
|
||||
* module:ol/TileState~TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||
* Default is {@link ol.VectorTile}.
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
||||
|
||||
@@ -27,9 +27,9 @@ import {appendParams} from '../uri.js';
|
||||
* @property {ol.source.WMTSRequestEncoding|string} [requestEncoding='KVP'] Request encoding.
|
||||
* @property {string} layer Layer name as advertised in the WMTS capabilities.
|
||||
* @property {string} style Style name as advertised in the WMTS capabilities.
|
||||
* @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* ol.TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. Default is {@link ol.ImageTile}.
|
||||
* @property {function(new: module:ol/ImageTile~ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* module:ol/TileState~TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. Default is {@link module:ol/ImageTile~ImageTile}.
|
||||
* @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service.
|
||||
* For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px
|
||||
* by 512px images (for retina/hidpi devices) then `tilePixelRatio`
|
||||
@@ -71,10 +71,10 @@ import {appendParams} from '../uri.js';
|
||||
* this. See http://mapserver.org/output/tile_mode.html.
|
||||
* @property {boolean} [hidpi=true] Use the `ol.Map#pixelRatio` value when requesting
|
||||
* the image from the remote server.
|
||||
* @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* ol.TileState, string, ?string,
|
||||
* @property {function(new: module:ol/ImageTile~ImageTile, module:ol/tilecoord~TileCoord,
|
||||
* module:ol/TileState~TileState, string, ?string,
|
||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||
* Default is {@link ol.ImageTile}.
|
||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
||||
* tilesize and extent supported by the server.
|
||||
* If this is not defined, a default grid will be used: if there is a projection
|
||||
|
||||
Reference in New Issue
Block a user