ecahrt-gl实现中国版块仿三维地图

友人A

首先声明

mapName:'china',
maptype:1

然后调用方法,传参1和2有不同的效果

getPeo (status) {
      function NumDescSort(a, b) {
        return b.value - a.value;
      }

      function NumAsceSort(a, b) {
        return a.value - b.value;
      }
      this.$nextTick(() => {
        this.myChart = echarts.init(document.getElementById("mapPeople"));
        echarts.registerMap("china", china);

        var geoCoordMap = {};
        var alirl = [];
        var conData = [];
        var matchCount = 0
        var maxVal = 0
        var convertData
        // var distance = 0
        if (status == 1) {
          geoCoordMap = {
          昭通:[103.715, 27.3436],
          毕节市:[105.2812, 27.3036],
          红河哈尼族彝族自治州: [103.715, 27.3436],
          嘉兴市:[120.7524, 30.7518],
          金华市: [119.6424, 29.0982],
          昆明市: [102.8246, 24.8898],
          凉山彝族自治州: [102.265, 27.887],
          六盘水市: [104.819, 26.5972],
          泸州市: [105.448, 28.8876],
          攀枝花市: [101.7168, 26.5862],
          普洱市: [103.715, 27.3436],
          曲靖市: [103.7922, 25.4888],
          西双版纳傣族自治州: [103.715, 27.3436],
          宜宾市: [104.6212, 28.7698],
          玉溪市: [102.5394, 24.3522],
          自贡市: [104.7652, 29.3634],
          北京: [116.4004, 39.9028],
          成都市: [104.0618, 30.661],
          东莞市: [113.7468, 23.0218],
          广州市: [113.2592, 23.131],
          贵阳市: [106.6268, 26.6514],
          杭州市: [120.2039, 30.2503],
          乐山市: [103.7626, 29.5646],
          宁波市: [121.6242, 29.8648],
          厦门市: [118.0826, 24.4816],
          上海: [121.4686, 31.232],
          深圳市: [114.054, 22.5462],
          苏州市: [120.5778, 31.2996],
          台州市: [121.4126, 28.6618],
          温州市: [120.6718, 27.9994],
          重庆: [106.545, 29.5658],
        };
        alirl = [
          [
            [105.2812, 27.3036],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [103.715, 27.3436],
          ],
          [
            [120.7524, 30.7518],
            [103.715, 27.3436],
          ],
          [
            [119.6424, 29.0982],
            [103.715, 27.3436],
          ],
          [
            [102.8246, 24.8898],
            [103.715, 27.3436],
          ],
          [
            [102.265, 27.887],
            [103.715, 27.3436],
          ],
          [
            [104.819, 26.5972],
            [103.715, 27.3436],
          ],
          [
            [105.448, 28.8876],
            [103.715, 27.3436],
          ],
          [
            [101.7168, 26.5862],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [103.715, 27.3436],
          ],
          [
            [103.7922, 25.4888],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [103.715, 27.3436],
          ],
          [
            [104.6212, 28.7698],
            [103.715, 27.3436],
          ],
          [
            [102.5394, 24.3522],
            [103.715, 27.3436],
          ],
          [
            [104.7652, 29.3634],
            [103.715, 27.3436],
          ],

          [
            [103.715, 27.3436],
            [116.4004, 39.9028],
          ],
          [
            [103.715, 27.3436],
            [105.2812, 27.3036],
          ],
          [
            [103.715, 27.3436],
            [104.0618, 30.661],
          ],
          [
            [103.715, 27.3436],
            [113.7468, 23.0218],
          ],
          [
            [103.715, 27.3436],
            [113.2592, 23.131],
          ],
          [
            [103.715, 27.3436],
            [106.6268, 26.6514],
          ],
          [
            [103.715, 27.3436],
            [120.2039, 30.2503],
          ],
          [
            [103.715, 27.3436],
            [120.7524, 30.7518],
          ],
          [
            [103.715, 27.3436],
            [119.6424, 29.0982],
          ],
          [
            [103.715, 27.3436],
            [102.8246, 24.8898],
          ],
          [
            [103.715, 27.3436],
            [103.7626, 29.5646],
          ],
          [
            [103.715, 27.3436],
            [102.265, 27.887],
          ],
          [
            [103.715, 27.3436],
            [105.448, 28.8876],
          ],
          [
            [103.715, 27.3436],
            [121.6242, 29.8648],
          ],
          [
            [103.715, 27.3436],
            [103.7922, 25.4888],
          ],
          [
            [103.715, 27.3436],
            [118.0826, 24.4816],
          ],
          [
            [103.715, 27.3436],
            [121.4686, 31.232],
          ],
          [
            [103.715, 27.3436],
            [114.054, 22.5462],
          ],
          [
            [103.715, 27.3436],
            [120.5778, 31.2996],
          ],
          [
            [103.715, 27.3436],
            [121.4126, 28.6618],
          ],
          [
            [103.715, 27.3436],
            [120.6718, 27.9994],
          ],
          [
            [103.715, 27.3436],
            [104.6212, 28.7698],
          ],
          [
            [103.715, 27.3436],
            [102.5394, 24.3522],
          ],
          [
            [103.715, 27.3436],
            [106.545, 29.5658],
          ],
        ];
        conData = [
          { name: "毕节市", value: 535395 },
          { name: "红河哈尼族彝族自治州", value: 3458 },
          { name: "嘉兴市", value: 118863 },
          { name: "金华市", value: 11673 },
          { name: "昆明市", value: 680763 },
          { name: "凉山彝族自治州", value: 800617 },
          { name: "六盘水市", value: 311 },
          { name: "泸州市", value: 97157 },
          { name: "攀枝花市", value: 997 },
          { name: "普洱市", value: 40 },
          { name: "曲靖市", value: 241885 },
          { name: "西双版纳傣族自治州", value: 754 },
          { name: "宜宾市", value: 832551 },
          { name: "玉溪市", value: 13917 },
          { name: "自贡市", value: 1959 },
          { name: "北京", value: 58749 },
          { name: "毕节市", value: 608996 },
          { name: "成都市", value: 87722 },
          { name: "东莞市", value: 770 },
          { name: "广州市", value: 67 },
          { name: "贵阳市", value: 22192 },
          { name: "杭州市", value: 6387 },
          { name: "嘉兴市", value: 135817 },
          { name: "金华市", value: 185891 },
          { name: "昆明市", value: 808905 },
          { name: "乐山市", value: 1151 },
          { name: "凉山彝族自治州", value: 814000 },
          { name: "泸州市", value: 95801 },
          { name: "宁波市", value: 70101 },
          { name: "曲靖市", value: 217802 },
          { name: "厦门市", value: 25 },
          { name: "上海", value: 13156 },
          { name: "深圳市", value: 1811 },
          { name: "苏州市", value: 2218 },
          { name: "台州市", value: 30632 },
          { name: "温州市", value: 42829 },
          { name: "宜宾市", value: 810975 },
          { name: "玉溪市", value: 5185 },
          { name: "重庆", value: 97341 },
        ];
        matchCount = 20;
        maxVal = 832551;

        convertData = function (data) {
          var res = [];
          for (var i = 0; i < data.length; i++) {
            var geoCoord = geoCoordMap[data[i].name];
            if (geoCoord) {
              res.push({
                name: data[i].name,
                value: geoCoord.concat(data[i].value),
              });
            }
          }
          return res;
        };
        var option = {
          backgroundColor: "transparent",
          tooltip: {
            show: true,
            trigger: "item"
          },
          visualMap: [
            {
              show:false,
              type: "continuous",
              seriesIndex: 0,
              calculable: true,
              max: maxVal,
              inRange: {
                color: ["#87aa66", "#eba438", "#d94d4c"],
              },
            },
          ],
          geo3D: {
            map: "china",
            roam: true,
            regionHeight: 1,
            itemStyle: {
              color: "#0066aa",
              opacity: 1,
              borderWidth: 0.4,
              borderColor: "#000",
            },
            aspectScale: 0.8,
            label: {
              show: true,
              textStyle: {
                color: "#fff", //地图初始化区域字体颜色
                fontSize: 14,
                opacity: 1,
                backgroundColor: "rgba(0,23,11,0)",
              },
            },
            emphasis: {
              //当鼠标放上去  地区区域是否显示名称
              label: {
                show: true,
                textStyle: {
                  color: "#fff",
                  fontSize: 20,
                  backgroundColor: "rgba(0,23,11,0)",
                },
              },
            },
            light: {
              //光照阴影
              main: {
                color: "#fff", //光照颜色
                intensity: 1.2, //光照强度
                //shadowQuality: 'high', //阴影亮度
                shadow: false, //是否显示阴影
                alpha: 55,
                beta: 10,
              },
              ambient: {
                intensity: 0.3,
              },
            },

            viewControl: {
              projection: "perspective",
              autoRotate: false, // 自动旋转
              distance: 99, // 视距
            },
          },
          series: [
            //柱状图
            {
              name: "",
              type: "bar3D",
              coordinateSystem: "geo3D",
              barSize: 1, //柱子粗细
              shading: "lambert",
              opacity: 1,
              bevelSize: 0.3,
              minHeight: 0.5,
              label: {
                show: false,
                formatter: "{b}",
              },
              data: convertData(conData),
            },
            //画线
            {
              type: "lines3D",
              coordinateSystem: "geo3D",

              effect: {
                show: true,
                trailWidth: 2,
                trailOpacity: 0.6,
                trailLength: 0.5,
                constantSpeed: 8,
              },
              blendMode: "lighter",
              lineStyle: {
                width: 0.2,
                opacity: 0.05,
              },
              data: alirl,
            },
          ],
        };
          this.myChart.setOption(option);
        } else {
          debugger
        if (this.mapName == "china") {
          echarts.registerMap("china", china);
        } else {
            pass
        }
      
      
      
      matchCount = 20;
      debugger
      if (this.maptype == 1) {
        geoCoordMap = {
          昭通: [103.715, 27.3436],
          北京: [116.4004, 39.9028],
          上海: [121.4686, 31.232],
          重庆: [106.545, 29.5658],
          成都: [104.0618, 30.661],
          深圳: [114.054, 22.5462],
          东莞: [113.7468, 23.0218],
          广州: [113.2592, 23.131],
          宜宾: [104.6212, 28.7698],
          杭州: [120.2039, 30.2503],
          枣庄: [117.3252, 34.814],
          中山: [113.3866, 22.5198],
          苏州: [120.5778, 31.2996],
          天津: [117.1966, 39.085],
          贵阳: [106.6268, 26.6514],
          邯郸: [114.4844, 36.6086],
          佛山: [113.116, 23.0234],
          无锡: [120.306878, 31.492395],
          武汉: [114.2984, 30.5954],
          毕节: [105.2812, 27.3036],
          南京: [118.7912, 32.0606],
          西安: [108.934, 34.3354],
          济南: [117.1134, 36.6526],
          六盘水: [104.819, 26.5972],
          郑州: [113.6188, 34.7468],
          泸州: [105.448, 28.8876],
          青岛: [120.3766, 36.0656],
          淄博: [118.0522, 36.8052],
          邢台: [114.4972, 37.0658],
          聊城: [115.9784, 36.4564],
          长沙: [112.9324, 28.2296],
          宁波: [121.6242, 29.8648],
          温州: [120.6718, 27.9994],
          南宁: [108.362, 22.8198],
          内江: [105.0546, 29.5828],
          厦门: [118.0826, 24.4816],
          常州: [119.9688, 31.8126],
          泰安: [117.1164, 36.1936],
          合肥: [117.2232, 31.8242],
          石家庄: [114.509, 38.0408],
          金华: [119.6424, 29.0982],
          惠州: [114.411, 23.1136],
          嘉兴: [120.7524, 30.7518],
          吉林: [126.5422, 43.8366],
          沧州: [116.8324, 38.304],
          广安: [106.6366, 30.472],
          乐山: [103.7626, 29.5646],
          兰州: [103.8314, 36.0606],
          自贡: [104.7652, 29.3634],
          南通: [120.8878, 31.9824],
          福州: [119.2896, 26.0762],
          大连: [121.599, 38.9146],
          泉州: [118.6658, 24.8776],
          遵义: [106.9224, 27.7296],
          沈阳: [123.459625, 41.672542],
          朝阳: [120.4466, 41.572],
          珠海: [113.5712, 22.275],
          潍坊: [119.1562, 36.7052],
          济宁: [116.583, 35.4142],
          攀枝花: [101.7168, 26.5862],
          雅安: [102.995, 29.9888],
          台州: [121.4126, 28.6618],
          廊坊: [116.6988, 39.5192],
          南昌: [115.8586, 28.6842],
          临沂: [118.3418, 35.0518],
          哈尔滨: [126.5268, 45.8022],
          徐州: [117.2792, 34.2052],
          盐城: [120.1378, 33.3674],
          玉林: [110.1598, 22.6394],
          扬州: [119.4062, 32.3954],
          安顺: [105.9348, 26.249],
          保定: [115.4586, 38.8846],
          江门: [113.0754, 22.5808],
          资阳: [104.6262, 30.1316],
          延安: [109.4848, 36.5856],
          安康: [109.0214, 32.6874],
          太原: [112.5434, 37.8696],
          衡水: [115.6916, 37.7342],
          烟台: [121.4256, 37.4648],
          乌鲁木齐: [87.6142, 43.8238],
          绍兴: [120.5756, 30.0068],
          德州: [116.304, 37.4444],
          昌都: [97.1774, 31.136],
          肇庆: [112.4598, 23.051],
          绵阳: [104.7404, 31.4682],
          长春: [125.3156, 43.8164],
          西宁: [101.775, 36.6174],
          河源: [114.6964, 23.7482],
          洛阳: [112.4438, 34.6234],
          渭南: [109.506, 34.503],
          商洛: [109.9336, 33.8708],
          丽水: [119.9084, 28.4504],
          宜昌: [111.2776, 30.704],
          宝鸡: [107.2332, 34.3634],
          桂林: [110.1748, 25.2418],
          遂宁: [105.5748, 30.5092],
          汕头: [116.6768, 23.3566],
          湛江: [110.3518, 21.273],
          眉山: [103.8328, 30.0464],
          景德镇: [117.1802, 29.2794],
          吉安: [114.9806, 27.1246],
          唐山: [118.1724, 39.6292],
          湖州: [120.0996, 30.8672],
          咸阳: [108.7062, 34.33],
          汉中: [107.017, 33.068],
          达州: [107.468, 31.212],
          铜川: [108.9288, 34.9],
          银川: [106.2268, 38.4856],
          淮安: [119.0084, 33.6118],
          莆田: [118.9954, 25.449],
          铜仁: [109.1844, 27.7348],
          镇江: [119.4504, 32.2032],
          柳州: [109.4114, 24.3324],
          德阳: [104.3878, 31.1354],
          漳州: [117.6456, 24.5178],
          海口: [110.194947, 20.046268],
          三亚: [109.508, 18.2566],
          日喀则: [88.881, 29.2778],
          日照: [119.545, 35.394],
          新乡: [113.9206, 35.3032],
          广元: [105.8176, 32.4396],
          山南: [91.7736, 29.2406],
          岳阳: [113.1182, 29.3686],
          榆林: [109.7354, 38.2864],
          大庆: [125.0974, 46.5866],
          泰州: [119.9168, 32.4572],
          上饶: [117.962, 28.4478],
          天水: [105.7196, 34.5806],
          威海: [122.1146, 37.5124],
          南阳: [112.5306, 32.995],
          酒泉: [98.511, 39.7434],
          安阳: [114.3804, 36.0974],
          怀化: [109.9658, 27.5558],
          韶关: [113.5914, 24.8138],
          清远: [113.0442, 23.6876],
          九江: [115.995, 29.7072],
          菏泽: [115.4738, 35.2398],
          河池: [108.0558, 24.6982],
          东营: [118.654, 37.4224],
          巴中: [106.744, 31.872],
          芜湖: [118.4276, 31.3548],
          亳州: [115.777, 33.8664],
          邵阳: [111.4624, 27.241],
          连云港: [119.2136, 34.5976],
          秦皇岛: [119.594, 39.934],
          淮南: [117.0172, 32.5822],
          茂名: [110.9194, 21.6654],
          宿迁: [118.266, 33.9646],
          株洲: [113.1236, 27.8336],
          大同: [113.2874, 40.0924],
          白银: [104.1348, 36.5482],
          承德: [117.9362, 40.976],
          赣州: [114.9228, 25.838],
          北海: [109.1096, 21.4628],
          龙岩: [117.0274, 25.1028],
          黄山: [118.3272, 29.7154],
          潮州: [116.6166, 23.6596],
          蚌埠: [117.3828, 32.9192],
          马鞍山: [118.4724, 31.6166],
          运城: [110.9898, 35.0264],
          六安: [116.5084, 31.7398],
          张家口: [114.8788, 40.8148],
          新余: [114.9038, 27.8268],
          商丘: [115.652, 34.4158],
          衡阳: [112.5636, 26.9006],
          安庆: [117.045, 30.518],
          湘潭: [112.93, 27.8358],
          郴州: [113.0326, 25.7954],
          信阳: [114.0778, 32.1378],
          鹰潭: [117.0482, 28.25],
          阳江: [111.9776, 21.8602],
          林芝: [94.3614, 29.652],
          来宾: [109.2326, 23.735],
          呼和浩特: [111.7352, 40.841],
          包头: [109.8244, 40.6564],
          荆州: [112.2336, 30.3364],
          张家界: [110.475, 29.1196],
          拉萨: [91.1718, 29.6546],
          南平: [118.0968, 27.3688],
          贵港: [109.5914, 23.116],
          十堰: [110.7834, 32.6528],
          揭阳: [116.367, 23.5522],
          营口: [122.2266, 40.668],
          宜春: [114.3834, 27.7946],
          呼伦贝尔: [119.7578, 49.2122],
          崇左: [107.366, 22.3766],
          阜阳: [115.8094, 32.9012],
          晋中: [112.7344, 37.6804],
          衢州: [118.8678, 28.9428],
          益阳: [112.3472, 28.583],
          吕梁: [111.1356, 37.5172],
          防城港: [108.3464, 21.6182],
          丹东: [124.381, 40.1254],
          通化: [125.9418, 41.7394],
          萍乡: [113.8436, 27.635],
          许昌: [113.842, 34.0352],
          随州: [113.3762, 31.6918],
          钦州: [108.6194, 21.9702],
          晋城: [112.8348, 35.5026],
          抚顺: [123.9578, 41.8794],
          平顶山: [113.1854, 33.7702],
          黄冈: [114.8738, 30.435],
          百色: [106.6106, 23.8994],
          铜陵: [117.806, 30.9508],
          开封: [114.3038, 34.7984],
          汕尾: [115.3668, 22.7906],
          周口: [114.6902, 33.6282],
          忻州: [112.7326, 38.4084],
          四平: [124.3516, 43.1598],
          焦作: [113.24, 35.222],
          常德: [111.6948, 29.031],
          永州: [111.606, 26.4252],
          云浮: [112.039, 22.9176],
          阳泉: [113.5772, 37.863],
          襄阳: [112.129, 32.01],
          娄底: [112.0126, 27.728],
          三明: [117.6298, 26.2656],
          锦州: [121.1256, 41.091],
          滨州: [118.0164, 37.379],
          宁德: [119.543, 26.6682],
          临汾: [111.5148, 36.0818],
          宣城: [118.7512, 30.9472],
          通辽: [122.265, 43.6188],
          阜新: [121.6524, 42.019],
          驻马店: [114.0308, 32.9774],
          贺州: [111.559559, 24.409395],
          佳木斯: [130.3608, 46.8088],
          齐齐哈尔: [123.9206, 47.3626],
          荆门: [112.198, 31.036],
          朔州: [112.4204, 39.3152],
          乌海: [106.7898, 39.6542],
          舟山: [122.103, 30.0176],
          滁州: [118.3116, 32.3068],
          梅州: [116.1178, 24.296],
          克拉玛依: [84.866, 45.5916],
          赤峰: [118.8922, 42.2518],
          长治: [113.1088, 36.1938],
          鞍山: [122.989, 41.1082],
          濮阳: [115.0132, 35.7662],
          辽源: [125.1374, 42.885],
          定西: [104.6232, 35.5904],
          牡丹江: [129.6298, 44.5572],
          陇南: [104.9206, 33.394],
          辽阳: [123.164, 41.2668],
          黄石: [115.0312, 30.2018],
          鄂尔多斯: [109.770944, 39.620142],
          葫芦岛: [120.8384, 40.7186],
          梧州: [111.2934, 23.481],
          盘锦: [122.0662, 41.1248],
          咸宁: [114.3162, 29.8438],
          孝感: [113.9468, 30.9218],
          鸡西: [130.9572, 45.2898],
          伊春: [128.8348, 47.7238],
          宿州: [116.9838, 33.6374],
          松原: [124.8124, 45.1436],
          绥化: [126.9748, 46.6348],
          中卫: [105.1848, 37.5152],
          淮北: [116.8046, 33.9578],
          池州: [117.4788, 30.6612],
          鹤壁: [114.286, 35.742],
          七台河: [130.9292, 45.7842],
          阿拉尔: [81.278327, 40.547623],
          抚州: [116.3508, 27.9506],
          平凉: [106.6972, 35.5298],
          漯河: [114.012, 33.5826],
          白山: [126.4204, 41.9408],
          鄂州: [114.8896, 30.3934],
          仙桃: [113.448444, 30.364899],
          吐鲁番: [89.1844, 42.947],
          黑河: [127.4938, 50.2446],
          双鸭山: [131.1514, 46.6392],
          凉山彝族自治州: [102.265, 27.887],
          张掖: [100.46, 38.9334],
          石嘴山: [106.376, 39.0168],
          铁岭: [123.836, 42.2928],
          白城: [122.8348, 45.6178],
          本溪: [123.7606, 41.293],
          庆阳: [107.6336, 35.739],
          哈密: [93.5154, 42.8284],
          嘉峪关: [98.2892, 39.774],
          三门峡: [111.1962, 34.7746],
          吴忠: [106.192, 37.9942],
          乌兰察布: [113.121, 40.993],
          武威: [102.6332, 37.9248],
          金昌: [102.1874, 38.501],
          天门: [113.160107, 30.665725],
          潜江: [112.893716, 30.404192],
          固原: [106.2746, 36.0072],
          济源: [112.599893, 35.067444],
          鹤岗: [130.3138, 47.3726],
          海东: [102.4054, 36.4776],
          巴彦淖尔: [107.419, 40.749],
          石河子: [86.077816, 44.30313],
          阿拉善盟: [105.6924, 38.8462],
          儋州: [109.5754, 19.5238],
          三沙: [112.334, 16.8322],
          锡林郭勒盟: [116.0522, 43.9466],
          兴安盟: [122.056, 46.079],
          阿克苏地区: [80.262, 41.1688],
          五家渠: [87.540332, 44.168152],
          南充: [106.1072, 30.845],
          图木舒克: [79.06902, 39.859708],
          延边朝鲜族自治州: [129.498, 42.892],
          黔南布依族苗族自治州: [107.5174, 26.255],
          黔西南布依族苗族自治州: [104.8948, 25.088],
          阿坝藏族羌族自治州: [102.2204, 31.9026],
          甘孜藏族自治州: [101.9566, 30.0504],
          黔东南苗族侗族自治州: [107.9772, 26.5856],
          喀什地区: [75.9926, 39.467],
          阿勒泰地区: [88.1364, 47.8536],
          湘西土家族苗族自治州: [109.7336, 28.316],
          大兴安岭地区: [124.219245, 52.451053],
          和田地区: [79.9216, 37.11],
          恩施土家族苗族自治州: [109.475, 30.2702],
          阿里地区: [80.096, 32.503],
          塔城地区: [82.9752, 46.7506],
          那曲地区: [92.057, 31.4776],
          甘南藏族自治州: [102.9076, 34.9804],
          果洛藏族自治州: [100.2404, 34.4758],
          昆玉: [79.288916, 37.209579],
          昌吉回族自治州: [87.3054, 44.0184],
          临夏回族自治州: [103.2092, 35.5928],
          海北藏族自治州: [100.8986, 36.959],
          海南藏族自治州: [100.6188, 36.2754],
          玉树藏族自治州: [97.0074, 33.0064],
          铁门关: [85.673337, 41.867431],
          海西蒙古族藏族自治州: [97.3628, 37.3658],
          博尔塔拉蒙古自治州: [82.067, 44.8926],
          巴音郭楞蒙古自治州: [86.144, 41.7558],
          克孜勒苏柯尔克孜自治州: [76.171, 39.7088],
          伊犁哈萨克自治州: [81.334, 43.914],
          神农架林区: [110.67091, 31.748498],

          黄南藏族自治州: [102.0128, 35.5152],
        };
        alirl = [
          [
            [116.4004, 39.9028],
            [103.715, 27.3436],
          ],
          [
            [121.4686, 31.232],
            [103.715, 27.3436],
          ],
          [
            [106.545, 29.5658],
            [103.715, 27.3436],
          ],
          [
            [104.0618, 30.661],
            [103.715, 27.3436],
          ],
          [
            [114.054, 22.5462],
            [103.715, 27.3436],
          ],
          [
            [113.7468, 23.0218],
            [103.715, 27.3436],
          ],
          [
            [113.2592, 23.131],
            [103.715, 27.3436],
          ],
          [
            [104.6212, 28.7698],
            [103.715, 27.3436],
          ],
          [
            [120.2039, 30.2503],
            [103.715, 27.3436],
          ],
          [
            [117.3252, 34.814],
            [103.715, 27.3436],
          ],
          [
            [113.3866, 22.5198],
            [103.715, 27.3436],
          ],
          [
            [120.5778, 31.2996],
            [103.715, 27.3436],
          ],
          [
            [117.1966, 39.085],
            [103.715, 27.3436],
          ],
          [
            [106.6268, 26.6514],
            [103.715, 27.3436],
          ],
          [
            [114.4844, 36.6086],
            [103.715, 27.3436],
          ],
          [
            [113.116, 23.0234],
            [103.715, 27.3436],
          ],
          [
            [120.306878, 31.492395],
            [103.715, 27.3436],
          ],
          [
            [114.2984, 30.5954],
            [103.715, 27.3436],
          ],
          [
            [105.2812, 27.3036],
            [103.715, 27.3436],
          ],
          [
            [118.7912, 32.0606],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [108.934, 34.3354],
          ],
          [
            [117.1134, 36.6526],
            [103.715, 27.3436],
          ],
          [
            [104.819, 26.5972],
            [103.715, 27.3436],
          ],
          [
            [113.6188, 34.7468],
            [103.715, 27.3436],
          ],
          [
            [105.448, 28.8876],
            [103.715, 27.3436],
          ],
          [
            [120.3766, 36.0656],
            [103.715, 27.3436],
          ],
          [
            [118.0522, 36.8052],
            [103.715, 27.3436],
          ],
          [
            [114.4972, 37.0658],
            [103.715, 27.3436],
          ],
          [
            [115.9784, 36.4564],
            [103.715, 27.3436],
          ],
          [
            [112.9324, 28.2296],
            [103.715, 27.3436],
          ],
          [
            [121.6242, 29.8648],
            [103.715, 27.3436],
          ],
          [
            [120.6718, 27.9994],
            [103.715, 27.3436],
          ],
          [
            [108.362, 22.8198],
            [103.715, 27.3436],
          ],
          [
            [105.0546, 29.5828],
            [103.715, 27.3436],
          ],
          [
            [118.0826, 24.4816],
            [103.715, 27.3436],
          ],
          [
            [119.9688, 31.8126],
            [103.715, 27.3436],
          ],
          [
            [117.1164, 36.1936],
            [103.715, 27.3436],
          ],
          [
            [117.2232, 31.8242],
            [103.715, 27.3436],
          ],
          [
            [114.509, 38.0408],
            [103.715, 27.3436],
          ],
          [
            [119.6424, 29.0982],
            [103.715, 27.3436],
          ],
          [
            [114.411, 23.1136],
            [103.715, 27.3436],
          ],
          [
            [120.7524, 30.7518],
            [103.715, 27.3436],
          ],
          [
            [126.5422, 43.8366],
            [103.715, 27.3436],
          ],
          [
            [116.8324, 38.304],
            [103.715, 27.3436],
          ],
          [
            [106.6366, 30.472],
            [103.715, 27.3436],
          ],
          [
            [103.7626, 29.5646],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [103.8314, 36.0606],
          ],
          [
            [104.7652, 29.3634],
            [103.715, 27.3436],
          ],
          [
            [120.8878, 31.9824],
            [103.715, 27.3436],
          ],
          [
            [119.2896, 26.0762],
            [103.715, 27.3436],
          ],
          [
            [121.599, 38.9146],
            [103.715, 27.3436],
          ],
          [
            [118.6658, 24.8776],
            [103.715, 27.3436],
          ],
          [
            [106.9224, 27.7296],
            [103.715, 27.3436],
          ],
          [
            [123.459625, 41.672542],
            [103.715, 27.3436],
          ],
          [
            [120.4466, 41.572],
            [103.715, 27.3436],
          ],
          [
            [113.5712, 22.275],
            [103.715, 27.3436],
          ],
          [
            [119.1562, 36.7052],
            [103.715, 27.3436],
          ],
          [
            [116.583, 35.4142],
            [103.715, 27.3436],
          ],
          [
            [101.7168, 26.5862],
            [103.715, 27.3436],
          ],
          [
            [102.995, 29.9888],
            [103.715, 27.3436],
          ],
          [
            [121.4126, 28.6618],
            [103.715, 27.3436],
          ],
          [
            [116.6988, 39.5192],
            [103.715, 27.3436],
          ],
          [
            [115.8586, 28.6842],
            [103.715, 27.3436],
          ],
          [
            [118.3418, 35.0518],
            [103.715, 27.3436],
          ],
          [
            [126.5268, 45.8022],
            [103.715, 27.3436],
          ],
          [
            [117.2792, 34.2052],
            [103.715, 27.3436],
          ],
          [
            [120.1378, 33.3674],
            [103.715, 27.3436],
          ],
          [
            [110.1598, 22.6394],
            [103.715, 27.3436],
          ],
          [
            [119.4062, 32.3954],
            [103.715, 27.3436],
          ],
          [
            [105.9348, 26.249],
            [103.715, 27.3436],
          ],
          [
            [115.4586, 38.8846],
            [103.715, 27.3436],
          ],
          [
            [113.0754, 22.5808],
            [103.715, 27.3436],
          ],
          [
            [104.6262, 30.1316],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [109.4848, 36.5856],
          ],
          [
            [103.715, 27.3436],
            [109.0214, 32.6874],
          ],
          [
            [112.5434, 37.8696],
            [103.715, 27.3436],
          ],
          [
            [115.6916, 37.7342],
            [103.715, 27.3436],
          ],
          [
            [121.4256, 37.4648],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [87.6142, 43.8238],
          ],
          [
            [120.5756, 30.0068],
            [103.715, 27.3436],
          ],
          [
            [116.304, 37.4444],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [97.1774, 31.136],
          ],
          [
            [112.4598, 23.051],
            [103.715, 27.3436],
          ],
          [
            [104.7404, 31.4682],
            [103.715, 27.3436],
          ],
          [
            [125.3156, 43.8164],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [101.775, 36.6174],
          ],
          [
            [114.6964, 23.7482],
            [103.715, 27.3436],
          ],
          [
            [112.4438, 34.6234],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [109.506, 34.503],
          ],
          [
            [103.715, 27.3436],
            [109.9336, 33.8708],
          ],
          [
            [119.9084, 28.4504],
            [103.715, 27.3436],
          ],
          [
            [111.2776, 30.704],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [107.2332, 34.3634],
          ],
          [
            [110.1748, 25.2418],
            [103.715, 27.3436],
          ],
          [
            [105.5748, 30.5092],
            [103.715, 27.3436],
          ],
          [
            [116.6768, 23.3566],
            [103.715, 27.3436],
          ],
          [
            [110.3518, 21.273],
            [103.715, 27.3436],
          ],
          [
            [103.8328, 30.0464],
            [103.715, 27.3436],
          ],
          [
            [117.1802, 29.2794],
            [103.715, 27.3436],
          ],
          [
            [114.9806, 27.1246],
            [103.715, 27.3436],
          ],
          [
            [118.1724, 39.6292],
            [103.715, 27.3436],
          ],
          [
            [120.0996, 30.8672],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [108.7062, 34.33],
          ],
          [
            [103.715, 27.3436],
            [107.017, 33.068],
          ],
          [
            [107.468, 31.212],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [108.9288, 34.9],
          ],
          [
            [103.715, 27.3436],
            [106.2268, 38.4856],
          ],
          [
            [119.0084, 33.6118],
            [103.715, 27.3436],
          ],
          [
            [118.9954, 25.449],
            [103.715, 27.3436],
          ],
          [
            [109.1844, 27.7348],
            [103.715, 27.3436],
          ],
          [
            [119.4504, 32.2032],
            [103.715, 27.3436],
          ],
          [
            [109.4114, 24.3324],
            [103.715, 27.3436],
          ],
          [
            [104.3878, 31.1354],
            [103.715, 27.3436],
          ],
          [
            [117.6456, 24.5178],
            [103.715, 27.3436],
          ],
          [
            [110.194947, 20.046268],
            [103.715, 27.3436],
          ],
          [
            [109.508, 18.2566],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [88.881, 29.2778],
          ],
          [
            [119.545, 35.394],
            [103.715, 27.3436],
          ],
          [
            [113.9206, 35.3032],
            [103.715, 27.3436],
          ],
          [
            [105.8176, 32.4396],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [91.7736, 29.2406],
          ],
          [
            [113.1182, 29.3686],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [109.7354, 38.2864],
          ],
          [
            [125.0974, 46.5866],
            [103.715, 27.3436],
          ],
          [
            [119.9168, 32.4572],
            [103.715, 27.3436],
          ],
          [
            [117.962, 28.4478],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [105.7196, 34.5806],
          ],
          [
            [122.1146, 37.5124],
            [103.715, 27.3436],
          ],
          [
            [112.5306, 32.995],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [98.511, 39.7434],
          ],
          [
            [114.3804, 36.0974],
            [103.715, 27.3436],
          ],
          [
            [109.9658, 27.5558],
            [103.715, 27.3436],
          ],
          [
            [113.5914, 24.8138],
            [103.715, 27.3436],
          ],
          [
            [113.0442, 23.6876],
            [103.715, 27.3436],
          ],
          [
            [115.995, 29.7072],
            [103.715, 27.3436],
          ],
          [
            [115.4738, 35.2398],
            [103.715, 27.3436],
          ],
          [
            [108.0558, 24.6982],
            [103.715, 27.3436],
          ],
          [
            [118.654, 37.4224],
            [103.715, 27.3436],
          ],
          [
            [106.744, 31.872],
            [103.715, 27.3436],
          ],
          [
            [118.4276, 31.3548],
            [103.715, 27.3436],
          ],
          [
            [115.777, 33.8664],
            [103.715, 27.3436],
          ],
          [
            [111.4624, 27.241],
            [103.715, 27.3436],
          ],
          [
            [119.2136, 34.5976],
            [103.715, 27.3436],
          ],
          [
            [119.594, 39.934],
            [103.715, 27.3436],
          ],
          [
            [117.0172, 32.5822],
            [103.715, 27.3436],
          ],
          [
            [110.9194, 21.6654],
            [103.715, 27.3436],
          ],
          [
            [118.266, 33.9646],
            [103.715, 27.3436],
          ],
          [
            [113.1236, 27.8336],
            [103.715, 27.3436],
          ],
          [
            [113.2874, 40.0924],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [104.1348, 36.5482],
          ],
          [
            [117.9362, 40.976],
            [103.715, 27.3436],
          ],
          [
            [114.9228, 25.838],
            [103.715, 27.3436],
          ],
          [
            [109.1096, 21.4628],
            [103.715, 27.3436],
          ],
          [
            [117.0274, 25.1028],
            [103.715, 27.3436],
          ],
          [
            [118.3272, 29.7154],
            [103.715, 27.3436],
          ],
          [
            [116.6166, 23.6596],
            [103.715, 27.3436],
          ],
          [
            [117.3828, 32.9192],
            [103.715, 27.3436],
          ],
          [
            [118.4724, 31.6166],
            [103.715, 27.3436],
          ],
          [
            [110.9898, 35.0264],
            [103.715, 27.3436],
          ],
          [
            [116.5084, 31.7398],
            [103.715, 27.3436],
          ],
          [
            [114.8788, 40.8148],
            [103.715, 27.3436],
          ],
          [
            [114.9038, 27.8268],
            [103.715, 27.3436],
          ],
          [
            [115.652, 34.4158],
            [103.715, 27.3436],
          ],
          [
            [112.5636, 26.9006],
            [103.715, 27.3436],
          ],
          [
            [117.045, 30.518],
            [103.715, 27.3436],
          ],
          [
            [112.93, 27.8358],
            [103.715, 27.3436],
          ],
          [
            [113.0326, 25.7954],
            [103.715, 27.3436],
          ],
          [
            [114.0778, 32.1378],
            [103.715, 27.3436],
          ],
          [
            [117.0482, 28.25],
            [103.715, 27.3436],
          ],
          [
            [111.9776, 21.8602],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [94.3614, 29.652],
          ],
          [
            [109.2326, 23.735],
            [103.715, 27.3436],
          ],
          [
            [111.7352, 40.841],
            [103.715, 27.3436],
          ],
          [
            [109.8244, 40.6564],
            [103.715, 27.3436],
          ],
          [
            [117.66, 36.2036],
            [103.715, 27.3436],
          ],
          [
            [112.2336, 30.3364],
            [103.715, 27.3436],
          ],
          [
            [110.475, 29.1196],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [91.1718, 29.6546],
          ],
          [
            [118.0968, 27.3688],
            [103.715, 27.3436],
          ],
          [
            [109.5914, 23.116],
            [103.715, 27.3436],
          ],
          [
            [110.7834, 32.6528],
            [103.715, 27.3436],
          ],
          [
            [116.367, 23.5522],
            [103.715, 27.3436],
          ],
          [
            [122.2266, 40.668],
            [103.715, 27.3436],
          ],
          [
            [114.3834, 27.7946],
            [103.715, 27.3436],
          ],
          [
            [119.7578, 49.2122],
            [103.715, 27.3436],
          ],
          [
            [107.366, 22.3766],
            [103.715, 27.3436],
          ],
          [
            [115.8094, 32.9012],
            [103.715, 27.3436],
          ],
          [
            [112.7344, 37.6804],
            [103.715, 27.3436],
          ],
          [
            [118.8678, 28.9428],
            [103.715, 27.3436],
          ],
          [
            [112.3472, 28.583],
            [103.715, 27.3436],
          ],
          [
            [111.1356, 37.5172],
            [103.715, 27.3436],
          ],
          [
            [108.3464, 21.6182],
            [103.715, 27.3436],
          ],
          [
            [124.381, 40.1254],
            [103.715, 27.3436],
          ],
          [
            [125.9418, 41.7394],
            [103.715, 27.3436],
          ],
          [
            [113.8436, 27.635],
            [103.715, 27.3436],
          ],
          [
            [113.842, 34.0352],
            [103.715, 27.3436],
          ],
          [
            [113.3762, 31.6918],
            [103.715, 27.3436],
          ],
          [
            [108.6194, 21.9702],
            [103.715, 27.3436],
          ],
          [
            [112.8348, 35.5026],
            [103.715, 27.3436],
          ],
          [
            [123.9578, 41.8794],
            [103.715, 27.3436],
          ],
          [
            [113.1854, 33.7702],
            [103.715, 27.3436],
          ],
          [
            [114.8738, 30.435],
            [103.715, 27.3436],
          ],
          [
            [106.6106, 23.8994],
            [103.715, 27.3436],
          ],
          [
            [117.806, 30.9508],
            [103.715, 27.3436],
          ],
          [
            [114.3038, 34.7984],
            [103.715, 27.3436],
          ],
          [
            [115.3668, 22.7906],
            [103.715, 27.3436],
          ],
          [
            [114.6902, 33.6282],
            [103.715, 27.3436],
          ],
          [
            [112.7326, 38.4084],
            [103.715, 27.3436],
          ],
          [
            [124.3516, 43.1598],
            [103.715, 27.3436],
          ],
          [
            [113.24, 35.222],
            [103.715, 27.3436],
          ],
          [
            [111.6948, 29.031],
            [103.715, 27.3436],
          ],
          [
            [111.606, 26.4252],
            [103.715, 27.3436],
          ],
          [
            [112.039, 22.9176],
            [103.715, 27.3436],
          ],
          [
            [113.5772, 37.863],
            [103.715, 27.3436],
          ],
          [
            [112.129, 32.01],
            [103.715, 27.3436],
          ],
          [
            [112.0126, 27.728],
            [103.715, 27.3436],
          ],
          [
            [117.6298, 26.2656],
            [103.715, 27.3436],
          ],
          [
            [121.1256, 41.091],
            [103.715, 27.3436],
          ],
          [
            [118.0164, 37.379],
            [103.715, 27.3436],
          ],
          [
            [119.543, 26.6682],
            [103.715, 27.3436],
          ],
          [
            [111.5148, 36.0818],
            [103.715, 27.3436],
          ],
          [
            [118.7512, 30.9472],
            [103.715, 27.3436],
          ],
          [
            [122.265, 43.6188],
            [103.715, 27.3436],
          ],
          [
            [121.6524, 42.019],
            [103.715, 27.3436],
          ],
          [
            [114.0308, 32.9774],
            [103.715, 27.3436],
          ],
          [
            [111.559559, 24.409395],
            [103.715, 27.3436],
          ],
          [
            [130.3608, 46.8088],
            [103.715, 27.3436],
          ],
          [
            [123.9206, 47.3626],
            [103.715, 27.3436],
          ],
          [
            [112.198, 31.036],
            [103.715, 27.3436],
          ],
          [
            [112.4204, 39.3152],
            [103.715, 27.3436],
          ],
          [
            [106.7898, 39.6542],
            [103.715, 27.3436],
          ],
          [
            [122.103, 30.0176],
            [103.715, 27.3436],
          ],
          [
            [118.3116, 32.3068],
            [103.715, 27.3436],
          ],
          [
            [116.1178, 24.296],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [84.866, 45.5916],
          ],
          [
            [118.8922, 42.2518],
            [103.715, 27.3436],
          ],
          [
            [113.1088, 36.1938],
            [103.715, 27.3436],
          ],
          [
            [122.989, 41.1082],
            [103.715, 27.3436],
          ],
          [
            [115.0132, 35.7662],
            [103.715, 27.3436],
          ],
          [
            [125.1374, 42.885],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [104.6232, 35.5904],
          ],
          [
            [129.6298, 44.5572],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [104.9206, 33.394],
          ],
          [
            [123.164, 41.2668],
            [103.715, 27.3436],
          ],
          [
            [115.0312, 30.2018],
            [103.715, 27.3436],
          ],
          [
            [109.770944, 39.620142],
            [103.715, 27.3436],
          ],
          [
            [120.8384, 40.7186],
            [103.715, 27.3436],
          ],
          [
            [111.2934, 23.481],
            [103.715, 27.3436],
          ],
          [
            [122.0662, 41.1248],
            [103.715, 27.3436],
          ],
          [
            [114.3162, 29.8438],
            [103.715, 27.3436],
          ],
          [
            [113.9468, 30.9218],
            [103.715, 27.3436],
          ],
          [
            [130.9572, 45.2898],
            [103.715, 27.3436],
          ],
          [
            [128.8348, 47.7238],
            [103.715, 27.3436],
          ],
          [
            [116.9838, 33.6374],
            [103.715, 27.3436],
          ],
          [
            [124.8124, 45.1436],
            [103.715, 27.3436],
          ],
          [
            [126.9748, 46.6348],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [105.1848, 37.5152],
          ],
          [
            [116.8046, 33.9578],
            [103.715, 27.3436],
          ],
          [
            [117.4788, 30.6612],
            [103.715, 27.3436],
          ],
          [
            [114.286, 35.742],
            [103.715, 27.3436],
          ],
          [
            [130.9292, 45.7842],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [81.278327, 40.547623],
          ],
          [
            [116.3508, 27.9506],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [106.6972, 35.5298],
          ],
          [
            [114.012, 33.5826],
            [103.715, 27.3436],
          ],
          [
            [126.4204, 41.9408],
            [103.715, 27.3436],
          ],
          [
            [114.8896, 30.3934],
            [103.715, 27.3436],
          ],
          [
            [113.448444, 30.364899],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [89.1844, 42.947],
          ],
          [
            [127.4938, 50.2446],
            [103.715, 27.3436],
          ],
          [
            [131.1514, 46.6392],
            [103.715, 27.3436],
          ],
          [
            [102.265, 27.887],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [100.46, 38.9334],
          ],
          [
            [103.715, 27.3436],
            [106.376, 39.0168],
          ],
          [
            [123.836, 42.2928],
            [103.715, 27.3436],
          ],
          [
            [122.8348, 45.6178],
            [103.715, 27.3436],
          ],
          [
            [123.7606, 41.293],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [107.6336, 35.739],
          ],
          [
            [103.715, 27.3436],
            [93.5154, 42.8284],
          ],
          [
            [103.715, 27.3436],
            [98.2892, 39.774],
          ],
          [
            [111.1962, 34.7746],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [106.192, 37.9942],
          ],
          [
            [113.121, 40.993],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [102.6332, 37.9248],
          ],
          [
            [103.715, 27.3436],
            [102.1874, 38.501],
          ],
          [
            [113.160107, 30.665725],
            [103.715, 27.3436],
          ],
          [
            [112.893716, 30.404192],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [106.2746, 36.0072],
          ],
          [
            [112.599893, 35.067444],
            [103.715, 27.3436],
          ],
          [
            [130.3138, 47.3726],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [102.4054, 36.4776],
          ],
          [
            [107.419, 40.749],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [86.077816, 44.30313],
          ],
          [
            [105.6924, 38.8462],
            [103.715, 27.3436],
          ],
          [
            [109.5754, 19.5238],
            [103.715, 27.3436],
          ],
          [
            [112.334, 16.8322],
            [103.715, 27.3436],
          ],
          [
            [116.0522, 43.9466],
            [103.715, 27.3436],
          ],
          [
            [122.056, 46.079],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [80.262, 41.1688],
          ],
          [
            [103.715, 27.3436],
            [87.540332, 44.168152],
          ],
          [
            [106.1072, 30.845],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [79.06902, 39.859708],
          ],
          [
            [129.498, 42.892],
            [103.715, 27.3436],
          ],
          [
            [107.5174, 26.255],
            [103.715, 27.3436],
          ],
          [
            [104.8948, 25.088],
            [103.715, 27.3436],
          ],
          [
            [102.2204, 31.9026],
            [103.715, 27.3436],
          ],
          [
            [101.9566, 30.0504],
            [103.715, 27.3436],
          ],
          [
            [107.9772, 26.5856],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [75.9926, 39.467],
          ],
          [
            [103.715, 27.3436],
            [88.1364, 47.8536],
          ],
          [
            [109.7336, 28.316],
            [103.715, 27.3436],
          ],
          [
            [124.219245, 52.451053],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [79.9216, 37.11],
          ],
          [
            [109.475, 30.2702],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [80.096, 32.503],
          ],
          [
            [103.715, 27.3436],
            [82.9752, 46.7506],
          ],
          [
            [103.715, 27.3436],
            [92.057, 31.4776],
          ],
          [
            [103.715, 27.3436],
            [102.9076, 34.9804],
          ],
          [
            [103.715, 27.3436],
            [100.2404, 34.4758],
          ],
          [
            [103.715, 27.3436],
            [79.288916, 37.209579],
          ],
          [
            [103.715, 27.3436],
            [87.3054, 44.0184],
          ],
          [
            [103.715, 27.3436],
            [103.2092, 35.5928],
          ],
          [
            [103.715, 27.3436],
            [100.8986, 36.959],
          ],
          [
            [103.715, 27.3436],
            [100.6188, 36.2754],
          ],
          [
            [103.715, 27.3436],
            [97.0074, 33.0064],
          ],
          [
            [103.715, 27.3436],
            [85.673337, 41.867431],
          ],
          [
            [103.715, 27.3436],
            [97.3628, 37.3658],
          ],
          [
            [103.715, 27.3436],
            [82.067, 44.8926],
          ],
          [
            [103.715, 27.3436],
            [86.144, 41.7558],
          ],
          [
            [103.715, 27.3436],
            [76.171, 39.7088],
          ],
          [
            [103.715, 27.3436],
            [81.334, 43.914],
          ],
          [
            [110.67091, 31.748498],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [102.0128, 35.5152],
          ],
        ];
        conData = [
          { name: "北京", value: 6710 },
          { name: "上海", value: 6410 },
          { name: "重庆", value: 5170 },
          { name: "成都", value: 4690 },
          { name: "深圳", value: 3780 },
          { name: "东莞", value: 3490 },
          { name: "广州", value: 3260 },
          { name: "宜宾", value: 3000 },
          { name: "杭州", value: 2340 },
          { name: "枣庄", value: 2200 },
          { name: "中山", value: 2100 },
          { name: "苏州", value: 2060 },
          { name: "天津", value: 2000 },
          { name: "贵阳", value: 1910 },
          { name: "邯郸", value: 1680 },
          { name: "佛山", value: 1510 },
          { name: "无锡", value: 1460 },
          { name: "武汉", value: 1420 },
          { name: "毕节", value: 1360 },
          { name: "南京", value: 1350 },
          { name: "西安", value: 1350 },
          { name: "济南", value: 1270 },
          { name: "六盘水", value: 1220 },
          { name: "郑州", value: 1170 },
          { name: "泸州", value: 1140 },
          { name: "青岛", value: 1020 },
          { name: "淄博", value: 999 },
          { name: "邢台", value: 957 },
          { name: "聊城", value: 956 },
          { name: "长沙", value: 956 },
          { name: "宁波", value: 927 },
          { name: "温州", value: 861 },
          { name: "南宁", value: 794 },
          { name: "内江", value: 785 },
          { name: "厦门", value: 782 },
          { name: "常州", value: 760 },
          { name: "泰安", value: 724 },
          { name: "合肥", value: 704 },
          { name: "石家庄", value: 699 },
          { name: "金华", value: 679 },
          { name: "惠州", value: 601 },
          { name: "嘉兴", value: 594 },
          { name: "吉林", value: 583 },
          { name: "沧州", value: 580 },
          { name: "广安", value: 578 },
          { name: "乐山", value: 575 },
          { name: "兰州", value: 561 },
          { name: "自贡", value: 559 },
          { name: "南通", value: 546 },
          { name: "福州", value: 542 },
          { name: "大连", value: 534 },
          { name: "泉州", value: 531 },
          { name: "遵义", value: 524 },
          { name: "沈阳", value: 517 },
          { name: "朝阳", value: 517 },
          { name: "珠海", value: 503 },
          { name: "潍坊", value: 487 },
          { name: "济宁", value: 484 },
          { name: "攀枝花", value: 484 },
          { name: "雅安", value: 474 },
          { name: "台州", value: 468 },
          { name: "廊坊", value: 466 },
          { name: "南昌", value: 463 },
          { name: "临沂", value: 460 },
          { name: "哈尔滨", value: 432 },
          { name: "徐州", value: 425 },
          { name: "盐城", value: 413 },
          { name: "玉林", value: 413 },
          { name: "扬州", value: 410 },
          { name: "安顺", value: 407 },
          { name: "保定", value: 389 },
          { name: "江门", value: 386 },
          { name: "资阳", value: 385 },
          { name: "延安", value: 379 },
          { name: "安康", value: 379 },
          { name: "太原", value: 371 },
          { name: "衡水", value: 369 },
          { name: "烟台", value: 357 },
          { name: "乌鲁木齐", value: 356 },
          { name: "绍兴", value: 351 },
          { name: "德州", value: 347 },
          { name: "昌都", value: 334 },
          { name: "肇庆", value: 333 },
          { name: "绵阳", value: 329 },
          { name: "长春", value: 328 },
          { name: "西宁", value: 318 },
          { name: "河源", value: 316 },
          { name: "洛阳", value: 307 },
          { name: "渭南", value: 307 },
          { name: "商洛", value: 304 },
          { name: "丽水", value: 303 },
          { name: "宜昌", value: 293 },
          { name: "宝鸡", value: 287 },
          { name: "桂林", value: 286 },
          { name: "遂宁", value: 284 },
          { name: "汕头", value: 280 },
          { name: "湛江", value: 279 },
          { name: "眉山", value: 278 },
          { name: "景德镇", value: 277 },
          { name: "吉安", value: 276 },
          { name: "唐山", value: 273 },
          { name: "湖州", value: 273 },
          { name: "咸阳", value: 269 },
          { name: "汉中", value: 269 },
          { name: "达州", value: 268 },
          { name: "铜川", value: 265 },
          { name: "银川", value: 260 },
          { name: "淮安", value: 256 },
          { name: "莆田", value: 256 },
          { name: "铜仁", value: 255 },
          { name: "镇江", value: 253 },
          { name: "柳州", value: 251 },
          { name: "德阳", value: 251 },
          { name: "漳州", value: 250 },
          { name: "海口", value: 245 },
          { name: "三亚", value: 244 },
          { name: "日喀则", value: 241 },
          { name: "日照", value: 238 },
          { name: "新乡", value: 236 },
          { name: "广元", value: 235 },
          { name: "山南", value: 234 },
          { name: "岳阳", value: 233 },
          { name: "榆林", value: 232 },
          { name: "大庆", value: 221 },
          { name: "泰州", value: 220 },
          { name: "上饶", value: 218 },
          { name: "天水", value: 216 },
          { name: "威海", value: 215 },
          { name: "南阳", value: 215 },
          { name: "酒泉", value: 214 },
          { name: "安阳", value: 213 },
          { name: "怀化", value: 213 },
          { name: "韶关", value: 213 },
          { name: "清远", value: 209 },
          { name: "九江", value: 208 },
          { name: "菏泽", value: 206 },
          { name: "河池", value: 206 },
          { name: "东营", value: 198 },
          { name: "巴中", value: 197 },
          { name: "芜湖", value: 194 },
          { name: "亳州", value: 191 },
          { name: "邵阳", value: 189 },
          { name: "连云港", value: 188 },
          { name: "秦皇岛", value: 187 },
          { name: "淮南", value: 187 },
          { name: "茂名", value: 187 },
          { name: "宿迁", value: 185 },
          { name: "株洲", value: 185 },
          { name: "大同", value: 180 },
          { name: "白银", value: 180 },
          { name: "承德", value: 178 },
          { name: "赣州", value: 177 },
          { name: "北海", value: 177 },
          { name: "龙岩", value: 176 },
          { name: "黄山", value: 173 },
          { name: "潮州", value: 173 },
          { name: "蚌埠", value: 169 },
          { name: "马鞍山", value: 166 },
          { name: "运城", value: 164 },
          { name: "六安", value: 164 },
          { name: "张家口", value: 163 },
          { name: "新余", value: 163 },
          { name: "商丘", value: 162 },
          { name: "衡阳", value: 162 },
          { name: "安庆", value: 161 },
          { name: "湘潭", value: 161 },
          { name: "郴州", value: 161 },
          { name: "信阳", value: 160 },
          { name: "鹰潭", value: 159 },
          { name: "阳江", value: 159 },
          { name: "林芝", value: 159 },
          { name: "来宾", value: 157 },
          { name: "呼和浩特", value: 156 },
          { name: "包头", value: 154 },
          { name: "济南", value: 154 },
          { name: "荆州", value: 152 },
          { name: "张家界", value: 152 },
          { name: "拉萨", value: 152 },
          { name: "南平", value: 151 },
          { name: "贵港", value: 149 },
          { name: "十堰", value: 147 },
          { name: "揭阳", value: 147 },
          { name: "营口", value: 146 },
          { name: "宜春", value: 145 },
          { name: "呼伦贝尔", value: 144 },
          { name: "崇左", value: 144 },
          { name: "阜阳", value: 143 },
          { name: "晋中", value: 142 },
          { name: "衢州", value: 140 },
          { name: "益阳", value: 140 },
          { name: "吕梁", value: 139 },
          { name: "防城港", value: 138 },
          { name: "丹东", value: 136 },
          { name: "通化", value: 136 },
          { name: "萍乡", value: 136 },
          { name: "许昌", value: 136 },
          { name: "随州", value: 136 },
          { name: "钦州", value: 135 },
          { name: "晋城", value: 133 },
          { name: "抚顺", value: 133 },
          { name: "平顶山", value: 133 },
          { name: "黄冈", value: 133 },
          { name: "百色", value: 133 },
          { name: "铜陵", value: 132 },
          { name: "开封", value: 132 },
          { name: "汕尾", value: 132 },
          { name: "周口", value: 131 },
          { name: "忻州", value: 130 },
          { name: "四平", value: 129 },
          { name: "焦作", value: 129 },
          { name: "常德", value: 129 },
          { name: "永州", value: 129 },
          { name: "云浮", value: 127 },
          { name: "阳泉", value: 125 },
          { name: "襄阳", value: 125 },
          { name: "娄底", value: 125 },
          { name: "三明", value: 124 },
          { name: "锦州", value: 123 },
          { name: "滨州", value: 122 },
          { name: "宁德", value: 121 },
          { name: "临汾", value: 119 },
          { name: "宣城", value: 118 },
          { name: "通辽", value: 117 },
          { name: "阜新", value: 114 },
          { name: "驻马店", value: 112 },
          { name: "贺州", value: 112 },
          { name: "佳木斯", value: 110 },
          { name: "齐齐哈尔", value: 109 },
          { name: "荆门", value: 105 },
          { name: "朔州", value: 100 },
          { name: "乌海", value: 100 },
          { name: "舟山", value: 99 },
          { name: "滁州", value: 99 },
          { name: "梅州", value: 98 },
          { name: "克拉玛依", value: 97 },
          { name: "赤峰", value: 95 },
          { name: "长治", value: 94 },
          { name: "鞍山", value: 94 },
          { name: "濮阳", value: 94 },
          { name: "辽源", value: 92 },
          { name: "定西", value: 92 },
          { name: "牡丹江", value: 91 },
          { name: "陇南", value: 91 },
          { name: "辽阳", value: 90 },
          { name: "黄石", value: 89 },
          { name: "鄂尔多斯", value: 88 },
          { name: "葫芦岛", value: 88 },
          { name: "梧州", value: 88 },
          { name: "盘锦", value: 87 },
          { name: "咸宁", value: 87 },
          { name: "孝感", value: 86 },
          { name: "鸡西", value: 85 },
          { name: "伊春", value: 85 },
          { name: "宿州", value: 85 },
          { name: "松原", value: 84 },
          { name: "绥化", value: 84 },
          { name: "中卫", value: 83 },
          { name: "淮北", value: 81 },
          { name: "池州", value: 79 },
          { name: "鹤壁", value: 79 },
          { name: "七台河", value: 78 },
          { name: "阿拉尔", value: 77 },
          { name: "抚州", value: 76 },
          { name: "平凉", value: 76 },
          { name: "漯河", value: 73 },
          { name: "白山", value: 72 },
          { name: "鄂州", value: 71 },
          { name: "仙桃", value: 71 },
          { name: "吐鲁番", value: 71 },
          { name: "黑河", value: 70 },
          { name: "双鸭山", value: 69 },
          { name: "凉山彝族自治州", value: 69 },
          { name: "张掖", value: 69 },
          { name: "石嘴山", value: 68 },
          { name: "铁岭", value: 66 },
          { name: "白城", value: 66 },
          { name: "本溪", value: 65 },
          { name: "庆阳", value: 65 },
          { name: "哈密", value: 65 },
          { name: "嘉峪关", value: 63 },
          { name: "三门峡", value: 62 },
          { name: "吴忠", value: 61 },
          { name: "乌兰察布", value: 59 },
          { name: "武威", value: 59 },
          { name: "金昌", value: 58 },
          { name: "天门", value: 57 },
          { name: "潜江", value: 55 },
          { name: "固原", value: 54 },
          { name: "济源", value: 52 },
          { name: "鹤岗", value: 50 },
          { name: "海东", value: 49 },
          { name: "巴彦淖尔", value: 42 },
          { name: "石河子", value: 33 },
          { name: "阿拉善盟", value: 30 },
          { name: "儋州", value: 30 },
          { name: "三沙", value: 29 },
          { name: "锡林郭勒盟", value: 27 },
          { name: "兴安盟", value: 24 },
          { name: "阿克苏地区", value: 22 },
          { name: "五家渠", value: 21 },
          { name: "南充", value: 20 },
          { name: "图木舒克", value: 19 },
          { name: "延边朝鲜族自治州", value: 13 },
          { name: "黔南布依族苗族自治州", value: 13 },
          { name: "黔西南布依族苗族自治州", value: 11 },
          { name: "阿坝藏族羌族自治州", value: 10 },
          { name: "甘孜藏族自治州", value: 10 },
          { name: "黔东南苗族侗族自治州", value: 10 },
          { name: "喀什地区", value: 10 },
          { name: "阿勒泰地区", value: 9 },
          { name: "湘西土家族苗族自治州", value: 8 },
          { name: "大兴安岭地区", value: 7 },
          { name: "和田地区", value: 7 },
          { name: "恩施土家族苗族自治州", value: 6 },
          { name: "阿里地区", value: 6 },
          { name: "塔城地区", value: 6 },
          { name: "那曲地区", value: 5 },
          { name: "甘南藏族自治州", value: 5 },
          { name: "果洛藏族自治州", value: 5 },
          { name: "昆玉", value: 5 },
          { name: "昌吉回族自治州", value: 4 },
          { name: "临夏回族自治州", value: 3 },
          { name: "海北藏族自治州", value: 3 },
          { name: "海南藏族自治州", value: 3 },
          { name: "玉树藏族自治州", value: 3 },
          { name: "铁门关", value: 3 },
          { name: "海西蒙古族藏族自治州", value: 2 },
          { name: "博尔塔拉蒙古自治州", value: 2 },
          { name: "巴音郭楞蒙古自治州", value: 2 },
          { name: "克孜勒苏柯尔克孜自治州", value: 2 },
          { name: "伊犁哈萨克自治州", value: 2 },
          { name: "神农架林区", value: 1 },
          { name: "海南省省直辖", value: 1 },
          { name: "黄南藏族自治州", value: 1 },
        ];
      } else {
        geoCoordMap = {
          昆明: [102.8246, 24.8898],
          曲靖: [103.7922, 25.4888],
          玉溪: [102.5394, 24.3522],
          保山: [99.1584, 25.1158],
          丽江: [100.2326, 26.8734],
          普洱: [100.969, 22.784],
          临沧: [100.0902, 23.8816],
          楚雄彝族自治州: [101.527, 25.0472],
          红河哈尼族彝族自治州: [103.401, 23.368],
          文山壮族苗族自治州: [104.25, 23.3726],
          西双版纳傣族自治州: [100.7984, 22.0154],
          大理白族自治州: [100.2218, 25.5858],
          德宏傣族景颇族自治州: [98.593, 24.4408],
          怒江傈僳族自治州: [98.8458, 25.854],
          迪庆藏族自治州: [99.7034, 27.8138],
        };
        alirl = [
          [
            [102.8246, 24.8898],
            [103.715, 27.3436],
          ],
          [
            [103.7922, 25.4888],
            [103.715, 27.3436],
          ],
          [
            [102.5394, 24.3522],
            [103.715, 27.3436],
          ],
          [
            [99.1584, 25.1158],
            [103.715, 27.3436],
          ],
          [
            [103.715, 27.3436],
            [100.2326, 26.8734],
          ],
          [
            [103.715, 27.3436],
            [100.969, 22.784],
          ],
          [
            [103.715, 27.3436],
            [100.0902, 23.8816],
          ],
          [
            [103.715, 27.3436],
            [101.527, 25.0472],
          ],
          [
            [103.715, 27.3436],
            [103.401, 23.368],
          ],
          [
            [103.715, 27.3436],
            [104.25, 23.3726],
          ],
          [
            [103.715, 27.3436],
            [100.7984, 22.0154],
          ],
          [
            [103.715, 27.3436],
            [100.2218, 25.5858],
          ],
          [
            [103.715, 27.3436],
            [98.593, 24.4408],
          ],
          [
            [103.715, 27.3436],
            [98.8458, 25.854],
          ],
          [
            [103.715, 27.3436],
            [99.7034, 27.8138],
          ],
        ];
        conData = [
          { name: "昆明", value: 25400 },
          { name: "曲靖", value: 6980 },
          { name: "玉溪", value: 4710 },
          { name: "保山", value: 4260 },
          { name: "丽江", value: 4820 },
          { name: "普洱", value: 3370 },
          { name: "临沧", value: 3220 },
          { name: "楚雄彝族自治州", value: 1510 },
          { name: "红河哈尼族彝族自治州", value: 1510 },
          { name: "文山壮族苗族自治州", value: 1650 },
          { name: "西双版纳傣族自治州", value: 1250 },
          { name: "大理白族自治州", value: 1440 },
          { name: "德宏傣族景颇族自治州", value: 1400 },
          { name: "怒江傈僳族自治州", value: 1480 },
          { name: "迪庆藏族自治州", value: 1310 },
        ];
        // distance = 120;
        matchCount = 10;
      }
      conData.forEach((item) => {
        if (maxVal <= item.value) {
          maxVal = item.value;
        }
      });
      convertData = function (data) {
        var res = [];
        for (var i = 0; i < data.length; i++) {
          var geoCoord = geoCoordMap[data[i].name];
          if (geoCoord) {
            res.push({
              name: data[i].name,
              value: geoCoord.concat(data[i].value),
            });
          }
        }

        return res;
      };

      var yMax = 1000;
      var dataShadow = [];

      // var resultdata0 = [];
      var titledata = [];
      var bartop10 = [];
      conData.sort(NumDescSort);

      for (var i = 0; i < matchCount; i++) {
        var top10 = {
          name: conData[i].name,
          value: conData[i].value,
        };
        bartop10.push(top10);
        dataShadow.push(yMax);
      }

      bartop10.sort(NumAsceSort);
      for (var n = 0; n < bartop10.length; n++) {
        titledata.push(bartop10[n].name);
      }

      var option2 = {
        backgroundColor: "transparent",
        tooltip: {
          show: true,
          trigger: "item",
        },
        visualMap: [
          {
            show:false,
            type: "continuous",
            seriesIndex: 0,
            calculable: true,
            max: 7000,
            inRange: {
              color: ["#87aa66", "#eba438", "#d94d4c"],
            },
          },
        ],
        geo3D: {
          map: this.mapName,
          roam: true,
          regionHeight: 1,
          itemStyle: {
            color: "#0066aa",
            opacity: 1,
            borderWidth: 0.4,
            borderColor: "#000",
          },
          label: {
            show: true,
            textStyle: {
              color: "#fff", //地图初始化区域字体颜色
              fontSize: 14,
              opacity: 1,
              backgroundColor: "rgba(0,23,11,0)",
            },
          },
          emphasis: {
            //当鼠标放上去  地区区域是否显示名称
            label: {
              show: true,
              textStyle: {
                color: "#fff",
                fontSize: 20,
                backgroundColor: "rgba(0,23,11,0)",
              },
            },
          },
          //shading: 'lambert',
          light: {
            //光照阴影
            main: {
              color: "#fff", //光照颜色
              intensity: 1.2, //光照强度
              //shadowQuality: 'high', //阴影亮度
              shadow: false, //是否显示阴影
              alpha: 55,
              beta: 10,
            },
            ambient: {
              intensity: 0.3,
            },
          },

          viewControl: {
            projection: "perspective",
            // alpha: 0,//视角的方向。
            // beta: 10,//左右旋转的角度。
            // center: [0, 1, 0],// 视角
            // targetCoord: [116.826801, 0],
            autoRotate: false, // 自动旋转
            autoRotateAfterStill: 10, //鼠标静止操作后恢复自动旋转的时间间隔
            distance: 99, // 视距
            rotateSensitivity: 1, //1可以旋转,0不能旋转
          },
        },
        series: [
          //柱状图
          {
            name: "",
            type: "bar3D",
            coordinateSystem: "geo3D",
            barSize: 1, //柱子粗细
            shading: "lambert",
            opacity: 1,
            minHeight: 0.5,
            bevelSize: 0.3,
            label: {
              show: false,
              formatter: "{b}",
            },
            data: convertData(conData),
          },
          //画线
          {
            type: "lines3D",
            coordinateSystem: "geo3D",

            effect: {
              show: true,
              trailWidth: 2,
              trailOpacity: 0.6,
              trailLength: 0.5,
              constantSpeed: 8,
            },
            blendMode: "lighter",
            lineStyle: {
              width: 0.2,
              opacity: 0.05,
            },
            data: alirl,
          },
        ],
      };
      this.myChart.setOption(option2);
        }
      })
    },
阅读 490
66 声望
3 粉丝
0 条评论
66 声望
3 粉丝
文章目录
宣传栏