Echarts地图动效制作

发布于:2022-12-19 ⋅ 阅读:(518) ⋅ 点赞:(0)

效果图:

 上图就是咱们今天要讲解的内容,接下来让我们来一起学习~

图片素材:

let img = 'image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAACKCAYAAABCZd8VAAAgAElEQVR4Xu2dB3gc1fX2f7MzW9QtyZZlSca4dxuwAdOLYwKhpJFGCAkBUgj8IaH3EDqmhRY6oYSQhCQQegslFBts3KvcLcuWbMnqZXdn5nvOnb27o/XKDYPl72Ee6dnd2dlp77znnHvaNfhq2SPugLFHnOVXJ8meDZTrbvv8DcP9/wHnbV9oT7nKrqDszHl7gO2hwO3MBX+50KUAyniu3yOzVPgHdMekPRKwng1UNyBpcDbyrjr/ZvK6XEcezQqMPhyZBCsDcO6exK49AajkOQpA6eC0k2UMINTlOlYTVQBl0e6mg5YG2B4DVs8FymOTOj8/g4Q96eC0YxmdWGrbMPEESN6rgCaAyXsBTVjmA+sroD63InPdgN7HkbwbSAdIgxOlxigmqECKYhkh4m4dMTdEX1dAy0oApwHbU8HqyYxSQAmbVjAzoFmUDpCAE8M04pjqWixsN4itGCSgNVPkaMC6AWuPYFXPBCoh9rROqqUkIHpIQGqmLiAM0gB1EAzkETDiNCeAynObcVwLx80i6njGRrsjDOtFh6PBGsQEJykCDUNt15OXngqUYpMWeSUUBDRIeWQFhEF+gGxMI4wVyCZkbaIjZuK4JrbbTo6jAdPs0mCVUOv49FWPZ1XPA8rHJhF53YGURWsgSjAgANkYxun0PqofwWdriP3gz2x8R8DqJO6EyXbaiTvCLj9YtTQ6PlZ9BdQOixMfUAtYaIrIayASCNNkCpOChE0RcxZhM4oZsGk3TqFs38FEXpVjxXFfu4HVpwcJOyauAitEzImRZQtYIgbzKHZqaXOEVe9ypBZ7PRqsnsiopNjLosIUkReiyWwlHBCQOmkLWIRMYZFJ1IxjBi6g7PYIgR/oh2Ilnd94lto5cWK2SZYrr36wOsm3RQTuSazqWUBlEHuaTc1ETBF3mkkapJP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5FAyBoTMgL/2q/uvekLbvb33xpY+26K7PzL+NBit1dZbx7v9qdrDovDCo2x314e/aMxre578NjMhflUG1eAAKGtdd4VsDa1Rq8ZY1OrXeos7fBCqUP25oy+1EEYAYKIc0k7uZpSyqZQvMaFkGBM0NY7MKkYf2DX2OA92wfbn+2bud9BnCvA5qbx5TWwh0Lpug7KPu+VwBv9tBVCQmz7g6Xxz+yJ6/dktBGI1puVeYkKq1dmW53Hps6cnZ0rcpuXEQR6HiOZ5adbVbnqpwubUcm2Ck4RUW8K+fGf2zL0wJ3bRhoxD7uCw0ZVBiSCsyWjT/+zm334+4PZUQM3F6Fv+Xlspx3CYY0vl1mSGINNBjNkwQdruR8ea6sPMsY459wxy4xwyNLULp442zo3f86srp2NsvaZ3CLuFXZ/l4tOxWLLDqcGd0T1HaNsdPtQY8wL17TMRxQp9MqOsMtzzfSsA19xkEsAVmvY1enuTbkUFACT/lm5iC2xQlKLoRoO7bpEFFmYal8yN92N+TF8S6IvncJL+mp3TejBeAl7R+nmBgmaiYGuO8QNQNcUoBxYdXMDujkEMo2iTTeIWEORncBeukHEesl6+R0nQn23CyelgI22wCqGWOYoRB1ABu8dpAGkjnC+uNzC35NAXP6hvRe78A25HTtUDkTd9UvAmYG2BpEF1nSEsSLGdj0FkBh5SQ9xdYP3xZu9BAqb3JDmpkqG6R69tZXuWq+6sH4HGbCXTWKUAZPVK6cwhUkHHATwOdr+cNWG7t3vYnStb2Lzedd1BTZBua7LeX1+2f8ByDqSuffFKG8AAAAASUVORK5CYII='

1) 配置Echarts环境

(1)安装Echarts

yarn add echarts

npm install echarts --save

 (2)在main.js全局引入

