Rename ol.source.BingMapsOptions style property to imagerySet

To match the Bing Maps terminology
This commit is contained in:
Frederic Junod
2013-11-13 10:49:14 +01:00
parent 0814b2c5c6
commit e508be66d9
8 changed files with 9 additions and 9 deletions

View File

@@ -590,7 +590,7 @@
* @property {string|undefined} culture Culture.
* @property {string} key Bing Maps API key. Get yours at
* http://bingmapsportal.com/.
* @property {string} style Style.
* @property {string} imagerySet Type of imagery.
* @property {ol.TileLoadFunctionType|undefined} tileLoadFunction Optional
* function to load a tile given a URL.
* @todo stability experimental

View File

@@ -38,7 +38,7 @@ ol.source.BingMaps = function(options) {
this.culture_ = goog.isDef(options.culture) ? options.culture : 'en-us';
var uri = new goog.Uri(
'//dev.virtualearth.net/REST/v1/Imagery/Metadata/' + options.style);
'//dev.virtualearth.net/REST/v1/Imagery/Metadata/' + options.imagerySet);
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
jsonp.send({
'include': 'ImageryProviders',