From 5a685addb8e1a9ff9b03399d3b06c3cc60d73e9b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 12 Jun 2022 09:59:52 -0700 Subject: Remove mapbox layers --- modern/src/map/core/useMapStyles.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js index a172744b..bbdf0ea9 100644 --- a/modern/src/map/core/useMapStyles.js +++ b/modern/src/map/core/useMapStyles.js @@ -23,7 +23,6 @@ const styleCustom = (urls, attribution) => ({ export default () => { const t = useTranslation(); - const mapboxAccessToken = useAttributePreference('mapboxAccessToken'); const mapTilerKey = useAttributePreference('mapTilerKey'); const locationIqKey = useAttributePreference('locationIqKey'); const bingMapsKey = useAttributePreference('bingMapsKey'); @@ -70,27 +69,6 @@ export default () => { ), available: true, }, - { - id: 'mapboxStreets', - title: t('mapMapboxStreets'), - style: 'mapbox://styles/mapbox/streets-v11', - available: !!mapboxAccessToken, - attribute: 'mapboxAccessToken', - }, - { - id: 'mapboxOutdoors', - title: t('mapMapboxOutdoors'), - style: 'mapbox://styles/mapbox/outdoors-v11', - available: !!mapboxAccessToken, - attribute: 'mapboxAccessToken', - }, - { - id: 'mapboxSatellite', - title: t('mapMapboxSatellite'), - style: 'mapbox://styles/mapbox/satellite-v9', - available: !!mapboxAccessToken, - attribute: 'mapboxAccessToken', - }, { id: 'mapTilerBasic', title: t('mapMapTilerBasic'), -- cgit v1.2.3