import * as echarts from "echarts";   //引入echarts

Vue.prototype.$echarts = echarts;   //挂载到vue实例,方便全局使用

注:

echarts5.0及以上版本

import *as echarts from 'echarts';
//或者
let echarts = require('echarts');

echarts5.0及以下版本

import echarts from 'echarts';
//或者
import *as echarts from 'echarts';
//或者
let echarts = require('echarts');

如果还需引入echartsGL,需注意,要和echarts版本相匹配

“echarts”: “^4.9.0”, “echarts-gl”: “^1.1.2”,
“echarts”: “^5.2.0”, “echarts-gl”: “^2.0.8”,

2) 地图数据的准备 

(1)查看echarts的node包中是否含有所需数据

        node_modules -> echarts -> map -> js

(2)如若没有,在以下地址中下载

http://datav.aliyun.com/portal/school/atlas/area_selector

(3)整理数据

 3) 开始绘制地图

(1)地图数据的导入及挂在到DOM上

<template>
  <div style="height:100%;">
    <div id="chartmainbar" ref="chart" style="width:100%; height:100%;"></div>
  </div>
</template>

<script>
import shanxi from "@/assets/map/js/province/shanxi1";

export default {
  props: {
    propsData: {
      default: []
    },
  },
  data() {
    return {};
  },
  mounted() {
    this.echartschange();
  },
  methods: {
    echartschange() {
      let chart = this.$echarts.init(
        this.$refs.chart
      )
      const option = {
        series: [
          // 地图
          {
            type: 'map', // 类型
            map: '陕西', // 使用 registerMap 注册的地图名称
            aspectScale: 1, // 这个参数用于 scale 地图的长宽比,如果设置了projection则无效。
            layoutCenter: ["50%", "47%"], // 在使用 left/right/top/bottom/width/height 的时候,可能很难在保持地图高宽比的情况下把地图放在某个盒形区域的正中间,并且保证不超出盒形的范围。此时可以通过 layoutCenter 属性定义地图中心在屏幕中的位置,layoutSize 定义地图的大小。
            layoutSize: "90%", // 地图的大小,见 layoutCenter。支持相对于屏幕宽高的百分比或者绝对的像素大小。
            roam: false, // 是否开启鼠标缩放和平移漫游
          },
        ]
      }
      chart.setOption(option);
    }
  }
};
</script>

 (2)地图区域的多边形图形样式 - itemStyle

            // 地图区域的多边形 图形样式
            itemStyle: {
              // 线性渐变,前四个参数分别是 x0, y0, x2, y2, 范围从 0 - 1,相当于在图形包围盒中的百分比,如果 globalCoord 为 `true`,则该四个值是绝对的像素位置
                areaColor: {
                  type: 'linear-gradient',
                  x: 0,
                  y: 300,
                  x2: 0,
                  y2: 0,
                  colorStops: [{
                    offset: 0,
                    color: 'rgba(37,108,190,0.8)' // 0% 处的颜色
                  }, {
                    offset: 1,
                    color: 'rgba(15,169,195,0.8)' // 50% 处的颜色
                  }],
                  global: true // 缺省为 false
                },
                borderColor: '#4ECEE6', // 图形的描边颜色
                borderWidth: 1.5, // 描边线宽。为 0 时无描边
                shadowColor: "rgba(0, 0, 0, 0.5)", // 阴影颜色
                shadowBlur: 0, // 图形阴影的模糊大小
                shadowOffsetX: 0, // 阴影水平方向上的偏移距离
                shadowOffsetY: 0.5, // 阴影垂直方向上的偏移距离
            },

注:

// 线性渐变,前四个参数分别是 x0, y0, x2, y2, 范围从 0 - 1,相当于在图形包围盒中的百分比,如果 globalCoord 为 `true`,则该四个值是绝对的像素位置
{
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [{
   offset: 0, color: 'red' // 0% 处的颜色
}, {
   offset: 1, color: 'blue' // 100% 处的颜色
}],
global: false // 缺省为 false
}
// 径向渐变,前三个参数分别是圆心 x, y 和半径,取值同线性渐变
{
type: 'radial',
x: 0.5,
y: 0.5,
r: 0.5,
colorStops: [{
   offset: 0, color: 'red' // 0% 处的颜色
}, {
   offset: 1, color: 'blue' // 100% 处的颜色
}],
global: false // 缺省为 false
}
// 纹理填充
{
image: imageDom, // 支持为 HTMLImageElement, HTMLCanvasElement,不支持路径字符串
repeat: 'repeat' // 是否平铺,可以是 'repeat-x', 'repeat-y', 'no-repeat'
}

 (3)高亮状态下的多边形和标签样式 - emphasis

            // 高亮状态下的多边形和标签样式
            emphasis: {
              label: {
                show: false // 是否显示标签
              },
              itemStyle: {
                areaColor: {
                  type: 'linear-gradient',
                  x: 0,
                  y: 300,
                  x2: 0,
                  y2: 0,
                  colorStops: [{
                    offset: 0,
                    color: 'RGBA(37,108,190,1)' // 0% 处的颜色
                  }, {
                    offset: 1,
                    color: 'RGBA(15,169,195,1)' // 50% 处的颜色
                  }],
                  global: true // 缺省为 false
                }
              }
            }

