Sources may be configured with a projection, tile grids with an extent
An XYZ tile grid is constructed with an extent defining the bounds of the tile grid.
This commit is contained in:
@@ -5092,14 +5092,24 @@ olx.tilegrid.WMTSOptions.prototype.tileSizes;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{maxZoom: (number|undefined),
|
||||
* minZoom: (number|undefined),
|
||||
* projection: (ol.proj.ProjectionLike|undefined)}}
|
||||
* @typedef {{extent: (ol.Extent|undefined),
|
||||
* maxZoom: (number|undefined),
|
||||
* minZoom: (number|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.tilegrid.XYZOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Extent for the tile grid. The origin for an XYZ tile grid is the top-left
|
||||
* corner of the extent. The zero level of the grid is defined by the
|
||||
* resolution at which one 256 x 256 tile fits in the provided extent. If not
|
||||
* provided, the extent of the EPSG:3857 projection is used.
|
||||
* @type {ol.Extent|undefined}
|
||||
*/
|
||||
olx.tilegrid.XYZOptions.prototype.extent;
|
||||
|
||||
|
||||
/**
|
||||
* Maximum zoom.
|
||||
* @type {number|undefined}
|
||||
@@ -5114,13 +5124,6 @@ olx.tilegrid.XYZOptions.prototype.maxZoom;
|
||||
olx.tilegrid.XYZOptions.prototype.minZoom;
|
||||
|
||||
|
||||
/**
|
||||
* Projection. Default is `'EPSG:3857'`.
|
||||
* @type {ol.proj.ProjectionLike|undefined}
|
||||
*/
|
||||
olx.tilegrid.XYZOptions.prototype.projection;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{resolutions: !Array.<number>}}
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user