首先聲明echarts
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); } }) },