(4)地理坐标系组建 - geo

        // 地理坐标系组件
        // 地理坐标系组件用于地图的绘制,支持在地理坐标系上绘制散点图,线集
        geo: [
          {
            map: "陕西", // 使用 registerMap 注册的地图名称
            aspectScale: 1, //这个参数用于 scale 地图的长宽比
            zoom: 1, // 当前视角的缩放比例
            layoutCenter: ["50%", "49%"], // 定义地图中心在屏幕中的位置
            layoutSize: "90%", // 支持相对于屏幕宽高的百分比或者绝对的像素大小
            silent: true, // 图形是否不响应和触发鼠标事件,默认为 false,即响应和触发鼠标事件
            roam: false, // 是否开启鼠标缩放和平移漫游
            itemStyle: {
              normal: {
                areaColor: {
                  type: 'linear-gradient',
                  x: 0,
                  y: 300,
                  x2: 0,
                  y2: 0,
                  colorStops: [{
                    offset: 0,
                    color: 'RGBA(37,108,190,0.8)' // 0% 处的颜色
                  }, {
                    offset: 1,
                    color: 'RGBA(15,169,195,0.8)' // 50% 处的颜色
                  }],
                  global: true // 缺省为 false
                },
                borderColor: '#4ECEE6',
                borderWidth: 0,
              },
              emphasis: {
                areaColor: {
                  type: 'linear-gradient',
                  x: 0,
                  y: 300,
                  x2: 0,
                  y2: 0,
                  colorStops: [{
                    offset: 0,
                    color: 'RGBA(37,108,190,1)' // 0% 处的颜色
                  }, {
                    offset: 1,
                    color: 'RGBA(15,169,195,1)' // 50% 处的颜色
                  }],
                  global: true // 缺省为 false
                },
              }
            }
          }
        ],

(5)扩散圆点-effectScatter(带有涟漪特效动画的散点(气泡)图)

引入utils组件

