Skip to content

Commit

Permalink
OpenStreetMap : use HTTPS and endpoint fixes (#9676)
Browse files Browse the repository at this point in the history
See openstreetmap/operations#737 for informations
about OSM URLs
  • Loading branch information
RomainBourgATOL authored and offtherailz committed Nov 27, 2023
1 parent 7a3e2cd commit fc0f26a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions web/client/utils/ConfigProvider.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export default {
OpenStreetMap: {
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
options: {
maxZoom: 19,
maxNativeZoom: 19,
credits: {
text: '© OpenStreetMap, Open Street Map and contributors, CC-BY-SA',
link: 'http://www.openstreetmap.org/copyright'
link: 'https://www.openstreetmap.org/copyright'
},
attribution:
'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
},
variants: {
Mapnik: {},
Expand All @@ -21,22 +21,22 @@ export default {
}
},
DE: {
url: 'http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png',
options: {
maxZoom: 18,
maxNativeZoom: 18
}
},
France: {
url: 'http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
options: {
attribution: '&copy; Openstreetmap France | {attribution.OpenStreetMap}'
}
},
HOT: {
url: 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
options: {
attribution: '{attribution.OpenStreetMap}, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
attribution: '{attribution.OpenStreetMap}, Tiles courtesy of <a href="https://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
}
}
}
Expand Down

0 comments on commit fc0f26a

Please sign in to comment.