echarts icon indicating copy to clipboard operation
echarts copied to clipboard

brush 支持 bmap吗

Open Sbbq opened this issue 9 years ago • 9 comments

One-line summary [问题简述]

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

Sbbq avatar Oct 13 '17 02:10 Sbbq

brush会跟着bmap的拖动平移事件导致选点不准确,从文档没找到支持的方式,正好也遇到同样问题,希望我们大神指教。。。

dfEric avatar Oct 13 '17 08:10 dfEric

geo支持是因为有geoIndex,感觉geo支持的话,bmap也应该支持呀。

Sbbq avatar Oct 13 '17 09:10 Sbbq

geo的坐标系是经纬度,bmap也是,所以有些奇怪为什么只和bmap的roam冲突,geo正常

dfEric avatar Oct 13 '17 09:10 dfEric

遇到同样的问题,希望官方能给出解决方案。

ObservedObserver avatar Feb 17 '18 14:02 ObservedObserver

有人有解决方法或者替代方法不,分享一下。

dfEric avatar Mar 12 '18 03:03 dfEric

这个问题无解么?

a6318539 avatar Apr 11 '18 14:04 a6318539

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, }) } } })

lay-coder avatar May 21 '19 03:05 lay-coder

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.

github-actions[bot] avatar Sep 03 '21 21:09 github-actions[bot]

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!

github-actions[bot] avatar Sep 10 '21 21:09 github-actions[bot]