配置项如下
var uploadedDataURL = "/asset/get/s/data-1642050821677-FzEMWhA0i.png";
var isLoop=false
var bd = '/asset/get/s/data-1618898514270-IsqqHGtbY.json';
var fp = '/asset/get/s/data-1618899525486-wkO5rxyAM.json';
var ly = '/asset/get/s/data-1618899757492-WnGtLt6Yk.json';
var yx = '/asset/get/s/data-1618906123836-ahRSeBbEE.json';
var dz = '/asset/get/s/data-1618906432180-c93kCPvh8.json';
var qy = '/asset/get/s/data-1618911164355-PhByrCUVp.json';
var tx = '/asset/get/s/data-1618911169152-Mftb_e2Yd.json';
var mapname = bd;
var color1 = {
x: 0,
y: 0,
x2: 0,
y2: 1,
type: 'linear',
global: false,
colorStops: [
{
//第一节下面
offset: 0,
color: 'rgb(22,255,255, 0)',//'#000E1A',
},
{
offset: 1,
color: 'rgb(22,255,255, 0.6)',
},
],
};
var mapJson = [
{
name: '阜平县',
json: fp,
},
{
name: '涞源县',
json: ly,
},
{
name: '易县',
json: ly,
},
{
name: '定州市',
json: dz,
},
{
name: '曲阳县',
json: qy,
},
{
name: '唐县',
json: tx,
},
];
var mapDate = [
{
name: '阜平县',
value: [114.198801, 38.847276],
datas: 1354,
img: 'image://asset/get/s/data-1619059442567-s5l7-f8Eu9.png',
},
{
name: '涞源县',
value: [114.723966, 39.292095],
datas: 1402,
img: 'image://asset/get/s/data-1619059442567-s5l7-f8Eu9.png',
},
{
name: '易县',
value: [115.245576, 39.311674],
datas: 2468,
img: 'image://asset/get/s/data-1619059838735-QE9mBZmhh.png',
},
{
name: '定州市',
value: [115.050014, 38.460198],
datas: 768,
img: 'image://asset/get/s/data-1619321685306-EvjlgDOXi.png',
},
{
name: '曲阳县',
value: [114.654083, 38.700813],
datas: 589,
img: 'image://asset/get/s/data-1619059838735-QE9mBZmhh.png',
},
{
name: '唐县',
value: [114.798254, 38.898656],
datas: 1500,
img: 'image://asset/get/s/data-1619321685306-EvjlgDOXi.png',
},
];
var geoCoordMap = {
阜平县: [114.198801, 38.847276],
涞源县: [114.723966, 39.292095],
易县: [115.245576, 39.311674],
定州市: [115.050014, 38.460198],
曲阳县: [114.654083, 38.700813],
唐县: [114.798254, 38.898656],
};
var customerBatteryCityData = [
{name: "阜平县", value: 60},
{name: "涞源县", value: 60},
{name: "易县", value: 60},
{name: "定州市", value: 60},
{name: "曲阳县", value: 60},
{name: "唐县", value: 60},
];
var domImg = document.createElement('img');
domImg.style.height = domImg.height = domImg.width = domImg.style.width = '8px';
domImg.src =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAIAAAAmKNuZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE4MTE0OTgyQTdDQzExRUI4Q0RBRkMwQkFGMTY2NDhEIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE4MTE0OTgzQTdDQzExRUI4Q0RBRkMwQkFGMTY2NDhEIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTgxMTQ5ODBBN0NDMTFFQjhDREFGQzBCQUYxNjY0OEQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTgxMTQ5ODFBN0NDMTFFQjhDREFGQzBCQUYxNjY0OEQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4v4trwAAAAVklEQVR42mL0D225cu0hAzWAjpY8C9CsL19/wIV4uDnI5gKNYmKgKhjcxrFAggBZiBIuyDhqRQWQOxoVo1ExGhWjUTEaFYMiKoB1LVq1TXZUAI0CCDAAcAlaxCt7dtQAAAAASUVORK5CYII=';
var domImgHover = document.createElement('img');
domImgHover.style.height = domImgHover.height = domImgHover.width = domImgHover.style.width = '8px';
domImgHover.src =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAIAAAAmKNuZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkFDQ0Q2RjYyQTdDRDExRUI4ODUxRDIxRjkzMEExNzg2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkFDQ0Q2RjYzQTdDRDExRUI4ODUxRDIxRjkzMEExNzg2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QUNDRDZGNjBBN0NEMTFFQjg4NTFEMjFGOTMwQTE3ODYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QUNDRDZGNjFBN0NEMTFFQjg4NTFEMjFGOTMwQTE3ODYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6FboimAAAASklEQVR42mIUnL9XtHsDAzXA69IARjWtXJYX7+FCfyQEKeEyMVAVDG7jWCB+RhaihAsybjQqRqNiNCpGo2I0KoZZVDBSt9oGCDAAhYNrvRu3DWEAAAAASUVORK5CYII=';
/*var img2 = 'image://'+;
let index = -1;
myChart.showLoading('default', {
text: '统计中,请稍候...',
maskColor: '#2957A2',
textColor: '#fff',
});*/
/*myChart.on('click', function (e) {
var chooseName = mapJson.filter((item) => {
return item.name == e.name;
});
mapname = chooseName[0].json;
mapDate = [];
$('<div class="back">〈 返回</div>').appendTo($('#chart-panel'));
$('.back').css({
position: 'absolute',
left: '17px',
top: '25px',
color: 'rgb(222,222,222)',
'font-size': '12px',
cursor: 'pointer',
border: '1px solid rgba(255, 255, 255, .5)',
padding: '0px 6px 1px 0px',
'border-radius': '3px',
'z-index': '100',
});
$('.back').click(function () {
mapname = bd;
mapDate = [
{
name: '阜平县',
value: [114.198801, 38.847276],
datas: 1354,
img: 'image://asset/get/s/data-1619059442567-s5l7-f8Eu9.png',
},
{
name: '涞源县',
value: [114.723966, 39.292095],
datas: 1402,
img: 'image://asset/get/s/data-1619059442567-s5l7-f8Eu9.png',
},
{
name: '易县',
value: [115.245576, 39.311674],
datas: 2468,
img: 'image://asset/get/s/data-1619059838735-QE9mBZmhh.png',
},
{
name: '定州市',
value: [115.050014, 38.460198],
datas: 768,
img: 'image://asset/get/s/data-1619321685306-EvjlgDOXi.png',
},
{
name: '曲阳县',
value: [114.654083, 38.700813],
datas: 589,
img: 'image://asset/get/s/data-1619059838735-QE9mBZmhh.png',
},
{
name: '唐县',
value: [114.798254, 38.898656],
datas: 1500,
img: 'image://asset/get/s/data-1619321685306-EvjlgDOXi.png',
},
];
$('.back').css({
position: 'absolute',
left: '17px',
top: '-25px',
color: 'rgb(222,222,222)',
'font-size': '15px',
cursor: 'pointer',
'z-index': '100',
});
mapInit();
});
mapInit();
});
setTimeout(function () {
mapInit();
}, 1000);
var mapInit = () => {*/
$.getJSON(mapname, function (geoJson) {
echarts.registerMap('bd', geoJson);
//myChart.hideLoading();
option = {
backgroundColor: '#2957A2',
title: {
top: 20,
text: '河北省',
subtext: '',
x: 'center',
textStyle: {
color: '#fff',
fontWeight: 100,
fontSize: 14,
},
},
geo: [{ map: 'bd',
roam: true,
zoom: 1.1,
zlevel: 2,
label: {
normal: {
show: false,
textStyle: {
color: '#fff',
},
},
emphasis: {
show:false,
textStyle: {
color: '#fff',
},
},
},
itemStyle: {
normal: {
borderColor: '#2ab8ff',
borderWidth: 1,
areaColor: {
color: '#2AB8FF',
// repeat: 'repeat',
},
shadowColor: 'rgba(0, 0, 0, 0.1)',
shadowBlur: 0,
shadowOffsetX: 0,
shadowOffsetY: 1,
},
emphasis: {
areaColor: {
image: domImgHover,
repeat: 'repeat',
},
borderColor: '#2ab8ff',
borderWidth: 1,
shadowColor: 'rgba(0, 255, 255, 0.1)',
shadowBlur: 10,
shadowOffsetX: 0,
shadowOffsetY: 1,
label: {
show: false,
},
},
},
},{
map: 'bd',
aspectScale: 0.75,
layoutCenter: ['50%', '50%'],
layoutSize: '102%',
silent: true,
roam: true,
z: 0,
zlevel: 1,
itemStyle: {
normal: {
areaColor: 'rgba(1, 15, 40, 0.5)',
shadowColor: 'rgba(0, 0, 0, 1)',
shadowBlur: 20,
shadowOffsetX: 5,
shadowOffsetY: 5,
borderColor: 'rgba(0, 0, 0, 0.7)',
borderWidth: 0.5,
},
emphasis: {
areaColor: '#2AB8FF',//'#2AB8FF',
borderWidth: 1,
color: 'green',
label: {
show: false,
},
},
},
},
],
series: [
// 柱状体的主干
// {
// type: 'lines',
// effect: {
// show: true,
// period: 4, //箭头指向速度,值越小速度越快
// trailLength: 1, //特效尾迹长度[0,1]值越大,尾迹越长重
// // symbol: 'arrow', //箭头图标
// symbol: 'path://M413.305905 370.102857c0-16.384 2.730667-30.96381 8.192-43.690667 5.924571-12.751238 13.653333-23.649524 23.210666-32.768 9.557333-9.094095 20.48-15.920762 32.768-20.48a107.373714 107.373714 0 0 1 39.594667-7.509333c13.653333 0 26.624 2.511238 38.912 7.509333 12.751238 4.559238 23.893333 11.385905 33.450667 20.48 9.557333 9.094095 17.066667 20.016762 22.528 32.768 5.924571 12.751238 8.874667 27.306667 8.874666 43.690667v285.354667c0 16.384-2.950095 30.96381-8.874666 43.690666-5.461333 12.751238-12.970667 23.649524-22.528 32.768-9.557333 9.094095-20.72381 16.164571-33.450667 21.162667a111.104 111.104 0 0 1-38.912 6.826667c-13.653333 0-26.843429-2.267429-39.594667-6.826667a103.960381 103.960381 0 0 1-32.768-21.162667 106.812952 106.812952 0 0 1-23.210666-32.768c-5.461333-12.751238-8.192-27.306667-8.192-43.690666V370.102857z m69.632 285.354667c0 9.99619 3.169524 18.432 9.557333 25.258666 6.38781 6.363429 14.57981 9.557333 24.576 9.557334 9.99619 0 18.212571-3.169524 24.576-9.557334a35.59619 35.59619 0 0 0 9.557333-25.258666V370.102857c0-9.99619-3.169524-18.212571-9.557333-24.576-6.363429-6.826667-14.555429-10.24-24.576-10.24-9.99619 0-18.18819 3.413333-24.576 10.24-6.363429 6.363429-9.557333 14.555429-9.557333 24.576v285.354667z',
// symbolSize: 20 ,color:'rgb(26, 201, 254)'
// },
// lineStyle: {
// width:1, // 尾迹线条宽度
// color: color1,
// // borderColor: color1,
// opacity: 1, // 尾迹线条透明度
// curveness: 0 // 尾迹线条曲直度
// },
// label: {
// show: 0,
// position: 'end',
// formatter: '245'
// },
// silent: true,
// data: lineData(),
// zlevel: 3,
// },
{
type: 'lines',
effect: {
show: true,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标
loop:true, // symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],
color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:500,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
// symbol: 'image:// '+uploadedDataURL, //箭
symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标
loop:true, // symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:4500,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M416.116778 121.565204 358.155952 66.84561 426.75564 0l220.289268 0L513.315556 121.565204 416.116778 121.565204zM496.194233 568.168615l64.977136-56.24488L617.759438 568.168615 582.410961 963.217398l-66.082967 60.782602L460.883889 963.217398 496.194233 568.168615zM533.563713 144.330081l132.280331-120.001787L628.360168 446.641543l-67.188799 65.320325-54.338274-65.320325L533.563713 144.330081z', //箭头图标标
//symbol: 'path://M416.116778 121.565204 358.155952 66.84561 426.75564 0l220.289268 0L513.315556 121.565204 416.116778 121.565204zM496.194233 568.168615l64.977136-56.24488L617.759438 568.168615 582.410961 963.217398l-66.082967 60.782602L460.883889 963.217398 496.194233 568.168615zM533.563713 144.330081l132.280331-120.001787L628.360168 446.641543l-67.188799 65.320325-54.338274-65.320325L533.563713 144.330081z', //箭头图标标
loop:true,
// symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:1000,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M416.116778 121.565204 358.155952 66.84561 426.75564 0l220.289268 0L513.315556 121.565204 416.116778 121.565204zM496.194233 568.168615l64.977136-56.24488L617.759438 568.168615 582.410961 963.217398l-66.082967 60.782602L460.883889 963.217398 496.194233 568.168615zM533.563713 144.330081l132.280331-120.001787L628.360168 446.641543l-67.188799 65.320325-54.338274-65.320325L533.563713 144.330081z', //箭头图标标
// symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标标
loop:true,
// symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:1500,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标标
loop:true,
// symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:2000,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标标
loop:true,
// symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:2500,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M416.116778 121.565204 358.155952 66.84561 426.75564 0l220.289268 0L513.315556 121.565204 416.116778 121.565204zM496.194233 568.168615l64.977136-56.24488L617.759438 568.168615 582.410961 963.217398l-66.082967 60.782602L460.883889 963.217398 496.194233 568.168615zM533.563713 144.330081l132.280331-120.001787L628.360168 446.641543l-67.188799 65.320325-54.338274-65.320325L533.563713 144.330081z', //箭头图标标
loop:true, // symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:3000,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: 'path://M416.116778 121.565204 358.155952 66.84561 426.75564 0l220.289268 0L513.315556 121.565204 416.116778 121.565204zM496.194233 568.168615l64.977136-56.24488L617.759438 568.168615 582.410961 963.217398l-66.082967 60.782602L460.883889 963.217398 496.194233 568.168615zM533.563713 144.330081l132.280331-120.001787L628.360168 446.641543l-67.188799 65.320325-54.338274-65.320325L533.563713 144.330081z', //箭头图标标
loop:true, // symbol: 'path://M218.04025 620.817959l293.964707-293.964707 293.964707 293.973192-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082z M233.042043 635.815509l293.964706-293.964707a21.204457 21.204457 0 0 1-29.999342 0l293.968949 293.973192a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.200214 21.200214 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.212942 21.212942 0 0 0-29.999343 0L270.09681 681.35121a21.187486 21.187486 0 0 1 30.86483 0.916399L233.903288 606.732565a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.526558l226.91484-226.910597a21.217185 21.217185 0 0 1-29.999343 0l226.923325 226.910597a21.212942 21.212942 0 0 0 30.869074-0.916399l67.045624-75.518073a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.96895-293.977435a21.204457 21.204457 0 0 0-29.999342 0l-293.964707 293.96895a21.212942 21.212942 0 0 0-0.865488 29.0787l67.045624 75.526559a21.200214 21.200214 0 0 0 30.864831 0.916399z M218.04025 315.177649L512.004957 21.212942l293.964707 293.964707-67.062595 75.526558-226.902112-226.923325L285.085874 390.699965z M233.042043 330.179441L527.002507 36.214734a21.212942 21.212942 0 0 1-29.999343 0l293.96895 293.964707a21.208699 21.208699 0 0 1-0.865488-29.082943l-67.062595 75.530801a21.22567 21.22567 0 0 1 30.873316-0.912157L527.006749 148.783332a21.217185 21.217185 0 0 0-30.003585-0.004242L270.088325 375.693929a21.212942 21.212942 0 0 1 30.86483 0.920642L233.903288 301.092255a21.217185 21.217185 0 0 1-0.861245 29.087186z m67.045624 75.518073L527.002507 178.782675a21.204457 21.204457 0 0 1-29.999343 0l226.89787 226.914839a21.22567 21.22567 0 0 0 30.873316-0.916399l67.066837-75.526558a21.208699 21.208699 0 0 0-0.865488-29.082943L527.002507 6.211149a21.212942 21.212942 0 0 0-29.999343 0L203.038458 300.175856a21.212942 21.212942 0 0 0-0.865488 29.082944l67.045624 75.522315a21.22567 21.22567 0 0 0 30.869073 0.916399z M218.04025 927.234662l293.964707-293.956221 293.964707 293.968949-67.045625 75.518073-226.919082-226.919082-226.919083 226.919082zM233.042043 942.236455l293.964706-293.960464a21.212942 21.212942 0 0 1-29.999342 0l293.968949 293.968949a21.208699 21.208699 0 0 1-0.865488-29.078701l-67.045624 75.522316a21.22567 21.22567 0 0 1 30.869073-0.916399l-226.919082-226.919083a21.208699 21.208699 0 0 0-29.999343 0L270.09681 987.772156a21.200214 21.200214 0 0 1 30.86483 0.916399L233.903288 913.153511a21.212942 21.212942 0 0 1-0.861245 29.082944z m67.045624 75.530801l226.91484-226.919083a21.208699 21.208699 0 0 1-29.999343 0l226.923325 226.919083a21.200214 21.200214 0 0 0 30.869074-0.920642l67.045624-75.522316a21.212942 21.212942 0 0 0-0.865488-29.078701l-293.964707-293.968949a21.212942 21.212942 0 0 0-29.999342 0L203.038458 912.241355a21.212942 21.212942 0 0 0-0.865488 29.078701l67.045624 75.530801a21.229912 21.229912 0 0 0 15.235135 7.127548 21.246883 21.246883 0 0 0 15.633938-6.211149z M245.171603 315.674031L510.821275 50.02436l29.999342 29.999342-265.649672 265.649672zM245.090994 621.216762l265.636944-265.636944 29.9951 29.999342-265.632702 265.636944zM243.682454 926.046737l265.556335-265.552092 29.9951 29.9951-265.556335 265.552092z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
{
type: 'lines',
effect: {
show: true,
delay:3500,
period: 5, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
// symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z', //箭头图标标
loop:true,
symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z',
symbolSize:[5,5],color:'rgb(26, 201, 254)'
},
lineStyle: {
width:60, // 尾迹线条宽度
opacity: 0, // 尾迹线条透明度
curveness: 0 // 尾迹线条曲直度
},
silent: true,
data: lineData(),
zlevel: 3,
},
// {
// type: 'lines',
// effect: {
// show: true,
// period: 4, //箭头指向速度,值越小速度越快
// trailLength: 0.1, //特效尾迹长度[0,1]值越大,尾迹越长重
// // symbol: 'arrow', //箭头图标
// // symbol: imgDatUrl,
// symbolSize: 5 ,color:'rgb(26, 201, 254)'
// },
// lineStyle: {
// width:1, // 尾迹线条宽度
// color: color1,
// borderColor: color1,
// opacity: 1, // 尾迹线条透明度
// curveness: 0 // 尾迹线条曲直度
// },
// label: {
// show: 0,
// position: 'end',
// formatter: '245'
// },
// silent: true,
// data: lineData(),
// zlevel: 3,
// },
// {
// tooltip: {
// show: false,
// },
// type: 'effectScatter',
// coordinateSystem: 'geo',
// rippleEffect: {
// scale: 10,
// brushType: 'stroke',
// },
// showEffectOn: 'render',
// itemStyle: {
// normal: {
// shadowColor: '#0ff',
// shadowBlur: 10,
// shadowOffsetX: 0,
// shadowOffsetY: 0,
// color: 'rgb(22,255,255, 1)',
// },
// },
// label: {
// normal: {
// color: '#fff',
// },
// },
// symbol: 'path://M305.525 887.319l-78.413 69.09-23.62-24.585c-11.945-13.833-19.266-27.627-20.5-41.46-0.385-4.586 0.58-10.751 0.193-15.298l27.397-300.936 65.35-59.88 57.452 59.88-27.86 313.189z m38.61-435.991l-68.202 62.961-54.64-62.961 22.696-267.105c3.006-18.457 3.584-29.17 4.586-35.335 1.85-13.794 8.593-24.583 21.462-35.295l41.306-36.837 59.61 67.547-26.819 307.025z m283.442 449.825l66.314 73.673-34.14 30.75c-14.139 13.755-30.632 18.417-59.802 18.417H329.761c-29.168 0-46.584-6.165-58.413-18.418l-27.281-30.75 82.612-73.672h300.898z m-233.89-778.314l-64.118-66.005 29.554-30.75C377.465 7.669 395.228 0 418.233 0H699.17c21.5 0 42.384 10.75 56.025 26.086l24.044 29.208-80.07 67.546H393.687zM680.329 574.13l68.28-61.383 54.522 61.383-22.81 265.602c-1.31 19.96-3.315 32.251-2.93 36.875-1.85 13.756-8.747 23.004-23.004 35.258l-44.504 35.295-56.026-61.382 26.472-311.648z m39.149-429.827l79.915-69.089 18.766 21.501c13.64 15.336 20.96 29.17 22.31 44.505 0.54 6.166 1.079 12.292 0.077 18.419l-25.123 291.688-69.86 61.46-52.981-61.46 26.896-307.024z',
// symbolSize: [10, 5],
// data: mapDate,
// zlevel: 3,
// },
/*
{
type: 'scatter',
coordinateSystem: 'geo',
itemStyle: {
color: '#f00',
},
symbol: function (value, params) {
return params.data.img;
},
symbolSize: [32, 41],
symbolOffset: [0, -20],
z: 9999,
data: mapDate,
},*/
/*{
type: 'scatter',
coordinateSystem: 'geo',
label: {
normal: {
show: true,
formatter: function (params) {
var name = params.name;
var value = params.data.datas;
var text = `{fline|${value}}\n{tline|${name}}`;
return text;
},
color: '#fff',
rich: {
fline: {
padding: [0, 25],
color: '#fff',
textShadowColor: '#030615',
textShadowBlur: '0',
textShadowOffsetX: 1,
textShadowOffsetY: 1,
fontSize: 14,
fontWeight: 400,
},
tline: {
padding: [0, 27],
color: '#ABF8FF',
fontSize: 12,
},
},
},
emphasis: {
show: true,
},
},
itemStyle: {
color: '#00FFF6',
},
symbol: img2,
symbolSize: [100, 50],
symbolOffset: [0, -60],
z: 999,
zlevel: 4,
data: mapDate,
},*/
],
};
console.log(lineData())
myChart.setOption(option);
})
// 动态计算柱形图的高度(定一个max)customerBatteryCityData
function lineMaxHeight () {
const maxValue = Math.max(...customerBatteryCityData.map(item => item.value))
return 0.5/maxValue
}
// 柱状体的主干
function lineData () {
return customerBatteryCityData.map((item) => {
return {
coords: [geoCoordMap[item.name], [geoCoordMap[item.name][0], geoCoordMap[item.name][1] + item.value * lineMaxHeight()]]
}
})
}
// 柱状体的顶部
function scatterData () {
return customerBatteryCityData.map((item) => {
return [geoCoordMap[item.name][0], geoCoordMap[item.name][1] + item.value * lineMaxHeight()]
})
}
// 柱状体的底部
function scatterData2 () {
return customerBatteryCityData.map((item) => {
return {
name: item.name,
value: geoCoordMap[item.name]
}
})
}
//};