![](https://img.haomeiwen.com/i7975034/08904c3cc98d8945.png)
$.getJSON(uploadedDataURL, function(geoJson) {
echarts.registerMap('china1', geoJson);
myChart.setOption(option = {
backgroundColor: '#ccc',
geo: {
show: true,
map: 'china1',
label: {},
roam: true,
itemStyle: {
normal: {
areaColor: '#031525',
borderColor: '#3B5077',
borderWidth: 1,
shadowBlur: 1
},
emphasis: {
areaColor: '#2B91B7'
}
}
},
series: [
{
type: 'map',
map: 'china1',
geoIndex: 0,
aspectScale: 0.75,
data: [
]
}
]
})
})
网友评论