Skip to content

Commit

Permalink
refactor: Change map provider for Rail map
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigismall committed Nov 8, 2024
1 parent 1f7c1af commit 54b8de0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,10 @@ export const osmLayers: Record<LayerName, L.TileLayer[]> = {
}),
],
Rail: [
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.{ext}', {
minZoom: 0,
maxZoom: 20,
L.tileLayer('https://tile.openstreetmap.bzh/ca/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution:
'&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
// @ts-ignore
ext: 'png',
'&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>',
}),
L.tileLayer('https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png', {
attribution:
Expand Down

0 comments on commit 54b8de0

Please sign in to comment.