Merge pull request #47 from fredj/protocol-relative
Use protocol-relative URL for Bing metadata.
This commit is contained in:
@@ -55,7 +55,7 @@ ol.source.BingMaps = function(bingMapsOptions) {
|
|||||||
this.ready_ = false;
|
this.ready_ = false;
|
||||||
|
|
||||||
var uri = new goog.Uri(
|
var uri = new goog.Uri(
|
||||||
'http://dev.virtualearth.net/REST/v1/Imagery/Metadata/' +
|
'//dev.virtualearth.net/REST/v1/Imagery/Metadata/' +
|
||||||
bingMapsOptions.style);
|
bingMapsOptions.style);
|
||||||
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
|
var jsonp = new goog.net.Jsonp(uri, 'jsonp');
|
||||||
jsonp.send({
|
jsonp.send({
|
||||||
|
|||||||
Reference in New Issue
Block a user