Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[fix] fix for minzoom in examples (#2959)

Igor Dykhta098ee9b420b1
diff --git a/examples/demo-app/src/reducers/index.js b/examples/demo-app/src/reducers/index.js
index 6dc8db491..282ab87a2 100644
--- a/examples/demo-app/src/reducers/index.js
+++ b/examples/demo-app/src/reducers/index.js
@@ -197,7 +197,7 @@ const loadRemoteDatasetProcessedSuccess = (state, action) => {
parsedConfig.mapState.maxZoom = config.config.mapState.maxZoom;
}
if (typeof config?.config?.mapState?.minZoom === 'number') {
- parsedConfig.mapState.minZoom = config.config.mapState.maxZoom;
+ parsedConfig.mapState.minZoom = config.config.mapState.minZoom;
}
}