aboutsummaryrefslogtreecommitdiff
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
parentcea47047f296b25794ebb06f679b590c0b42448e (diff)
downloadtrackermap-web-0802e051c2a27c4df5020f2a65a57504a762ad30.tar.gz
trackermap-web-0802e051c2a27c4df5020f2a65a57504a762ad30.tar.bz2
trackermap-web-0802e051c2a27c4df5020f2a65a57504a762ad30.zip
More Mapbox layers
-rw-r--r--modern/src/map/Map.js4
-rw-r--r--web/l10n/en.json3
2 files changed, 6 insertions, 1 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 1e75d30a..8a43e97b 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),
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 38670418..4f0825c5 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -254,6 +254,9 @@
"mapYandexMap": "Yandex Map",
"mapYandexSat": "Yandex Satellite",
"mapWikimedia": "Wikimedia",
+ "mapMapboxStreets": "Mapbox Streets",
+ "mapMapboxOutdoors": "Mapbox Outdoors",
+ "mapMapboxSatellite": "Mapbox Satellite",
"mapShapePolygon": "Polygon",
"mapShapeCircle": "Circle",
"mapShapePolyline": "Polyline",