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', () => {