aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-11 08:09:57 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-11 08:09:57 -0700
commit5a8450ed2a50213c692a319a63fd45f6c91c54d7 (patch)
tree54abe3dc611ed68e4922d680001aac109eacfdb5 /modern/src/map
parente16f7353e850f69b29f285c80e1a0f200e5992be (diff)
downloadtrackermap-web-5a8450ed2a50213c692a319a63fd45f6c91c54d7.tar.gz
trackermap-web-5a8450ed2a50213c692a319a63fd45f6c91c54d7.tar.bz2
trackermap-web-5a8450ed2a50213c692a319a63fd45f6c91c54d7.zip
Add railway map overlay
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/overlay/useMapOverlays.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/map/overlay/useMapOverlays.js b/modern/src/map/overlay/useMapOverlays.js
index 3d539d32..fa5240e8 100644
--- a/modern/src/map/overlay/useMapOverlays.js
+++ b/modern/src/map/overlay/useMapOverlays.js
@@ -29,6 +29,12 @@ export default () => {
available: true,
},
{
+ id: 'openRaiwayMap',
+ title: t('mapOpenRaiwayMap'),
+ source: sourceCustom(['https://tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png']),
+ available: true,
+ },
+ {
id: 'openWeatherClouds',
title: t('mapOpenWeatherClouds'),
source: sourceOpenWeather('clouds_new', openWeatherKey),