aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-01 21:00:43 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-01 21:00:43 -0800
commit0802e051c2a27c4df5020f2a65a57504a762ad30 (patch)
tree426397662ff6236c38af10f22fc9462d16a6a39a /modern/src
parentcea47047f296b25794ebb06f679b590c0b42448e (diff)
downloadetbsa-traccar-web-0802e051c2a27c4df5020f2a65a57504a762ad30.tar.gz
etbsa-traccar-web-0802e051c2a27c4df5020f2a65a57504a762ad30.tar.bz2
etbsa-traccar-web-0802e051c2a27c4df5020f2a65a57504a762ad30.zip
More Mapbox layers
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/map/Map.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 1e75d30..8a43e97 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -56,7 +56,9 @@ map.addControl(new SwitcherControl(
[
{ title: t('mapOsm'), uri: styleOsm() },
{ title: t('mapCarto'), uri: styleCarto() },
- { title: 'Mapbox Streets', uri: styleMapbox('streets-v11') },
+ { title: t('mapMapboxStreets'), uri: styleMapbox('streets-v11') },
+ { title: t('mapMapboxOutdoors'), uri: styleMapbox('outdoors-v11') },
+ { title: t('mapMapboxSatellite'), uri: styleMapbox('satellite-v9') },
],
t('mapOsm'),
() => updateReadyValue(false),