Skip to content

Commit

Permalink
Merge pull request #1775 from danieldegroot2/tiles-openstreetmap-update
Browse files Browse the repository at this point in the history
Update OpenStreetMap provider in gdal2tiles.py
  • Loading branch information
pierotofy authored Jul 7, 2024
2 parents 5c30ea1 + 4112edd commit a6bcb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendm/tiles/gdal2tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -2381,7 +2381,7 @@ def generate_leaflet(self):
// Base layers
// .. OpenStreetMap
var osm = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'});
var osm = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; <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: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="http://cartodb.com/attributions">CartoDB</a>'});
Expand Down

0 comments on commit a6bcb28

Please sign in to comment.