echarts
echarts copied to clipboard
echarts3结合bmap,如何自定义中国区域的颜色?
bmap:{ center: [104.114129, 37.550339], zoom: 5, roam: true, mapStyle:{ styleJson:[ { "featureType": "water", "elementType": "all", "stylers": { "color": "#0e1420", } }, { "featureType": "land", "elementType": "geometry", "stylers": { "color": "#002b4b" } } ] }, }, series: [ { type: 'scatter', // 使用百度地图坐标系 coordinateSystem: 'bmap', // 数据格式跟在 geo 坐标系上一样,每一项都是 [经度,纬度,数值大小,其它维度...] data: [ [120, 30, 1] ] } ]
One-line summary [问题简述]
echarts3结合bmap,如何自定义中国区域的颜色?
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]:
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]:
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
option = {
}
Other comments [其他信息]
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.