Merge pull request #6300 from fredj/hidpi_ImageArcGISRest

Add missing hidpi option for ol.source.ImageArcGISRest
This commit is contained in:
Frédéric Junod
2017-01-09 08:28:50 +01:00
committed by GitHub
2 changed files with 17 additions and 0 deletions

View File

@@ -5064,6 +5064,7 @@ olx.source.OSMOptions.prototype.wrapX;
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* crossOrigin: (null|string|undefined),
* hidpi: (boolean|undefined),
* logo: (string|olx.LogoOptions|undefined),
* imageLoadFunction: (ol.ImageLoadFunctionType|undefined),
* params: Object.<string,*>,
@@ -5095,6 +5096,15 @@ olx.source.ImageArcGISRestOptions.prototype.attributions;
olx.source.ImageArcGISRestOptions.prototype.crossOrigin;
/**
* Use the `ol.Map#pixelRatio` value when requesting the image from the remote
* server. Default is `true`.
* @type {boolean|undefined}
* @api
*/
olx.source.ImageArcGISRestOptions.prototype.hidpi;
/**
* Logo.
* @type {string|olx.LogoOptions|undefined}