Fix wrong tilegrid type for ol/source/XYZ options
This commit is contained in:
@@ -19,7 +19,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js';
|
|||||||
* Higher values can increase reprojection performance, but decrease precision.
|
* Higher values can increase reprojection performance, but decrease precision.
|
||||||
* @property {number} [maxZoom=18] Optional max zoom level.
|
* @property {number} [maxZoom=18] Optional max zoom level.
|
||||||
* @property {number} [maxZoom=0] Optional min zoom level.
|
* @property {number} [maxZoom=0] Optional min zoom level.
|
||||||
* @property {module:ol/tilegrid/WMTS~WMTSTileGrid} 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user