apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.44k stars 19.61k forks source link

visualMap结合百度地图,点击方块,方块消失并穿透点击到百度地图 #9459

Closed DorisOu closed 3 years ago

DorisOu commented 5 years ago

I have a bug to report; use bmap, when click the visualMap,visuaMap's pieces disappear and will click through the bmap, pls check the option bellow

option = { backgroundColor: '#404a59', title: { text: '朴姓人口迁徙图', left: 'center', textStyle: { color: '#fff' } }, visualMap: { type: 'piecewise', zlevel: 5, pieces: [ { min: 1500, color: '#ff0000' }, { min: 1000, max: 1500, color: '#ff6c00' }, { min: 500, max: 1000, color: '#ffcc00' }, { min: 300, max: 500, color: '#0036ff' }, { min: 100, max: 300, color: '#00e8fd' }, { min: 0, max: 100, color: '#fff' } ], seriesIndex: 1, // dimension: 0, textStyle: { color: '#fff' }, bottom: 60, left: 50, itemWidth: 30, itemHeight: 20 }, bmap: { center: [113.39942, 22.522314], zoom: 12, roam: true, mapStyle: mapStyle }, series: [{ name: '地点', type: 'effectScatter', coordinateSystem: 'bmap', zlevel: 5, rippleEffect: { brushType: 'stroke' }, label: { emphasis: { show: true, position: 'right', formatter: '{b}' } }, symbolSize: 2, showEffectOn: 'render', itemStyle: { normal: { color: '#46bee9' } }, data: data[0].citys }, { name: '线路', type: 'lines', coordinateSystem: 'bmap', zlevel: 5, large: true, effect: { show: true, constantSpeed: 30, symbol: 'pin', symbolSize: 3, trailLength: 0, }, lineStyle: { normal: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ offset: 0, color: '#58B3CC' }, { offset: 1, color: '#F58158' }], false), width: 1, opacity: 0.9, curveness: 0.1 } }, data: data[0].xiaolan }] };

hope you could solve this issue ASAP,thks. chrome: 70.0.3538.102 echarts: 4.0

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

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!