aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/main
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/main')
-rw-r--r--modern/src/map/main/MapDefaultCamera.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/main/MapDefaultCamera.js b/modern/src/map/main/MapDefaultCamera.js
index 6ccf660e..bb9ea404 100644
--- a/modern/src/map/main/MapDefaultCamera.js
+++ b/modern/src/map/main/MapDefaultCamera.js
@@ -10,7 +10,7 @@ const MapDefaultCamera = () => {
const defaultLatitude = usePreference('latitude');
const defaultLongitude = usePreference('longitude');
- const defaultZoom = usePreference('zoom');
+ const defaultZoom = usePreference('zoom', 0);
const [initialized, setInitialized] = useState(false);