Module type for ol.tilegrid.TileGrid
This commit is contained in:
@@ -21,7 +21,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
|
|||||||
* @property {number} [tilePixelRatio]
|
* @property {number} [tilePixelRatio]
|
||||||
* @property {module:ol/proj~ProjectionLike} [projection]
|
* @property {module:ol/proj~ProjectionLike} [projection]
|
||||||
* @property {module:ol/source/State~State} [state]
|
* @property {module:ol/source/State~State} [state]
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid]
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid]
|
||||||
* @property {boolean} [wrapX=true]
|
* @property {boolean} [wrapX=true]
|
||||||
* @property {number} [transition]
|
* @property {number} [transition]
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ LabeledTile.prototype.load = function() {};
|
|||||||
/**
|
/**
|
||||||
* @typedef {Object} Options
|
* @typedef {Object} Options
|
||||||
* @property {module:ol/proj~ProjectionLike} projection Projection.
|
* @property {module:ol/proj~ProjectionLike} projection Projection.
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid] Tile grid.
|
||||||
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js';
|
|||||||
* module:ol/TileState~TileState, string, ?string,
|
* module:ol/TileState~TileState, string, ?string,
|
||||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid] Tile grid.
|
||||||
* @property {ol.TileLoadFunctionType} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
* @property {ol.TileLoadFunctionType} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
||||||
* ```js
|
* ```js
|
||||||
* function(imageTile, src) {
|
* function(imageTile, src) {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ import {appendParams} from '../uri.js';
|
|||||||
* module:ol/TileState~TileState, string, ?string,
|
* module:ol/TileState~TileState, string, ?string,
|
||||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
||||||
* tilesize and extent supported by the server.
|
* tilesize and extent supported by the server.
|
||||||
* If this is not defined, a default grid will be used: if there is a projection
|
* If this is not defined, a default grid will be used: if there is a projection
|
||||||
* extent, the grid will be based on that; if not, a grid based on a global
|
* extent, the grid will be based on that; if not, a grid based on a global
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import {getKeyZXY} from '../tilecoord.js';
|
|||||||
* @property {boolean} [opaque]
|
* @property {boolean} [opaque]
|
||||||
* @property {module:ol/proj~ProjectionLike} [projection]
|
* @property {module:ol/proj~ProjectionLike} [projection]
|
||||||
* @property {module:ol/source/State~State} [state]
|
* @property {module:ol/source/State~State} [state]
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid]
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid]
|
||||||
* @property {module:ol/Tile~LoadFunction} tileLoadFunction
|
* @property {module:ol/Tile~LoadFunction} tileLoadFunction
|
||||||
* @property {number} [tilePixelRatio]
|
* @property {number} [tilePixelRatio]
|
||||||
* @property {module:ol/Tile~UrlFunction} [tileUrlFunction]
|
* @property {module:ol/Tile~UrlFunction} [tileUrlFunction]
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid.
|
|||||||
* module:ol/TileState~TileState, string, ?string,
|
* module:ol/TileState~TileState, string, ?string,
|
||||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||||
* Default is {@link ol.VectorTile}.
|
* Default is {@link ol.VectorTile}.
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid] Tile grid.
|
||||||
* @property {ol.TileLoadFunctionType} [tileLoadFunction]
|
* @property {ol.TileLoadFunctionType} [tileLoadFunction]
|
||||||
* Optional function to load a tile given a URL. Could look like this:
|
* Optional function to load a tile given a URL. Could look like this:
|
||||||
* ```js
|
* ```js
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ import {appendParams} from '../uri.js';
|
|||||||
* module:ol/TileState~TileState, string, ?string,
|
* module:ol/TileState~TileState, string, ?string,
|
||||||
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
* ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.
|
||||||
* Default is {@link module:ol/ImageTile~ImageTile}.
|
* Default is {@link module:ol/ImageTile~ImageTile}.
|
||||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
* @property {module:ol/tilegrid/TileGrid~TileGrid} [tileGrid] Tile grid. Base this on the resolutions,
|
||||||
* tilesize and extent supported by the server.
|
* tilesize and extent supported by the server.
|
||||||
* If this is not defined, a default grid will be used: if there is a projection
|
* If this is not defined, a default grid will be used: if there is a projection
|
||||||
* extent, the grid will be based on that; if not, a grid based on a global
|
* extent, the grid will be based on that; if not, a grid based on a global
|
||||||
|
|||||||
Reference in New Issue
Block a user