export default {
  fontSize: function(res) {
    let clientWidth = window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;
    if (!clientWidth) return;
    let fontSize = 100 * (clientWidth / 1920);
    return res*fontSize;
  }
import utils from "@/js/utils";
          // 扩散圆点-effectScatter(带有涟漪特效动画的散点(气泡)图)
          {
            type: 'effectScatter',
            zlevel: 3, // 层级
            coordinateSystem: 'geo', // 该系列使用的坐标系,cartesian2d(使用二维的直角坐标系),polar(使用极坐标系)
            rippleEffect: { // 涟漪特效相关配置
              scale: utils.fontSize(0.1), // 动画中波纹的最大缩放比例
              brushType: 'stroke', // 波纹的绘制方式
            },
            showEffectOn: 'render', // 配置何时显示特效,render(绘制完成后显示特效),emphasis(高亮(hover)的时候显示特效)
            itemStyle: {
              normal: {
                color: '#00FFFF', // 颜色
              }
            },
            symbol: 'circle', // 标记的图形
            symbolSize: [utils.fontSize(0.1), utils.fontSize(0.04)], // 标记的大小
            data: [ // 系列中的数据内容数组
              {
                "name": "铜川市",
                "value": [108.979608, 35.25]
              }
            ],
          },

(6)三角立柱-scatter

echarts图片引入方式:

1.Base64

let img2 = 'image://data:image/png;base64,iVBORw0KGgoA......'
symbol: img2

2.方式二

symbol: "image://" + require("@/assets/img.png");

3.方式三

import img from "@/assets/img.png";

const doming = document.creatElement("img");
domImg.src = img;

symbol: domImg
          // 三角立柱-scatter
          {
            type: 'scatter', // 散点(气泡)图
            zlevel: 3, // 层级
            coordinateSystem: 'geo', // 该系列使用的坐标系
            data: [
              {
                name: "铜川市", // 数据项名称
                value: [108.979608, 35.25], // 数据项值
                symbol: img, // 单个数据标记的图形
                symbolSize: [utils.fontSize(0.45), utils.fontSize(0.5)], // 单个数据标记的大小
                symbolOffset: [0, -utils.fontSize(0.25)], // 单个数据标记相对于原本位置的偏移
              },
              {
                name: "铜川市",
                value: [108.979608, 35.25],
                label: {
                  normal: {
                    show: true, // 是否显示标签
                    formatter: function (params) {
                      let name = params.data.name;
                      let text = `{fline|${name}}`;
                      return text;
                    },
                    rich: {
                      fline: {
                        color: '#88ffff', // 文字的颜色
                        textShadowColor: '#030615', // 文字本身的阴影颜色
                        textShadowBlur: '0', // 文字本身的阴影长度
                        textShadowOffsetX: 1, // 文字本身的阴影 X 偏移
                        textShadowOffsetY: 1, // 文字本身的阴影 Y 偏移
                        fontSize: utils.fontSize(0.16), // 文字的字体大小
                        fontFamily: "pmzd_title" // 文字的字体系列
                      }
                    },
                  },
                  emphasis: {
                    show: true,
                  },
                },
                symbol: img2,
                symbolSize: [utils.fontSize(0.8), utils.fontSize(0.35)],
                symbolOffset: [0, -utils.fontSize(0.62)],
              }
            ],
          }

 (7)黄色四区模块-scatter

          // 黄色四区模块-scatter
          {
            type: 'scatter',
            zlevel: 2,
            coordinateSystem: 'geo',
            data: [
              {
                name: "陕北长城沿线旱作区",
                value: [108.858621, 37.507668],
                symbol: "image://" + require("@/assets/images/imgAll1.png"),
                symbolSize: [utils.fontSize(3.55), utils.fontSize(1.4)],
                symbolOffset: [0, -utils.fontSize(0.25)],
                label: {
                  normal: {
                    show: true,
                    formatter: function (params) {
                      let name = params.data.name;
                      return name;
                    },
                    textShadowColor: '#030615',
                    textShadowBlur: '0',
                    textShadowOffsetX: 1,
                    textShadowOffsetY: 1,
                    fontSize: utils.fontSize(0.17),
                    fontFamily: "pmzd_title",
                    color: "rgba(244, 233, 37, 1)"
                  },
                },
              }
            ],
          }

 (8)玫红色路线图-lines

// 玫红色路线图-lines
          {
            type: 'lines', // 用于带有起点和终点信息的线数据的绘制,主要用于地图上的航线,路线的可视化
            zlevel: 1, // 层级
            effect: { // 线特效的配置
              show: true, // 是否显示特效
              period: 6, // 特效动画的时间,单位为 s
              trailLength: 0.7, // 特效尾迹的长度。取从 0 到 1 的值,数值越大尾迹越长
              color: 'rgba(244, 127, 203, 1)', // 特效标记的颜色
              symbolSize: utils.fontSize(0.22), // 特效标记的大小
              symbol: 'arrow', // 特效图形的标记,(rect、roundRect...)
            },
            data: [
              {
                name: '安康->汉中', // 数据名称
                coords: [ // 一个包含两个到多个二维坐标的数组。在 polyline 设置为 true 时支持多于两个的坐标
                  [109.029273, 32.6203],
                  [105.8, 33.707668]
                ],
                color: 'rgba(244, 127, 203, 1)',
                lineStyle: {
                  normal: {
                    color: 'rgba(244, 127, 203, 0.05)',
                    width: 2,
                    curveness: 0.05, // 边的曲度,支持从 0 到 1 的值,值越大曲度越大
                  },
                },
                symbol: ['none', 'arrow'],
                symbolSize: 20,
              },
            ]
          }

 (9)蓝色路线图-lines

// 蓝色圆点-effectScatter
          {
            zlevel: 2,
            type: 'effectScatter',
            coordinateSystem: 'geo',
            showEffectOn: 'render',
            data: [
              {
                name: "关中现代农业产业带",
                value: [108.605117, 34.783439],
                rippleEffect: {
                  period: 14,
                  scale: 6,
                  brushType: 'fill'
                },
                label: {
                  show: false
                },
                itemStyle: {
                  color: '#88ffff',
                  shadowBlur: 20,
                  shadowColor: '#333',
                  opacity: 0.75
                },
                symbolSize: 3,
              }
            ],
          },
          // 蓝色线条左边
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 10,
            color: 'rgba(44, 193, 240, 1)',
            effect: {
              show: true,
              period: 6,
              trailLength: 0.7,
              color: 'rgba(44, 193, 240, 1)',
              symbolSize: 6,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(44, 193, 240, 0.5)',
                width: 1,
                curveness: 0.1,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [108.605117, 34.783439],
                  [106.605117, 34.783439]
                ]
              }
            ]
          },
          // 蓝色线条右边
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 10,
            color: 'rgba(44, 193, 240, 1)',
            effect: {
              show: true,
              period: 6,
              trailLength: 0.7,
              color: 'rgba(44, 193, 240, 1)',
              symbolSize: 6,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(44, 193, 240, 0.5)',
                width: 1,
                curveness: -0.1,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [108.605117, 34.783439],
                  [110.905117, 35.683439]
                ]
              },
            ]
          }

