Make tileSize a config option for ol.source.XYZ
This commit is contained in:
@@ -5053,6 +5053,7 @@ olx.source.WMTSOptions.prototype.urls;
|
||||
* minZoom: (number|undefined),
|
||||
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
|
||||
* tilePixelRatio: (number|undefined),
|
||||
* tileSize: (number|undefined),
|
||||
* tileUrlFunction: (ol.TileUrlFunctionType|undefined),
|
||||
* url: (string|undefined),
|
||||
* urls: (Array.<string>|undefined),
|
||||
@@ -5129,6 +5130,14 @@ olx.source.XYZOptions.prototype.tileLoadFunction;
|
||||
olx.source.XYZOptions.prototype.tilePixelRatio;
|
||||
|
||||
|
||||
/**
|
||||
* The tile size used by the tile service. Default is `256` pixels.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.XYZOptions.prototype.tileSize;
|
||||
|
||||
|
||||
/**
|
||||
* Optional function to get tile URL given a tile coordinate and the projection.
|
||||
* Required if url or urls are not provided.
|
||||
|
||||
Reference in New Issue
Block a user