Merge pull request #2864 from bartvde/bing-mixed-content
Avoid mixed content in Bing Maps (r=@elemoine)
This commit is contained in:
@@ -56,6 +56,7 @@ ol.source.BingMaps = function(options) {
|
|||||||
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
|
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
|
||||||
jsonp.send({
|
jsonp.send({
|
||||||
'include': 'ImageryProviders',
|
'include': 'ImageryProviders',
|
||||||
|
'uriScheme': ol.IS_HTTPS ? 'https' : 'http',
|
||||||
'key': options.key
|
'key': options.key
|
||||||
}, goog.bind(this.handleImageryMetadataResponse, this));
|
}, goog.bind(this.handleImageryMetadataResponse, this));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user