Skip to content

Commit

Permalink
refactor: replace rail map background
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigismall committed Nov 9, 2024
1 parent fd4ef5b commit 08e4402
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ export const osmLayers: Record<LayerName, L.TileLayer[]> = {
}),
],
Rail: [
L.tileLayer('https://tile.openstreetmap.bzh/ca/{z}/{x}/{y}.png', {
L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution:
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://www.openstreetmap.cat" target="_blank">Breton OpenStreetMap Team</a>',
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap Team</a> hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>'
}),
L.tileLayer('https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png', {
attribution:
Expand Down

0 comments on commit 08e4402

Please sign in to comment.