Skip to content

Commit

Permalink
Merge pull request #114 from danieldegroot2/tile-url
Browse files Browse the repository at this point in the history
Use preferred tile.openstreetmap.org URL
  • Loading branch information
secondl1ght authored Nov 26, 2023
2 parents 8a01d2a + 637a79e commit b51bf31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/map/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const toggleMapButtons = () => {
export const layers = (leaflet, map) => {
const theme = detectTheme();

const osm = leaflet.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
const osm = leaflet.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
noWrap: true,
maxZoom: 19
});
Expand Down

0 comments on commit b51bf31

Please sign in to comment.