example.js 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. (function () {
  2. require.config({
  3. paths: {
  4. echarts: '../../../doc/example/www/js'
  5. },
  6. packages: [
  7. {
  8. name: 'BMap',
  9. location: '../src',
  10. main: 'main'
  11. }
  12. ]
  13. });
  14. require(
  15. [
  16. 'echarts',
  17. 'BMap',
  18. 'echarts/chart/map'
  19. ],
  20. function (echarts, BMapExtension) {
  21. $('#main').css({
  22. height:$('body').height(),
  23. width: $('body').width()
  24. });
  25. // 初始化地图
  26. var BMapExt = new BMapExtension($('#main')[0], BMap, echarts,{
  27. enableMapClick: false
  28. });
  29. var map = BMapExt.getMap();
  30. var container = BMapExt.getEchartsContainer();
  31. var startPoint = {
  32. x: 104.114129,
  33. y: 37.550339
  34. };
  35. var point = new BMap.Point(startPoint.x, startPoint.y);
  36. map.centerAndZoom(point, 5);
  37. map.enableScrollWheelZoom(true);
  38. // 地图自定义样式
  39. map.setMapStyle({
  40. styleJson: [
  41. {
  42. "featureType": "water",
  43. "elementType": "all",
  44. "stylers": {
  45. "color": "#044161"
  46. }
  47. },
  48. {
  49. "featureType": "land",
  50. "elementType": "all",
  51. "stylers": {
  52. "color": "#004981"
  53. }
  54. },
  55. {
  56. "featureType": "boundary",
  57. "elementType": "geometry",
  58. "stylers": {
  59. "color": "#064f85"
  60. }
  61. },
  62. {
  63. "featureType": "railway",
  64. "elementType": "all",
  65. "stylers": {
  66. "visibility": "off"
  67. }
  68. },
  69. {
  70. "featureType": "highway",
  71. "elementType": "geometry",
  72. "stylers": {
  73. "color": "#004981"
  74. }
  75. },
  76. {
  77. "featureType": "highway",
  78. "elementType": "geometry.fill",
  79. "stylers": {
  80. "color": "#005b96",
  81. "lightness": 1
  82. }
  83. },
  84. {
  85. "featureType": "highway",
  86. "elementType": "labels",
  87. "stylers": {
  88. "visibility": "off"
  89. }
  90. },
  91. {
  92. "featureType": "arterial",
  93. "elementType": "geometry",
  94. "stylers": {
  95. "color": "#004981"
  96. }
  97. },
  98. {
  99. "featureType": "arterial",
  100. "elementType": "geometry.fill",
  101. "stylers": {
  102. "color": "#00508b"
  103. }
  104. },
  105. {
  106. "featureType": "poi",
  107. "elementType": "all",
  108. "stylers": {
  109. "visibility": "off"
  110. }
  111. },
  112. {
  113. "featureType": "green",
  114. "elementType": "all",
  115. "stylers": {
  116. "color": "#056197",
  117. "visibility": "off"
  118. }
  119. },
  120. {
  121. "featureType": "subway",
  122. "elementType": "all",
  123. "stylers": {
  124. "visibility": "off"
  125. }
  126. },
  127. {
  128. "featureType": "manmade",
  129. "elementType": "all",
  130. "stylers": {
  131. "visibility": "off"
  132. }
  133. },
  134. {
  135. "featureType": "local",
  136. "elementType": "all",
  137. "stylers": {
  138. "visibility": "off"
  139. }
  140. },
  141. {
  142. "featureType": "arterial",
  143. "elementType": "labels",
  144. "stylers": {
  145. "visibility": "off"
  146. }
  147. },
  148. {
  149. "featureType": "boundary",
  150. "elementType": "geometry.fill",
  151. "stylers": {
  152. "color": "#029fd4"
  153. }
  154. },
  155. {
  156. "featureType": "building",
  157. "elementType": "all",
  158. "stylers": {
  159. "color": "#1a5787"
  160. }
  161. },
  162. {
  163. "featureType": "label",
  164. "elementType": "all",
  165. "stylers": {
  166. "visibility": "off"
  167. }
  168. }
  169. ]
  170. });
  171. option = {
  172. color: ['gold','aqua','lime'],
  173. title : {
  174. text: '模拟迁徙',
  175. subtext:'数据纯属虚构',
  176. x:'center',
  177. textStyle : {
  178. color: '#fff'
  179. }
  180. },
  181. tooltip : {
  182. trigger: 'item',
  183. formatter: function (v) {
  184. return v[1].replace(':', ' > ');
  185. }
  186. },
  187. legend: {
  188. orient: 'vertical',
  189. x:'left',
  190. data:['北京', '上海', '广州'],
  191. selectedMode: 'single',
  192. selected:{
  193. '上海' : false,
  194. '广州' : false
  195. },
  196. textStyle : {
  197. color: '#fff'
  198. }
  199. },
  200. toolbox: {
  201. show : true,
  202. orient : 'vertical',
  203. x: 'right',
  204. y: 'center',
  205. feature : {
  206. mark : {show: true},
  207. dataView : {show: true, readOnly: false},
  208. restore : {show: true},
  209. saveAsImage : {show: true}
  210. }
  211. },
  212. dataRange: {
  213. min : 0,
  214. max : 100,
  215. x: 'right',
  216. calculable : true,
  217. color: ['#ff3333', 'orange', 'yellow','lime','aqua'],
  218. textStyle:{
  219. color:'#fff'
  220. }
  221. },
  222. series : [
  223. {
  224. name:'北京',
  225. type:'map',
  226. mapType: 'none',
  227. data:[],
  228. geoCoord: {
  229. '上海': [121.4648,31.2891],
  230. '东莞': [113.8953,22.901],
  231. '东营': [118.7073,37.5513],
  232. '中山': [113.4229,22.478],
  233. '临汾': [111.4783,36.1615],
  234. '临沂': [118.3118,35.2936],
  235. '丹东': [124.541,40.4242],
  236. '丽水': [119.5642,28.1854],
  237. '乌鲁木齐': [87.9236,43.5883],
  238. '佛山': [112.8955,23.1097],
  239. '保定': [115.0488,39.0948],
  240. '兰州': [103.5901,36.3043],
  241. '包头': [110.3467,41.4899],
  242. '北京': [116.4551,40.2539],
  243. '北海': [109.314,21.6211],
  244. '南京': [118.8062,31.9208],
  245. '南宁': [108.479,23.1152],
  246. '南昌': [116.0046,28.6633],
  247. '南通': [121.1023,32.1625],
  248. '厦门': [118.1689,24.6478],
  249. '台州': [121.1353,28.6688],
  250. '合肥': [117.29,32.0581],
  251. '呼和浩特': [111.4124,40.4901],
  252. '咸阳': [108.4131,34.8706],
  253. '哈尔滨': [127.9688,45.368],
  254. '唐山': [118.4766,39.6826],
  255. '嘉兴': [120.9155,30.6354],
  256. '大同': [113.7854,39.8035],
  257. '大连': [122.2229,39.4409],
  258. '天津': [117.4219,39.4189],
  259. '太原': [112.3352,37.9413],
  260. '威海': [121.9482,37.1393],
  261. '宁波': [121.5967,29.6466],
  262. '宝鸡': [107.1826,34.3433],
  263. '宿迁': [118.5535,33.7775],
  264. '常州': [119.4543,31.5582],
  265. '广州': [113.5107,23.2196],
  266. '廊坊': [116.521,39.0509],
  267. '延安': [109.1052,36.4252],
  268. '张家口': [115.1477,40.8527],
  269. '徐州': [117.5208,34.3268],
  270. '德州': [116.6858,37.2107],
  271. '惠州': [114.6204,23.1647],
  272. '成都': [103.9526,30.7617],
  273. '扬州': [119.4653,32.8162],
  274. '承德': [117.5757,41.4075],
  275. '拉萨': [91.1865,30.1465],
  276. '无锡': [120.3442,31.5527],
  277. '日照': [119.2786,35.5023],
  278. '昆明': [102.9199,25.4663],
  279. '杭州': [119.5313,29.8773],
  280. '枣庄': [117.323,34.8926],
  281. '柳州': [109.3799,24.9774],
  282. '株洲': [113.5327,27.0319],
  283. '武汉': [114.3896,30.6628],
  284. '汕头': [117.1692,23.3405],
  285. '江门': [112.6318,22.1484],
  286. '沈阳': [123.1238,42.1216],
  287. '沧州': [116.8286,38.2104],
  288. '河源': [114.917,23.9722],
  289. '泉州': [118.3228,25.1147],
  290. '泰安': [117.0264,36.0516],
  291. '泰州': [120.0586,32.5525],
  292. '济南': [117.1582,36.8701],
  293. '济宁': [116.8286,35.3375],
  294. '海口': [110.3893,19.8516],
  295. '淄博': [118.0371,36.6064],
  296. '淮安': [118.927,33.4039],
  297. '深圳': [114.5435,22.5439],
  298. '清远': [112.9175,24.3292],
  299. '温州': [120.498,27.8119],
  300. '渭南': [109.7864,35.0299],
  301. '湖州': [119.8608,30.7782],
  302. '湘潭': [112.5439,27.7075],
  303. '滨州': [117.8174,37.4963],
  304. '潍坊': [119.0918,36.524],
  305. '烟台': [120.7397,37.5128],
  306. '玉溪': [101.9312,23.8898],
  307. '珠海': [113.7305,22.1155],
  308. '盐城': [120.2234,33.5577],
  309. '盘锦': [121.9482,41.0449],
  310. '石家庄': [114.4995,38.1006],
  311. '福州': [119.4543,25.9222],
  312. '秦皇岛': [119.2126,40.0232],
  313. '绍兴': [120.564,29.7565],
  314. '聊城': [115.9167,36.4032],
  315. '肇庆': [112.1265,23.5822],
  316. '舟山': [122.2559,30.2234],
  317. '苏州': [120.6519,31.3989],
  318. '莱芜': [117.6526,36.2714],
  319. '菏泽': [115.6201,35.2057],
  320. '营口': [122.4316,40.4297],
  321. '葫芦岛': [120.1575,40.578],
  322. '衡水': [115.8838,37.7161],
  323. '衢州': [118.6853,28.8666],
  324. '西宁': [101.4038,36.8207],
  325. '西安': [109.1162,34.2004],
  326. '贵阳': [106.6992,26.7682],
  327. '连云港': [119.1248,34.552],
  328. '邢台': [114.8071,37.2821],
  329. '邯郸': [114.4775,36.535],
  330. '郑州': [113.4668,34.6234],
  331. '鄂尔多斯': [108.9734,39.2487],
  332. '重庆': [107.7539,30.1904],
  333. '金华': [120.0037,29.1028],
  334. '铜川': [109.0393,35.1947],
  335. '银川': [106.3586,38.1775],
  336. '镇江': [119.4763,31.9702],
  337. '长春': [125.8154,44.2584],
  338. '长沙': [113.0823,28.2568],
  339. '长治': [112.8625,36.4746],
  340. '阳泉': [113.4778,38.0951],
  341. '青岛': [120.4651,36.3373],
  342. '韶关': [113.7964,24.7028]
  343. },
  344. markLine : {
  345. smooth:true,
  346. effect : {
  347. show: true,
  348. scaleSize: 1,
  349. period: 30,
  350. color: '#fff',
  351. shadowBlur: 10
  352. },
  353. itemStyle : {
  354. normal: {
  355. borderWidth:1,
  356. lineStyle: {
  357. type: 'solid',
  358. shadowBlur: 10
  359. }
  360. }
  361. },
  362. data : [
  363. [{name:'北京'}, {name:'上海',value:95}],
  364. [{name:'北京'}, {name:'广州',value:90}],
  365. [{name:'北京'}, {name:'大连',value:80}],
  366. [{name:'北京'}, {name:'南宁',value:70}],
  367. [{name:'北京'}, {name:'南昌',value:60}],
  368. [{name:'北京'}, {name:'拉萨',value:50}],
  369. [{name:'北京'}, {name:'长春',value:40}],
  370. [{name:'北京'}, {name:'包头',value:30}],
  371. [{name:'北京'}, {name:'重庆',value:20}],
  372. [{name:'北京'}, {name:'常州',value:10}]
  373. ]
  374. },
  375. markPoint : {
  376. symbol:'emptyCircle',
  377. symbolSize : function (v){
  378. return 10 + v/10
  379. },
  380. effect : {
  381. show: true,
  382. shadowBlur : 0
  383. },
  384. itemStyle:{
  385. normal:{
  386. label:{show:false}
  387. }
  388. },
  389. data : [
  390. {name:'上海',value:95},
  391. {name:'广州',value:90},
  392. {name:'大连',value:80},
  393. {name:'南宁',value:70},
  394. {name:'南昌',value:60},
  395. {name:'拉萨',value:50},
  396. {name:'长春',value:40},
  397. {name:'包头',value:30},
  398. {name:'重庆',value:20},
  399. {name:'常州',value:10}
  400. ]
  401. }
  402. },
  403. {
  404. name:'上海',
  405. type:'map',
  406. mapType: 'none',
  407. data:[],
  408. markLine : {
  409. smooth:true,
  410. effect : {
  411. show: true,
  412. scaleSize: 1,
  413. period: 30,
  414. color: '#fff',
  415. shadowBlur: 10
  416. },
  417. itemStyle : {
  418. normal: {
  419. borderWidth:1,
  420. lineStyle: {
  421. type: 'solid',
  422. shadowBlur: 10
  423. }
  424. }
  425. },
  426. data : [
  427. [{name:'上海'},{name:'包头',value:95}],
  428. [{name:'上海'},{name:'昆明',value:90}],
  429. [{name:'上海'},{name:'广州',value:80}],
  430. [{name:'上海'},{name:'郑州',value:70}],
  431. [{name:'上海'},{name:'长春',value:60}],
  432. [{name:'上海'},{name:'重庆',value:50}],
  433. [{name:'上海'},{name:'长沙',value:40}],
  434. [{name:'上海'},{name:'北京',value:30}],
  435. [{name:'上海'},{name:'丹东',value:20}],
  436. [{name:'上海'},{name:'大连',value:10}]
  437. ]
  438. },
  439. markPoint : {
  440. symbol:'emptyCircle',
  441. symbolSize : function (v){
  442. return 10 + v/10
  443. },
  444. effect : {
  445. show: true,
  446. shadowBlur : 0
  447. },
  448. itemStyle:{
  449. normal:{
  450. label:{show:false}
  451. }
  452. },
  453. data : [
  454. {name:'包头',value:95},
  455. {name:'昆明',value:90},
  456. {name:'广州',value:80},
  457. {name:'郑州',value:70},
  458. {name:'长春',value:60},
  459. {name:'重庆',value:50},
  460. {name:'长沙',value:40},
  461. {name:'北京',value:30},
  462. {name:'丹东',value:20},
  463. {name:'大连',value:10}
  464. ]
  465. }
  466. },
  467. {
  468. name:'广州',
  469. type:'map',
  470. mapType: 'none',
  471. data:[],
  472. markLine : {
  473. smooth:true,
  474. effect : {
  475. show: true,
  476. scaleSize: 1,
  477. period: 30,
  478. color: '#fff',
  479. shadowBlur: 10
  480. },
  481. itemStyle : {
  482. normal: {
  483. borderWidth:1,
  484. lineStyle: {
  485. type: 'solid',
  486. shadowBlur: 10
  487. }
  488. }
  489. },
  490. data : [
  491. [{name:'广州'},{name:'福州',value:95}],
  492. [{name:'广州'},{name:'太原',value:90}],
  493. [{name:'广州'},{name:'长春',value:80}],
  494. [{name:'广州'},{name:'重庆',value:70}],
  495. [{name:'广州'},{name:'西安',value:60}],
  496. [{name:'广州'},{name:'成都',value:50}],
  497. [{name:'广州'},{name:'常州',value:40}],
  498. [{name:'广州'},{name:'北京',value:30}],
  499. [{name:'广州'},{name:'北海',value:20}],
  500. [{name:'广州'},{name:'海口',value:10}]
  501. ]
  502. },
  503. markPoint : {
  504. symbol:'emptyCircle',
  505. symbolSize : function (v){
  506. return 10 + v/10
  507. },
  508. effect : {
  509. show: true,
  510. shadowBlur : 0
  511. },
  512. itemStyle:{
  513. normal:{
  514. label:{show:false}
  515. }
  516. },
  517. data : [
  518. {name:'福州',value:95},
  519. {name:'太原',value:90},
  520. {name:'长春',value:80},
  521. {name:'重庆',value:70},
  522. {name:'西安',value:60},
  523. {name:'成都',value:50},
  524. {name:'常州',value:40},
  525. {name:'北京',value:30},
  526. {name:'北海',value:20},
  527. {name:'海口',value:10}
  528. ]
  529. }
  530. },
  531. {
  532. name:'全国',
  533. type:'map',
  534. mapType: 'none',
  535. data:[],
  536. markLine : {
  537. smooth:true,
  538. symbol: ['none', 'circle'],
  539. symbolSize : 1,
  540. itemStyle : {
  541. normal: {
  542. color:'#fff',
  543. borderWidth:1,
  544. borderColor:'rgba(30,144,255,0.5)'
  545. }
  546. },
  547. data : [
  548. [{name:'北京'},{name:'包头'}],
  549. [{name:'北京'},{name:'北海'}],
  550. [{name:'北京'},{name:'广州'}],
  551. [{name:'北京'},{name:'郑州'}],
  552. [{name:'北京'},{name:'长春'}],
  553. [{name:'北京'},{name:'长治'}],
  554. [{name:'北京'},{name:'重庆'}],
  555. [{name:'北京'},{name:'长沙'}],
  556. [{name:'北京'},{name:'成都'}],
  557. [{name:'北京'},{name:'常州'}],
  558. [{name:'北京'},{name:'丹东'}],
  559. [{name:'北京'},{name:'大连'}],
  560. [{name:'北京'},{name:'东营'}],
  561. [{name:'北京'},{name:'延安'}],
  562. [{name:'北京'},{name:'福州'}],
  563. [{name:'北京'},{name:'海口'}],
  564. [{name:'北京'},{name:'呼和浩特'}],
  565. [{name:'北京'},{name:'合肥'}],
  566. [{name:'北京'},{name:'杭州'}],
  567. [{name:'北京'},{name:'哈尔滨'}],
  568. [{name:'北京'},{name:'舟山'}],
  569. [{name:'北京'},{name:'银川'}],
  570. [{name:'北京'},{name:'衢州'}],
  571. [{name:'北京'},{name:'南昌'}],
  572. [{name:'北京'},{name:'昆明'}],
  573. [{name:'北京'},{name:'贵阳'}],
  574. [{name:'北京'},{name:'兰州'}],
  575. [{name:'北京'},{name:'拉萨'}],
  576. [{name:'北京'},{name:'连云港'}],
  577. [{name:'北京'},{name:'临沂'}],
  578. [{name:'北京'},{name:'柳州'}],
  579. [{name:'北京'},{name:'宁波'}],
  580. [{name:'北京'},{name:'南京'}],
  581. [{name:'北京'},{name:'南宁'}],
  582. [{name:'北京'},{name:'南通'}],
  583. [{name:'北京'},{name:'上海'}],
  584. [{name:'北京'},{name:'沈阳'}],
  585. [{name:'北京'},{name:'西安'}],
  586. [{name:'北京'},{name:'汕头'}],
  587. [{name:'北京'},{name:'深圳'}],
  588. [{name:'北京'},{name:'青岛'}],
  589. [{name:'北京'},{name:'济南'}],
  590. [{name:'北京'},{name:'太原'}],
  591. [{name:'北京'},{name:'乌鲁木齐'}],
  592. [{name:'北京'},{name:'潍坊'}],
  593. [{name:'北京'},{name:'威海'}],
  594. [{name:'北京'},{name:'温州'}],
  595. [{name:'北京'},{name:'武汉'}],
  596. [{name:'北京'},{name:'无锡'}],
  597. [{name:'北京'},{name:'厦门'}],
  598. [{name:'北京'},{name:'西宁'}],
  599. [{name:'北京'},{name:'徐州'}],
  600. [{name:'北京'},{name:'烟台'}],
  601. [{name:'北京'},{name:'盐城'}],
  602. [{name:'北京'},{name:'珠海'}],
  603. [{name:'上海'},{name:'包头'}],
  604. [{name:'上海'},{name:'北海'}],
  605. [{name:'上海'},{name:'广州'}],
  606. [{name:'上海'},{name:'郑州'}],
  607. [{name:'上海'},{name:'长春'}],
  608. [{name:'上海'},{name:'重庆'}],
  609. [{name:'上海'},{name:'长沙'}],
  610. [{name:'上海'},{name:'成都'}],
  611. [{name:'上海'},{name:'丹东'}],
  612. [{name:'上海'},{name:'大连'}],
  613. [{name:'上海'},{name:'福州'}],
  614. [{name:'上海'},{name:'海口'}],
  615. [{name:'上海'},{name:'呼和浩特'}],
  616. [{name:'上海'},{name:'合肥'}],
  617. [{name:'上海'},{name:'哈尔滨'}],
  618. [{name:'上海'},{name:'舟山'}],
  619. [{name:'上海'},{name:'银川'}],
  620. [{name:'上海'},{name:'南昌'}],
  621. [{name:'上海'},{name:'昆明'}],
  622. [{name:'上海'},{name:'贵阳'}],
  623. [{name:'上海'},{name:'兰州'}],
  624. [{name:'上海'},{name:'拉萨'}],
  625. [{name:'上海'},{name:'连云港'}],
  626. [{name:'上海'},{name:'临沂'}],
  627. [{name:'上海'},{name:'柳州'}],
  628. [{name:'上海'},{name:'宁波'}],
  629. [{name:'上海'},{name:'南宁'}],
  630. [{name:'上海'},{name:'北京'}],
  631. [{name:'上海'},{name:'沈阳'}],
  632. [{name:'上海'},{name:'秦皇岛'}],
  633. [{name:'上海'},{name:'西安'}],
  634. [{name:'上海'},{name:'石家庄'}],
  635. [{name:'上海'},{name:'汕头'}],
  636. [{name:'上海'},{name:'深圳'}],
  637. [{name:'上海'},{name:'青岛'}],
  638. [{name:'上海'},{name:'济南'}],
  639. [{name:'上海'},{name:'天津'}],
  640. [{name:'上海'},{name:'太原'}],
  641. [{name:'上海'},{name:'乌鲁木齐'}],
  642. [{name:'上海'},{name:'潍坊'}],
  643. [{name:'上海'},{name:'威海'}],
  644. [{name:'上海'},{name:'温州'}],
  645. [{name:'上海'},{name:'武汉'}],
  646. [{name:'上海'},{name:'厦门'}],
  647. [{name:'上海'},{name:'西宁'}],
  648. [{name:'上海'},{name:'徐州'}],
  649. [{name:'上海'},{name:'烟台'}],
  650. [{name:'上海'},{name:'珠海'}],
  651. [{name:'广州'},{name:'北海'}],
  652. [{name:'广州'},{name:'郑州'}],
  653. [{name:'广州'},{name:'长春'}],
  654. [{name:'广州'},{name:'重庆'}],
  655. [{name:'广州'},{name:'长沙'}],
  656. [{name:'广州'},{name:'成都'}],
  657. [{name:'广州'},{name:'常州'}],
  658. [{name:'广州'},{name:'大连'}],
  659. [{name:'广州'},{name:'福州'}],
  660. [{name:'广州'},{name:'海口'}],
  661. [{name:'广州'},{name:'呼和浩特'}],
  662. [{name:'广州'},{name:'合肥'}],
  663. [{name:'广州'},{name:'杭州'}],
  664. [{name:'广州'},{name:'哈尔滨'}],
  665. [{name:'广州'},{name:'舟山'}],
  666. [{name:'广州'},{name:'银川'}],
  667. [{name:'广州'},{name:'南昌'}],
  668. [{name:'广州'},{name:'昆明'}],
  669. [{name:'广州'},{name:'贵阳'}],
  670. [{name:'广州'},{name:'兰州'}],
  671. [{name:'广州'},{name:'拉萨'}],
  672. [{name:'广州'},{name:'连云港'}],
  673. [{name:'广州'},{name:'临沂'}],
  674. [{name:'广州'},{name:'柳州'}],
  675. [{name:'广州'},{name:'宁波'}],
  676. [{name:'广州'},{name:'南京'}],
  677. [{name:'广州'},{name:'南宁'}],
  678. [{name:'广州'},{name:'南通'}],
  679. [{name:'广州'},{name:'北京'}],
  680. [{name:'广州'},{name:'上海'}],
  681. [{name:'广州'},{name:'沈阳'}],
  682. [{name:'广州'},{name:'西安'}],
  683. [{name:'广州'},{name:'石家庄'}],
  684. [{name:'广州'},{name:'汕头'}],
  685. [{name:'广州'},{name:'青岛'}],
  686. [{name:'广州'},{name:'济南'}],
  687. [{name:'广州'},{name:'天津'}],
  688. [{name:'广州'},{name:'太原'}],
  689. [{name:'广州'},{name:'乌鲁木齐'}],
  690. [{name:'广州'},{name:'温州'}],
  691. [{name:'广州'},{name:'武汉'}],
  692. [{name:'广州'},{name:'无锡'}],
  693. [{name:'广州'},{name:'厦门'}],
  694. [{name:'广州'},{name:'西宁'}],
  695. [{name:'广州'},{name:'徐州'}],
  696. [{name:'广州'},{name:'烟台'}],
  697. [{name:'广州'},{name:'盐城'}]
  698. ]
  699. }
  700. }
  701. ]
  702. };
  703. var myChart = BMapExt.initECharts(container);
  704. BMapExt.setOption(option);
  705. }
  706. );
  707. })();