Vue Echarts制作自定义3D地图
Vue Echarts制作自定义3D地图
引用插件版本: “echarts”: “^4.1.0”,“echarts-gl”: “^1.1.1”
上代码:注意xicheng.json为自定义map文件
<style scoped>
h2{
text-align: center;
padding: 30px;
font-size: 18px;
}
#chart_example{
width: 100%;
height: 600px;
/*
原创
2020-05-25 11:34:35 ·
5839 阅读 ·
2 评论