Add tilePixelRatio option to ol.source.WMTS

This commit is contained in:
Éric Lemoine
2014-06-18 13:27:40 +02:00
parent 947eb2e949
commit e161f0eaba
2 changed files with 9 additions and 0 deletions

View File

@@ -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}

View File

@@ -186,6 +186,7 @@ ol.source.WMTS = function(options) {
projection: options.projection,
tileGrid: tileGrid,
tileLoadFunction: options.tileLoadFunction,
tilePixelRatio: options.tilePixelRatio,
tileUrlFunction: tileUrlFunction
});