diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-03 12:53:03 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-03 12:53:03 -0700 |
commit | 63379920f4a447ff6bd2b30c76363f2692dc0dbe (patch) | |
tree | 496ab775139d8973154f352fca627e848894e7ae | |
parent | ecc127dc62b9ae9a0fef7d614232c1a828575445 (diff) | |
download | trackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.tar.gz trackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.tar.bz2 trackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.zip |
Add Ordnance Survey map (fix #947)
-rw-r--r-- | modern/src/map/core/useMapStyles.js | 6 | ||||
-rw-r--r-- | web/l10n/en.json | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js index 365b4a61..ad68c6ee 100644 --- a/modern/src/map/core/useMapStyles.js +++ b/modern/src/map/core/useMapStyles.js @@ -160,6 +160,12 @@ export default () => { available: true, }, { + id: 'ordnanceSurvey', + title: t('mapOrdnanceSurvey'), + style: 'https://api.os.uk/maps/vector/v1/vts/resources/styles?key=EAZ8p83u72FTGiLjLC2MsTAl1ko6XQHC', + available: true, + }, + { id: 'mapboxStreets', title: t('mapMapboxStreets'), style: styleCustom( diff --git a/web/l10n/en.json b/web/l10n/en.json index 94d9ebee..64f56017 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -284,6 +284,7 @@ "mapYandexMap": "Yandex Map", "mapYandexSat": "Yandex Satellite", "mapWikimedia": "Wikimedia", + "mapOrdnanceSurvey": "Ordnance Survey", "mapMapboxStreets": "Mapbox Streets", "mapMapboxOutdoors": "Mapbox Outdoors", "mapMapboxSatellite": "Mapbox Satellite", |