Skip to content

Commit

Permalink
Update OpenStreetMap provider in Basemaps.js
Browse files Browse the repository at this point in the history
I would like to suggest using the now preferred https://tile.openstreetmap.org URL instead of the current one (`{s}.`), see

openstreetmap/operations#737

Also, changes attribution URL to HTTPS link (use direct links).
Furthermore, changes name to simply 'OpenStreetMap'. (use common name)
  • Loading branch information
danieldegroot2 committed Jul 7, 2024
1 parent 5677eec commit 2bfd6c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/static/app/js/classes/Basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export default [
},
{
attribution:
'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
maxZoom: 21,
minZoom: 0,
label: _("OSM Mapnik"),
url: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
label: _("OpenStreetMap"),
url: "//tile.openstreetmap.org/{z}/{x}/{y}.png"
}
];

0 comments on commit 2bfd6c7

Please sign in to comment.