From 2e2e63a3e06785d4570c0009300f4801027df271 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 18 Oct 2017 17:07:33 +0200 Subject: [PATCH] Always request the Bing API with the 'culture' value --- src/ol/source/bingmaps.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/source/bingmaps.js b/src/ol/source/bingmaps.js index 63ea203779..ee9b55ab03 100644 --- a/src/ol/source/bingmaps.js +++ b/src/ol/source/bingmaps.js @@ -67,7 +67,8 @@ ol.source.BingMaps = function(options) { var url = 'https://dev.virtualearth.net/REST/v1/Imagery/Metadata/' + this.imagerySet_ + - '?uriScheme=https&include=ImageryProviders&key=' + this.apiKey_; + '?uriScheme=https&include=ImageryProviders&key=' + this.apiKey_ + + '&c=' + this.culture_; ol.net.jsonp(url, this.handleImageryMetadataResponse.bind(this), undefined, 'jsonp');