From beae2e1748a46a3b1c28f68aa2c5bafb97c6213f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 6 Apr 2023 10:55:08 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2749=20=20fix=EF=BC=9A=20=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=20=E9=BB=98=E8=AE=A4=E7=BC=A9=E6=94=BE=E7=9A=84=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=20=E6=9C=80=E5=B0=8F=E5=80=BC=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=BB=8E=E6=8E=A5=E5=8F=A3=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/chart/chart/chartMap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,