Merge pull request #7004 from fredj/https
Use https for bing and stamen attributions
This commit is contained in:
@@ -85,7 +85,7 @@ ol.inherits(ol.source.BingMaps, ol.source.TileImage);
|
|||||||
*/
|
*/
|
||||||
ol.source.BingMaps.TOS_ATTRIBUTION = new ol.Attribution({
|
ol.source.BingMaps.TOS_ATTRIBUTION = new ol.Attribution({
|
||||||
html: '<a class="ol-attribution-bing-tos" ' +
|
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>'
|
'Terms of Use</a>'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ ol.inherits(ol.source.Stamen, ol.source.XYZ);
|
|||||||
*/
|
*/
|
||||||
ol.source.Stamen.ATTRIBUTIONS = [
|
ol.source.Stamen.ATTRIBUTIONS = [
|
||||||
new ol.Attribution({
|
new ol.Attribution({
|
||||||
html: 'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, ' +
|
html: 'Map tiles by <a href="https://stamen.com/">Stamen Design</a>, ' +
|
||||||
'under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY' +
|
'under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY' +
|
||||||
' 3.0</a>.'
|
' 3.0</a>.'
|
||||||
}),
|
}),
|
||||||
ol.source.OSM.ATTRIBUTION
|
ol.source.OSM.ATTRIBUTION
|
||||||
|
|||||||
Reference in New Issue
Block a user