aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/core/MapView.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/core/MapView.js')
-rw-r--r--modern/src/map/core/MapView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/core/MapView.js b/modern/src/map/core/MapView.js
index f7d62c77..38191a94 100644
--- a/modern/src/map/core/MapView.js
+++ b/modern/src/map/core/MapView.js
@@ -78,7 +78,7 @@ const MapView = ({ children }) => {
const [activeMapStyles] = usePersistedState('activeMapStyles', ['locationIqStreets', 'osm', 'carto']);
const [defaultMapStyle] = usePersistedState('selectedMapStyle', 'locationIqStreets');
const mapboxAccessToken = useAttributePreference('mapboxAccessToken');
- const maxZoom = useAttributePreference('web.maxZoom') || 16;
+ const maxZoom = useAttributePreference('web.maxZoom');
useEffect(() => {
map.setMaxZoom(maxZoom);