From 3f57de12a0f7a5de738feaa078698aa8b62b68ab Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 28 Nov 2025 14:26:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E3=80=81=E6=B0=94=E6=B3=A1=E5=9C=B0=E5=9B=BE=E5=BD=93=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=BC=A9=E6=94=BE=E6=8C=89=E9=92=AE=E6=97=B6?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E5=9C=B0=E5=9B=BE=E7=9A=84=E7=BC=A9=E6=94=BE?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=8B=96=E6=8B=BD=E4=BA=8B=E4=BB=B6=20#17506?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/common/common_antv.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index 6f75bbf53f..ef26d92909 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -1388,6 +1388,12 @@ export function calculateBounds(coordinates: number[][]): { export function configL7PlotZoom(chart: Chart, plot: L7Plot) { const { basicStyle } = parseJson(chart.customAttr) if (shouldHideZoom(basicStyle)) { + // amap + plot.scene.map['zoomEnable']?.disable() + plot.scene.map['dragEnable']?.disable() + // mapbox + plot.scene.map['dragPan']?.disable() + plot.scene.map['scrollZoom']?.disable() return } plot.once('loaded', () => {