fix(图表): 修复地图、气泡地图禁用拖拽后,在移动端中仍然能够双指上下旋转以及放大缩小的问题

This commit is contained in:
jianneng-fit2cloud
2025-12-25 18:54:08 +08:00
committed by jianneng-fit2cloud
parent 7777fd3585
commit 26acd44e5c

View File

@@ -1396,6 +1396,8 @@ export function configL7PlotZoom(chart: Chart, plot: L7Plot<PlotOptions>) {
plot.scene.map['scrollZoom']?.disable()
plot.scene.map['doubleClickZoom']?.disable()
plot.scene.map['dragRotate']?.disable()
plot.scene.map['touchPitch']?.disable()
plot.scene.map['touchZoomRotate']?.disable()
return
}
plot.once('loaded', () => {