You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/11/23 03:30:36 UTC
[GitHub] DorisOu opened a new issue #9459: visualMap结合百度地图,点击方块,方块消失并穿透点击到百度地图
DorisOu opened a new issue #9459: visualMap结合百度地图,点击方块,方块消失并穿透点击到百度地图
URL: https://github.com/apache/incubator-echarts/issues/9459
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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org