Skip to content

Commit

Permalink
Remove OSM subdomains (LycheeOrg#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Jul 11, 2023
1 parent c7f5997 commit 742e453
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/main/mapview.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,29 @@ const map_provider_layer_attribution = {
* @type {MapProvider}
*/
"OpenStreetMap.org": {
layer: "https://{s}.tile.osm.org/{z}/{x}/{y}.png",
attribution: `&copy; <a href="https://osm.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
layer: "https://tile.openstreetmap.org/{z}/{x}/{y}.png",
attribution: `&copy; <a href="https://openstreetmap.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
},
/**
* @type {MapProvider}
*/
"OpenStreetMap.de": {
layer: "https://tile.openstreetmap.de/{z}/{x}/{y}.png ",
attribution: `&copy; <a href="https://osm.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
attribution: `&copy; <a href="https://openstreetmap.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
},
/**
* @type {MapProvider}
*/
"OpenStreetMap.fr": {
layer: "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png ",
attribution: `&copy; <a href="https://osm.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
attribution: `&copy; <a href="https://openstreetmap.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
},
/**
* @type {MapProvider}
*/
RRZE: {
layer: "https://{s}.osm.rrze.fau.de/osmhd/{z}/{x}/{y}.png",
attribution: `&copy; <a href="https://osm.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
attribution: `&copy; <a href="https://openstreetmap.org/copyright">${lychee.locale["OSM_CONTRIBUTORS"]}</a>`,
},
};

Expand Down

0 comments on commit 742e453

Please sign in to comment.