From 0802e051c2a27c4df5020f2a65a57504a762ad30 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 1 Nov 2020 21:00:43 -0800 Subject: More Mapbox layers --- modern/src/map/Map.js | 4 +++- web/l10n/en.json | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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), diff --git a/web/l10n/en.json b/web/l10n/en.json index 3867041..4f0825c 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", -- cgit v1.2.3