Merge pull request #1150 from EdJoPaTo/fix-OpenStreetMap-MixedContent

Load OpenStreetMap tiles over https
This commit is contained in:
Dave Ingram
2016-12-27 14:41:46 -08:00
committed by GitHub

View File

@ -36,8 +36,8 @@ window.plugin.mapTileOpenStreetMap = {
}; };
var layers = { var layers = {
'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png': 'OpenStreetMap', 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png': 'OpenStreetMap',
'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png': 'Humanitarian', 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png': 'Humanitarian',
}; };
for(var url in layers) { for(var url in layers) {