kopia lustrzana https://github.com/OpenDroneMap/ODM
Update OpenStreetMap provider in gdal2tiles.py
I would like to suggest using the now preferred https://tile.openstreetmap.org URL instead of the current one (`{s}.`), see https://github.com/openstreetmap/operations/issues/737 Also, changes attribution URL to HTTPS link (use direct links).pull/1775/head
rodzic
5c30ea19ba
commit
4112edde4d
|
@ -2381,7 +2381,7 @@ class GDAL2Tiles(object):
|
|||
|
||||
// Base layers
|
||||
// .. OpenStreetMap
|
||||
var osm = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'});
|
||||
var osm = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'});
|
||||
|
||||
// .. CartoDB Positron
|
||||
var cartodb = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png', {attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="http://cartodb.com/attributions">CartoDB</a>'});
|
||||
|
|
Ładowanie…
Reference in New Issue