From 3fe5db773243dc7020137edcc2f479d248dc27de Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 6 Apr 2023 11:02:13 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2749=20fix=EF=BC=9A=20=E5=9C=B0=E5=9B=BE=20?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=BC=A9=E6=94=BE=E7=9A=84=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=20=E6=9C=80=E5=B0=8F=E5=80=BC=20=E6=94=B9=E4=B8=BA=E4=BB=8E?= =?UTF-8?q?=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/common/latlngPicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/latlngPicker.vue b/nezha-fronted/src/components/common/latlngPicker.vue index f70a65ea4..23a001f75 100644 --- a/nezha-fronted/src/components/common/latlngPicker.vue +++ b/nezha-fronted/src/components/common/latlngPicker.vue @@ -70,8 +70,8 @@ export default { this.map = new maplibregl.Map({ container: mapId, style: mapStyle, - maxZoom: 7, - minZoom: 1, + maxZoom: this.mapParam.maxZoom || 7, + minZoom: this.mapParam.minZoom || 1, renderWorldCopies: false, maxBounds: [[-179, -85], [179, 85]], hash: false,