brush 支持 bmap吗
One-line summary [问题简述]
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]:
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]:
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
option = {
}
Other comments [其他信息]
brush会跟着bmap的拖动平移事件导致选点不准确,从文档没找到支持的方式,正好也遇到同样问题,希望我们大神指教。。。
geo支持是因为有geoIndex,感觉geo支持的话,bmap也应该支持呀。
geo的坐标系是经纬度,bmap也是,所以有些奇怪为什么只和bmap的roam冲突,geo正常
遇到同样的问题,希望官方能给出解决方案。
有人有解决方法或者替代方法不,分享一下。
这个问题无解么?
this.map.chart.on('brush', (p: any) => { if (p.command === 'clear') { this.map.chart.dispatchAction({ type: 'takeGlobalCursor', key: 'brush', brushOption: { brushType: false, brushMode: 'single' } }) this.brushComplete() } else { const mapChart = this.map.chart const amapInstense = mapChart.getModel().getComponent('amap') amapInstense.getAMap().setStatus({ dragEnable: false, rotateEnable: false, }) if (!p.areas.length) { amapInstense.getAMap().setStatus({ dragEnable: true, rotateEnable: true, }) } } })
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!