From ecc127dc62b9ae9a0fef7d614232c1a828575445 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 3 Jul 2022 11:54:43 -0700 Subject: Add OpenTopoMap support (fix #926) --- modern/src/map/core/useMapStyles.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modern/src') diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js index 78b3cdee..365b4a61 100644 --- a/modern/src/map/core/useMapStyles.js +++ b/modern/src/map/core/useMapStyles.js @@ -61,6 +61,14 @@ export default () => { ), available: true, }, + { + id: 'openTopoMap', + title: t('mapOpenTopoMap'), + style: styleCustom( + ['a', 'b', 'c'].map((i) => `https://${i}.tile.opentopomap.org/{z}/{x}/{y}.png`), + ), + available: true, + }, { id: 'carto', title: t('mapCarto'), -- cgit v1.2.3