echarts区域地图,自动&高亮区域&信息
代码部分
获得区域的JSON数据的网址地图选择器
mapData的数据顺序要和JSON中排列的顺序一样,不然自动高亮的区域和tooltip会不一致
<template>
<div class="line-wrapper">
<div
:id="'echartMapPieChart'+this.$attrs.index"
:style="{width:component.width+'px',height:component.height+
原创
2020-08-20 14:54:40 ·
3457 阅读 ·
0 评论