Optionally enable hidpi support for Bing

This commit is contained in:
Bart van den Eijnden
2016-11-04 17:17:07 +01:00
parent bccc841ebd
commit 02c0a6a533
2 changed files with 21 additions and 1 deletions
+9
View File
@@ -4034,6 +4034,7 @@ olx.source;
/**
* @typedef {{cacheSize: (number|undefined),
* culture: (string|undefined),
* hidpi: (boolean|undefined),
* key: string,
* imagerySet: string,
* maxZoom: (number|undefined),
@@ -4052,6 +4053,14 @@ olx.source.BingMapsOptions;
olx.source.BingMapsOptions.prototype.cacheSize;
/**
* If device pixelRatio is >= 2, hidpi tiles will be requested. Default is `false`.
* @type {boolean|undefined}
* @api
*/
olx.source.BingMapsOptions.prototype.hidpi;
/**
* Culture code. Default is `en-us`.
* @type {string|undefined}