aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/map/core/useMapStyles.js22
1 files changed, 0 insertions, 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');
@@ -71,27 +70,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'),
style: `https://api.maptiler.com/maps/basic/style.json?key=${mapTilerKey}`,