Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

point.js 6.2KB

il y a 4 mois
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. var datas = {
  2. "type": "FeatureCollection",
  3. "features": [
  4. {
  5. "type": "Feature",
  6. "properties": {
  7. "time": 1,
  8. "id": "route1",
  9. "name": "五棵松"
  10. },
  11. "geometry": {
  12. "type": "Point",
  13. "coordinates": [
  14. 116.26802,
  15. 39.90623
  16. ]
  17. }
  18. },
  19. {
  20. "type": "Feature",
  21. "properties": {
  22. "time": 2,
  23. "id": "route1",
  24. "name": "万寿路"
  25. },
  26. "geometry": {
  27. "type": "Point",
  28. "coordinates": [
  29. 116.28896,
  30. 39.90622
  31. ]
  32. }
  33. },
  34. {
  35. "type": "Feature",
  36. "properties": {
  37. "time": 3,
  38. "id": "route1",
  39. "name": "公主坟"
  40. },
  41. "geometry": {
  42. "type": "Point",
  43. "coordinates": [
  44. 116.30421,
  45. 39.90625
  46. ]
  47. }
  48. },
  49. {
  50. "type": "Feature",
  51. "properties": {
  52. "time": 4,
  53. "id": "route1",
  54. "name": "军事博物馆"
  55. },
  56. "geometry": {
  57. "type": "Point",
  58. "coordinates": [
  59. 116.3155,
  60. 39.90618
  61. ]
  62. }
  63. },
  64. {
  65. "type": "Feature",
  66. "properties": {
  67. "time": 5,
  68. "id": "route1",
  69. "name": "木樨地"
  70. },
  71. "geometry": {
  72. "type": "Point",
  73. "coordinates": [
  74. 116.3313,
  75. 39.90611
  76. ]
  77. }
  78. },
  79. {
  80. "type": "Feature",
  81. "properties": {
  82. "time": 6,
  83. "id": "route1",
  84. "name": "南礼士路"
  85. },
  86. "geometry": {
  87. "type": "Point",
  88. "coordinates": [
  89. 116.34643,
  90. 39.90583
  91. ]
  92. }
  93. },
  94. {
  95. "type": "Feature",
  96. "properties": {
  97. "time": 10,
  98. "id": "route1",
  99. "name": "复兴门"
  100. },
  101. "geometry": {
  102. "type": "Point",
  103. "coordinates": [
  104. 116.35033,
  105. 39.90582
  106. ]
  107. }
  108. },
  109. {
  110. "type": "Feature",
  111. "properties": {
  112. "time": 11,
  113. "id": "route1",
  114. "name": "西单"
  115. },
  116. "geometry": {
  117. "type": "Point",
  118. "coordinates": [
  119. 116.36784,
  120. 39.90579
  121. ]
  122. }
  123. },
  124. {
  125. "type": "Feature",
  126. "properties": {
  127. "time": 12,
  128. "id": "route1",
  129. "name": "灵境胡同"
  130. },
  131. "geometry": {
  132. "type": "Point",
  133. "coordinates": [
  134. 116.36755,
  135. 39.91449
  136. ]
  137. }
  138. },
  139. {
  140. "type": "Feature",
  141. "properties": {
  142. "time": 13,
  143. "id": "route1",
  144. "name": "西四"
  145. },
  146. "geometry": {
  147. "type": "Point",
  148. "coordinates": [
  149. 116.36755,
  150. 39.91449
  151. ]
  152. }
  153. },
  154. {
  155. "type": "Feature",
  156. "properties": {
  157. "time": 14,
  158. "id": "route1",
  159. "name": "平安里"
  160. },
  161. "geometry": {
  162. "type": "Point",
  163. "coordinates": [
  164. 116.36673,
  165. 39.93235
  166. ]
  167. }
  168. },
  169. {
  170. "type": "Feature",
  171. "properties": {
  172. "time": 15,
  173. "id": "route1",
  174. "name": "平安里中转"
  175. },
  176. "geometry": {
  177. "type": "Point",
  178. "coordinates": [
  179. 116.36651,
  180. 39.93924
  181. ]
  182. }
  183. },
  184. {
  185. "type": "Feature",
  186. "properties": {
  187. "time": 16,
  188. "id": "route1",
  189. "name": "新街口"
  190. },
  191. "geometry": {
  192. "type": "Point",
  193. "coordinates": [
  194. 116.36172,
  195. 39.93923
  196. ]
  197. }
  198. },
  199. {
  200. "type": "Feature",
  201. "properties": {
  202. "time": 17,
  203. "id": "route1",
  204. "name": "西直门"
  205. },
  206. "geometry": {
  207. "type": "Point",
  208. "coordinates": [
  209. 116.34936,
  210. 39.93913
  211. ]
  212. }
  213. },
  214. {
  215. "type": "Feature",
  216. "properties": {
  217. "time": 18,
  218. "id": "route1",
  219. "name": "动物园"
  220. },
  221. "geometry": {
  222. "type": "Point",
  223. "coordinates": [
  224. 116.33292,
  225. 39.93697
  226. ]
  227. }
  228. },
  229. {
  230. "type": "Feature",
  231. "properties": {
  232. "time": 18,
  233. "id": "route1",
  234. "name": "白石桥南"
  235. },
  236. "geometry": {
  237. "type": "Point",
  238. "coordinates": [
  239. 116.319550,
  240. 39.931000
  241. ]
  242. }
  243. }
  244. ]
  245. };