(10)绿色路线图-lines

// 绿色线条组
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [106.528621, 34.007668],
                  [106.508621, 34.307668]
                ]
              },
            ]
          },
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [107.418621, 34.107668],
                  [107.408621, 34.407668]
                ]
              },
            ]
          },
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [108.310621, 34.057668],
                  [108.308621, 34.357668]
                ]
              },
            ]
          },
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [109.100621, 33.957668],
                  [109.128621, 34.3257668]
                ]
              },
            ]
          },
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [109.900621, 33.857668],
                  [109.938621, 34.157668]
                ]
              },
            ]
          },
          {
            type: 'lines',
            zlevel: 1,
            symbol: ['none', 'arrow'],
            symbolSize: 20,
            color: 'rgba(30, 213, 54, 1)',
            effect: {
              show: true,
              period: 2,
              trailLength: 0.7,
              color: 'rgba(30, 213, 54, 1)',
              symbolSize: 20,
              symbol: 'arrow',
            },
            lineStyle: {
              normal: {
                color: 'rgba(30, 213, 54, 0.5)',
                width: 1,
                curveness: 0,
              },
            },
            data: [
              {
                name: '线',
                value: 80,
                coords: [
                  [110.700621, 33.757668],
                  [110.748621, 34.057668]
                ]
              },
            ]
          }

 (11)黄色椭圆

// 黄色椭圆
          {
            type: 'scatter',
            zlevel: 0,
            coordinateSystem: 'geo',
            label: {
              normal: {
                show: false,
              },
              emphasis: {
                show: false,
              },
            },
            symbol: 'circle',
            symbolSize: [utils.fontSize(5.5), utils.fontSize(2.5)],
            symbolRotate: utils.fontSize(0.05),
            itemStyle: {
              color: {
                type: 'radial',
                x: 0.5,
                y: 0.5,
                r: 0.5,
                colorStops: [{
                  offset: 0, color: "rgba(244, 233, 37, 0)" // 0% 处的颜色
                }, {
                  offset: 1, color: 'rgba(244, 233, 37, 0.2)' // 100% 处的颜色
                }],
                global: false // 缺省为 false
              },
              borderColor: "#F56C6C",
              // borderType: "dotted",
              // borderDashOffset: 15,
              animation: true,
              animationThreshold: 2000,
              animationDuration: 1000,
              animationEasing: 'cubicOut'
            },
            z: 999,
            data: [
              {
                area: 774.77,
                name: "西安市",
                value: [109.1, 34.35, 740]
              }
            ],
          },
          {
            zlevel: 0,
            type: 'effectScatter',
            coordinateSystem: 'geo',
            showEffectOn: 'render',
            rippleEffect: {
              period: 14,
              scale: 6,
              brushType: 'fill'
            },
            hoverAnimation: true,
            label: {
              show: false
            },
            itemStyle: {
              color: {
                type: 'radial',
                x: 0.5,
                y: 0.5,
                r: 0.5,
                colorStops: [{
                  offset: 0, color: "rgba(244, 233, 37, 0)" // 0% 处的颜色
                }, {
                  offset: 1, color: 'rgba(244, 233, 37, 0.2)' // 100% 处的颜色
                }],
                global: false, // 缺省为 false

              },
              shadowBlur: 0,
              shadowColor: '#333',
              opacity: 0.75
            },
            symbolSize: [utils.fontSize(1), utils.fontSize(0.5)],
            symbolRotate: utils.fontSize(0.05),
            emphasis: {
              itemStyle: {
                opacity: 1
              }
            },
            data: [
              {
                name: "圆点1",
                value: [109.1, 34.35]
              }
            ],
          },

 (12)echarts地图动态自适应

mounted() {
  this.echartschange();
  window.addEventListener("resize", () => {
    this.echartschange();
  });
},
beforeDestoryed() {
  // 组件销毁前移除监听,防止内存泄露
  window.removeEventListener("resize");
},
    
window.addEventListener("resize", () => {
  chart.resize();
});

本文含有隐藏内容,请 开通VIP 后查看