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),
|
||||
* layer: string,
|
||||
* style: string,
|
||||
* tilePixelRatio: (number|undefined),
|
||||
* version: (string|undefined),
|
||||
* format: (string|undefined),
|
||||
* matrixSet: string,
|
||||
@@ -4260,6 +4261,13 @@ olx.source.WMTSOptions.prototype.layer;
|
||||
olx.source.WMTSOptions.prototype.style;
|
||||
|
||||
|
||||
/**
|
||||
* Tile pixel ratio.
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
olx.source.WMTSOptions.prototype.tilePixelRatio;
|
||||
|
||||
|
||||
/**
|
||||
* WMTS version. Default to `1.0.0`.
|
||||
* @type {string|undefined}
|
||||
|
||||
@@ -186,6 +186,7 @@ ol.source.WMTS = function(options) {
|
||||
projection: options.projection,
|
||||
tileGrid: tileGrid,
|
||||
tileLoadFunction: options.tileLoadFunction,
|
||||
tilePixelRatio: options.tilePixelRatio,
|
||||
tileUrlFunction: tileUrlFunction
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user