diff --git a/src/ol/source/bingmapssource.js b/src/ol/source/bingmapssource.js index 8184702577..b2a9bff0fc 100644 --- a/src/ol/source/bingmapssource.js +++ b/src/ol/source/bingmapssource.js @@ -98,8 +98,8 @@ ol.source.BingMaps.prototype.handleImageryMetadataResponse = } var brandLogoUri = response.brandLogoUri; - if (ol.IS_HTTPS && brandLogoUri.indexOf("https")==-1){ - brandLogoUri = brandLogoUri.replace("http", "https"); + if (ol.IS_HTTPS && brandLogoUri.indexOf('https') == -1) { + brandLogoUri = brandLogoUri.replace('http', 'https'); } //var copyright = response.copyright; // FIXME do we need to display this? var resource = response.resourceSets[0].resources[0];