diff --git a/src/map/core/MapView.jsx b/src/map/core/MapView.jsx index c6d17184..a87eeecb 100644 --- a/src/map/core/MapView.jsx +++ b/src/map/core/MapView.jsx @@ -80,8 +80,8 @@ const MapView = ({ children }) => { const [mapReady, setMapReady] = useState(false); const mapStyles = useMapStyles(); - const activeMapStyles = useAttributePreference('activeMapStyles', 'openFreeMap,locationIqStreets,locationIqDark'); - const [defaultMapStyle] = usePersistedState('selectedMapStyle', usePreference('map', 'openFreeMap')); + const activeMapStyles = useAttributePreference('activeMapStyles', 'locationIqStreets,locationIqDark,openFreeMap'); + const [defaultMapStyle] = usePersistedState('selectedMapStyle', usePreference('map', 'locationIqStreets')); const mapboxAccessToken = useAttributePreference('mapboxAccessToken'); const maxZoom = useAttributePreference('web.maxZoom'); diff --git a/src/settings/PreferencesPage.jsx b/src/settings/PreferencesPage.jsx index ffd7e6e1..abbdb16e 100644 --- a/src/settings/PreferencesPage.jsx +++ b/src/settings/PreferencesPage.jsx @@ -108,7 +108,7 @@ const PreferencesPage = () => { {t('mapActive')} setItem({ ...item, map: e.target.value })} > {mapStyles.filter((style) => style.available).map((style) => ( diff --git a/src/settings/UserPage.jsx b/src/settings/UserPage.jsx index 289194a5..e40e8e51 100644 --- a/src/settings/UserPage.jsx +++ b/src/settings/UserPage.jsx @@ -187,7 +187,7 @@ const UserPage = () => { {t('mapDefault')}