demo3.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. export default {
  2. points: [
  3. {
  4. name: '郑州',
  5. coordinate: [0.48, 0.35],
  6. icon: {
  7. src: '/img/flylineChart/mapCenterPoint.png',
  8. width: 30,
  9. height: 30
  10. },
  11. text: {
  12. color: '#fb7293'
  13. }
  14. },
  15. {
  16. name: '新乡',
  17. coordinate: [0.52, 0.23]
  18. },
  19. {
  20. name: '焦作',
  21. coordinate: [0.43, 0.29]
  22. },
  23. {
  24. name: '开封',
  25. coordinate: [0.59, 0.35]
  26. },
  27. {
  28. name: '许昌',
  29. coordinate: [0.53, 0.47]
  30. },
  31. {
  32. name: '平顶山',
  33. coordinate: [0.45, 0.54]
  34. },
  35. {
  36. name: '洛阳',
  37. coordinate: [0.36, 0.38]
  38. },
  39. {
  40. name: '周口',
  41. coordinate: [0.62, 0.55]
  42. },
  43. {
  44. name: '漯河',
  45. coordinate: [0.56, 0.56]
  46. },
  47. {
  48. name: '南阳',
  49. coordinate: [0.37, 0.66]
  50. },
  51. {
  52. name: '信阳',
  53. coordinate: [0.55, 0.81]
  54. },
  55. {
  56. name: '驻马店',
  57. coordinate: [0.55, 0.67]
  58. },
  59. {
  60. name: '济源',
  61. coordinate: [0.37, 0.29]
  62. },
  63. {
  64. name: '三门峡',
  65. coordinate: [0.20, 0.36]
  66. },
  67. {
  68. name: '商丘',
  69. coordinate: [0.76, 0.41]
  70. },
  71. {
  72. name: '鹤壁',
  73. coordinate: [0.59, 0.18]
  74. },
  75. {
  76. name: '濮阳',
  77. coordinate: [0.68, 0.17]
  78. },
  79. {
  80. name: '安阳',
  81. coordinate: [0.59, 0.10]
  82. }
  83. ],
  84. lines: [
  85. {
  86. source: '新乡',
  87. target: '郑州'
  88. },
  89. {
  90. source: '焦作',
  91. target: '郑州'
  92. },
  93. {
  94. source: '开封',
  95. target: '郑州'
  96. },
  97. {
  98. source: '许昌',
  99. target: '郑州'
  100. },
  101. {
  102. source: '平顶山',
  103. target: '郑州'
  104. },
  105. {
  106. source: '洛阳',
  107. target: '郑州'
  108. },
  109. {
  110. source: '周口',
  111. target: '郑州'
  112. },
  113. {
  114. source: '漯河',
  115. target: '郑州'
  116. },
  117. {
  118. source: '南阳',
  119. target: '郑州'
  120. },
  121. {
  122. source: '信阳',
  123. target: '郑州'
  124. },
  125. {
  126. source: '驻马店',
  127. target: '郑州'
  128. },
  129. {
  130. source: '济源',
  131. target: '郑州'
  132. },
  133. {
  134. source: '三门峡',
  135. target: '郑州'
  136. },
  137. {
  138. source: '商丘',
  139. target: '郑州'
  140. },
  141. {
  142. source: '鹤壁',
  143. target: '郑州'
  144. },
  145. {
  146. source: '濮阳',
  147. target: '郑州'
  148. },
  149. {
  150. source: '安阳',
  151. target: '郑州'
  152. }
  153. ],
  154. icon: {
  155. show: true,
  156. src: '/img/flylineChart/mapPoint.png'
  157. },
  158. text: {
  159. show: true,
  160. },
  161. bgImgSrc: '/img/flylineChart/map.jpg'
  162. }