Add maxZoom option to BingMaps

This commit is contained in:
Éric Lemoine
2014-09-19 23:36:28 +02:00
parent 9da909dd57
commit 23e597eb25
4 changed files with 24 additions and 3 deletions

View File

@@ -3101,6 +3101,7 @@ olx.FeatureOverlayOptions.prototype.style;
* @typedef {{culture: (string|undefined),
* key: string,
* imagerySet: string,
* maxZoom: (number|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined)}}
* @api
*/
@@ -3131,6 +3132,15 @@ olx.source.BingMapsOptions.prototype.key;
olx.source.BingMapsOptions.prototype.imagerySet;
/**
* Max zoom. Default is what's advertized by the BingMaps service (`21`
* currently).
* @type {number|undefined}
* @api
*/
olx.source.BingMapsOptions.prototype.maxZoom;
/**
* Optional function to load a tile given a URL.
* @type {ol.TileLoadFunctionType|undefined}