Add tilePixelRatio option to ol.source.WMTS
This commit is contained in:
@@ -4184,6 +4184,7 @@ olx.source.StaticVectorOptions.prototype.urls;
|
|||||||
* requestEncoding: (ol.source.WMTSRequestEncoding|undefined),
|
* requestEncoding: (ol.source.WMTSRequestEncoding|undefined),
|
||||||
* layer: string,
|
* layer: string,
|
||||||
* style: string,
|
* style: string,
|
||||||
|
* tilePixelRatio: (number|undefined),
|
||||||
* version: (string|undefined),
|
* version: (string|undefined),
|
||||||
* format: (string|undefined),
|
* format: (string|undefined),
|
||||||
* matrixSet: string,
|
* matrixSet: string,
|
||||||
@@ -4260,6 +4261,13 @@ olx.source.WMTSOptions.prototype.layer;
|
|||||||
olx.source.WMTSOptions.prototype.style;
|
olx.source.WMTSOptions.prototype.style;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tile pixel ratio.
|
||||||
|
* @type {number|undefined}
|
||||||
|
*/
|
||||||
|
olx.source.WMTSOptions.prototype.tilePixelRatio;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WMTS version. Default to `1.0.0`.
|
* WMTS version. Default to `1.0.0`.
|
||||||
* @type {string|undefined}
|
* @type {string|undefined}
|
||||||
|
|||||||
@@ -186,6 +186,7 @@ ol.source.WMTS = function(options) {
|
|||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
tileGrid: tileGrid,
|
tileGrid: tileGrid,
|
||||||
tileLoadFunction: options.tileLoadFunction,
|
tileLoadFunction: options.tileLoadFunction,
|
||||||
|
tilePixelRatio: options.tilePixelRatio,
|
||||||
tileUrlFunction: tileUrlFunction
|
tileUrlFunction: tileUrlFunction
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user