Merge pull request #2864 from bartvde/bing-mixed-content

Avoid mixed content in Bing Maps (r=@elemoine)
This commit is contained in:
Bart van den Eijnden
2014-10-23 22:25:57 +02:00

View File

@@ -56,6 +56,7 @@ ol.source.BingMaps = function(options) {
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
jsonp.send({
'include': 'ImageryProviders',
'uriScheme': ol.IS_HTTPS ? 'https' : 'http',
'key': options.key
}, goog.bind(this.handleImageryMetadataResponse, this));