Use https for bing and stamen attributions

This commit is contained in:
Frederic Junod
2017-07-10 08:31:51 +02:00
parent f88d8b8a7d
commit 429e2982d0
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ ol.inherits(ol.source.BingMaps, ol.source.TileImage);
*/
ol.source.BingMaps.TOS_ATTRIBUTION = new ol.Attribution({
html: '<a class="ol-attribution-bing-tos" ' +
'href="http://www.microsoft.com/maps/product/terms.html">' +
'href="https://www.microsoft.com/maps/product/terms.html">' +
'Terms of Use</a>'
});

View File

@@ -48,8 +48,8 @@ ol.inherits(ol.source.Stamen, ol.source.XYZ);
*/
ol.source.Stamen.ATTRIBUTIONS = [
new ol.Attribution({
html: 'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, ' +
'under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY' +
html: 'Map tiles by <a href="https://stamen.com/">Stamen Design</a>, ' +
'under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY' +
' 3.0</a>.'
}),
ol.source.OSM.ATTRIBUTION