diff --git a/nezha-fronted/src/components/chart/chart/chartMap.vue b/nezha-fronted/src/components/chart/chart/chartMap.vue index 1665c83b0..cf49c3a0e 100644 --- a/nezha-fronted/src/components/chart/chart/chartMap.vue +++ b/nezha-fronted/src/components/chart/chart/chartMap.vue @@ -124,8 +124,8 @@ export default { this.map = new maplibregl.Map({ container: mapId, style: mapStyle, - maxZoom: 7, - minZoom: 1, + maxZoom: mapConfig.maxZoom || 7, + minZoom: mapConfig.minZoom || 7, renderWorldCopies: false, maxBounds: [[-179, -85], [179, 85]], hash: false,