Add uriScheme parameter to Bing Maps metadata request to avoid mixed content
This commit is contained in:
1 parent
a6c3607897
commit
ed980e0e73
1 file changed
+1
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user