fix(图表): 修复地图、气泡地图禁用拖拽后,鼠标右键按住仍然可以拖拽的问题

This commit is contained in:
jianneng-fit2cloud
2025-12-25 18:39:24 +08:00
committed by jianneng-fit2cloud
parent cac165ee84
commit 7777fd3585

View File

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