js: load openstreemap tiles over https (#6609)
This commit is contained in:
parent
2ef3730384
commit
0be20c3a9c
|
@ -27,9 +27,9 @@ $(function() {
|
|||
}
|
||||
map.setView(latlng, map_options.zoom);
|
||||
L.tileLayer(
|
||||
'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
{
|
||||
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
|
||||
attribution: 'Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
|
||||
}).addTo(map);
|
||||
if (! $map_widget.data('readonly')) {
|
||||
map.on('click', function(e) {
|
||||
|
|
Loading…
Reference in New Issue