vue2-openlayers 0.1.3 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/package.json +9 -8
  2. package/{vue2-openlayers/vue2-openlayers.common.js → vue2-openlayers.common.js} +121 -96
  3. package/{vue2-openlayers/vue2-openlayers.common.js.map → vue2-openlayers.common.js.map} +1 -1
  4. package/{vue2-openlayers/vue2-openlayers.css → vue2-openlayers.css} +1 -1
  5. package/{vue2-openlayers/vue2-openlayers.umd.js → vue2-openlayers.umd.js} +121 -96
  6. package/{vue2-openlayers/vue2-openlayers.umd.js.map → vue2-openlayers.umd.js.map} +1 -1
  7. package/vue2-openlayers.umd.min.js +2 -0
  8. package/vue2-openlayers.umd.min.js.map +1 -0
  9. package/README.md +0 -24
  10. package/babel.config.js +0 -5
  11. package/dist/css/index.34f0f0b9.css +0 -1
  12. package/dist/favicon.ico +0 -0
  13. package/dist/img/bottom_box.625e42a5.png +0 -0
  14. package/dist/img/car1.dd9a098b.png +0 -0
  15. package/dist/img/complete.2d0fa612.png +0 -0
  16. package/dist/img/diago_content.0d88c929.png +0 -0
  17. package/dist/img/diago_text_box.2e4da66b.png +0 -0
  18. package/dist/img/diago_title.2bd95b7a.png +0 -0
  19. package/dist/img/exception.a1eeefc3.png +0 -0
  20. package/dist/img/info1.829a6d7e.png +0 -0
  21. package/dist/img/info2.09e6e79e.png +0 -0
  22. package/dist/img/info3.3f96f756.png +0 -0
  23. package/dist/img/info4.6adcb927.png +0 -0
  24. package/dist/img/info5.ff3fdd2f.png +0 -0
  25. package/dist/img/info6.6e159d95.png +0 -0
  26. package/dist/img/left_box.40419b36.png +0 -0
  27. package/dist/img/money1.0743e701.png +0 -0
  28. package/dist/img/money2.58610d4d.png +0 -0
  29. package/dist/img/operating_fee.e6523ccc.png +0 -0
  30. package/dist/img/processing.28e46e7f.png +0 -0
  31. package/dist/img/public_content_box.39782fb5.png +0 -0
  32. package/dist/img/public_title_box1.6002afd4.png +0 -0
  33. package/dist/img/right_box.08458fe5.png +0 -0
  34. package/dist/img/success1.0cbc58af.png +0 -0
  35. package/dist/img/success2.af1a7499.png +0 -0
  36. package/dist/img/success3.d74caac5.png +0 -0
  37. package/dist/img/success4.37cc2343.png +0 -0
  38. package/dist/img/top_box.806bc756.png +0 -0
  39. package/dist/img/warehouse_map_popup.fa26d6cd.png +0 -0
  40. package/dist/img/work_error.3c528fdd.png +0 -0
  41. package/dist/img/work_su.0cbc58af.png +0 -0
  42. package/dist/img/work_wait.a2a706c9.png +0 -0
  43. package/dist/index.html +0 -13
  44. package/dist/js/chunk-vendors.901bdf0b.js +0 -8
  45. package/dist/js/chunk-vendors.901bdf0b.js.map +0 -1
  46. package/dist/js/index.29606843.js +0 -2
  47. package/dist/js/index.29606843.js.map +0 -1
  48. package/docs/.vuepress/config.js +0 -25
  49. package/docs/.vuepress/dist/404.html +0 -20
  50. package/docs/.vuepress/dist/assets/css/0.styles.7cfabf05.css +0 -1
  51. package/docs/.vuepress/dist/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png +0 -0
  52. package/docs/.vuepress/dist/assets/img/gateway.98d6c8ec.jpg +0 -0
  53. package/docs/.vuepress/dist/assets/img/mysql_images.07b3a3e5.jpg +0 -0
  54. package/docs/.vuepress/dist/assets/img/nacos.741b050d.jpg +0 -0
  55. package/docs/.vuepress/dist/assets/img/rabbitmq.50b12be7.jpg +0 -0
  56. package/docs/.vuepress/dist/assets/img/redis_images.f0979945.jpg +0 -0
  57. package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
  58. package/docs/.vuepress/dist/assets/img/server-structure.6e0aa81e.png +0 -0
  59. package/docs/.vuepress/dist/assets/js/10.285f55d1.js +0 -1
  60. package/docs/.vuepress/dist/assets/js/11.decff412.js +0 -1
  61. package/docs/.vuepress/dist/assets/js/12.b9ed6e21.js +0 -1
  62. package/docs/.vuepress/dist/assets/js/13.d9c8c7a9.js +0 -1
  63. package/docs/.vuepress/dist/assets/js/14.6495a0e6.js +0 -1
  64. package/docs/.vuepress/dist/assets/js/15.70d64d1a.js +0 -1
  65. package/docs/.vuepress/dist/assets/js/16.a93c018c.js +0 -1
  66. package/docs/.vuepress/dist/assets/js/17.ed91eb16.js +0 -1
  67. package/docs/.vuepress/dist/assets/js/18.d07cd593.js +0 -1
  68. package/docs/.vuepress/dist/assets/js/19.4b8a0f22.js +0 -1
  69. package/docs/.vuepress/dist/assets/js/2.2668fa1b.js +0 -1
  70. package/docs/.vuepress/dist/assets/js/20.52de9326.js +0 -1
  71. package/docs/.vuepress/dist/assets/js/21.2293a5ca.js +0 -1
  72. package/docs/.vuepress/dist/assets/js/3.fd22fded.js +0 -1
  73. package/docs/.vuepress/dist/assets/js/4.ad26b2fa.js +0 -1
  74. package/docs/.vuepress/dist/assets/js/5.a1c97bcb.js +0 -1
  75. package/docs/.vuepress/dist/assets/js/6.32f67120.js +0 -1
  76. package/docs/.vuepress/dist/assets/js/7.99161716.js +0 -1
  77. package/docs/.vuepress/dist/assets/js/8.a0d65864.js +0 -1
  78. package/docs/.vuepress/dist/assets/js/9.2d06e692.js +0 -1
  79. package/docs/.vuepress/dist/assets/js/app.0be82e56.js +0 -15
  80. package/docs/.vuepress/dist/config/config_list.html +0 -58
  81. package/docs/.vuepress/dist/config/index.html +0 -69
  82. package/docs/.vuepress/dist/guide/admin.html +0 -26
  83. package/docs/.vuepress/dist/guide/deepchange.html +0 -213
  84. package/docs/.vuepress/dist/guide/gateway.html +0 -45
  85. package/docs/.vuepress/dist/guide/hystrix.html +0 -26
  86. package/docs/.vuepress/dist/guide/index.html +0 -66
  87. package/docs/.vuepress/dist/guide/nacos.html +0 -26
  88. package/docs/.vuepress/dist/guide/opsdev.html +0 -26
  89. package/docs/.vuepress/dist/guide/rabbitmq.html +0 -26
  90. package/docs/.vuepress/dist/guide/skywarking.html +0 -52
  91. package/docs/.vuepress/dist/guide/summary.html +0 -74
  92. package/docs/.vuepress/dist/help/index.html +0 -28
  93. package/docs/.vuepress/dist/help/markdown.html +0 -33
  94. package/docs/.vuepress/dist/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  95. package/docs/.vuepress/dist/images/gateway.jpg +0 -0
  96. package/docs/.vuepress/dist/images/mysql_images.jpg +0 -0
  97. package/docs/.vuepress/dist/images/nacos.jpg +0 -0
  98. package/docs/.vuepress/dist/images/rabbitmq.jpg +0 -0
  99. package/docs/.vuepress/dist/images/redis_images.jpg +0 -0
  100. package/docs/.vuepress/dist/images/server-structure.png +0 -0
  101. package/docs/.vuepress/dist/index.html +0 -26
  102. package/docs/.vuepress/dist/logo.jpg +0 -0
  103. package/docs/.vuepress/nav.js +0 -34
  104. package/docs/.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  105. package/docs/.vuepress/public/images/gateway.jpg +0 -0
  106. package/docs/.vuepress/public/images/mysql_images.jpg +0 -0
  107. package/docs/.vuepress/public/images/nacos.jpg +0 -0
  108. package/docs/.vuepress/public/images/rabbitmq.jpg +0 -0
  109. package/docs/.vuepress/public/images/redis_images.jpg +0 -0
  110. package/docs/.vuepress/public/images/server-structure.png +0 -0
  111. package/docs/.vuepress/public/logo.jpg +0 -0
  112. package/docs/.vuepress/sidebar.js +0 -62
  113. package/docs/README.md +0 -15
  114. package/docs/config/README.md +0 -108
  115. package/docs/config/config_list.md +0 -42
  116. package/docs/guide/README.md +0 -79
  117. package/docs/guide/admin.md +0 -25
  118. package/docs/guide/deepchange.md +0 -393
  119. package/docs/guide/gateway.md +0 -40
  120. package/docs/guide/hystrix.md +0 -21
  121. package/docs/guide/nacos.md +0 -7
  122. package/docs/guide/opsdev.md +0 -12
  123. package/docs/guide/rabbitmq.md +0 -15
  124. package/docs/guide/skywarking.md +0 -77
  125. package/docs/guide/summary.md +0 -120
  126. package/docs/help/README.md +0 -29
  127. package/docs/help/markdown.md +0 -165
  128. package/examples/App.vue +0 -21
  129. package/examples/assets/css/map-base.scss +0 -333
  130. package/examples/assets/fonts/pmzd.ttf +0 -0
  131. package/examples/assets/icons/index.js +0 -9
  132. package/examples/assets/icons/svg/404.svg +0 -1
  133. package/examples/assets/icons/svg/bug.svg +0 -1
  134. package/examples/assets/icons/svg/build.svg +0 -1
  135. package/examples/assets/icons/svg/button.svg +0 -1
  136. package/examples/assets/icons/svg/cascader.svg +0 -1
  137. package/examples/assets/icons/svg/chart.svg +0 -1
  138. package/examples/assets/icons/svg/checkbox.svg +0 -1
  139. package/examples/assets/icons/svg/clipboard.svg +0 -1
  140. package/examples/assets/icons/svg/code.svg +0 -1
  141. package/examples/assets/icons/svg/color.svg +0 -1
  142. package/examples/assets/icons/svg/component.svg +0 -1
  143. package/examples/assets/icons/svg/dashboard.svg +0 -1
  144. package/examples/assets/icons/svg/date-range.svg +0 -1
  145. package/examples/assets/icons/svg/date.svg +0 -1
  146. package/examples/assets/icons/svg/dict.svg +0 -1
  147. package/examples/assets/icons/svg/documentation.svg +0 -1
  148. package/examples/assets/icons/svg/download.svg +0 -1
  149. package/examples/assets/icons/svg/drag.svg +0 -1
  150. package/examples/assets/icons/svg/druid.svg +0 -1
  151. package/examples/assets/icons/svg/edit.svg +0 -1
  152. package/examples/assets/icons/svg/education.svg +0 -1
  153. package/examples/assets/icons/svg/email.svg +0 -1
  154. package/examples/assets/icons/svg/example.svg +0 -1
  155. package/examples/assets/icons/svg/excel.svg +0 -1
  156. package/examples/assets/icons/svg/exit-fullscreen.svg +0 -1
  157. package/examples/assets/icons/svg/eye-open.svg +0 -1
  158. package/examples/assets/icons/svg/eye.svg +0 -1
  159. package/examples/assets/icons/svg/form.svg +0 -1
  160. package/examples/assets/icons/svg/fullscreen.svg +0 -1
  161. package/examples/assets/icons/svg/github.svg +0 -1
  162. package/examples/assets/icons/svg/guide.svg +0 -1
  163. package/examples/assets/icons/svg/icon.svg +0 -1
  164. package/examples/assets/icons/svg/input.svg +0 -1
  165. package/examples/assets/icons/svg/international.svg +0 -1
  166. package/examples/assets/icons/svg/job.svg +0 -1
  167. package/examples/assets/icons/svg/language.svg +0 -1
  168. package/examples/assets/icons/svg/link.svg +0 -1
  169. package/examples/assets/icons/svg/list.svg +0 -1
  170. package/examples/assets/icons/svg/lock.svg +0 -1
  171. package/examples/assets/icons/svg/log.svg +0 -1
  172. package/examples/assets/icons/svg/logininfor.svg +0 -1
  173. package/examples/assets/icons/svg/message.svg +0 -1
  174. package/examples/assets/icons/svg/money.svg +0 -1
  175. package/examples/assets/icons/svg/monitor.svg +0 -2
  176. package/examples/assets/icons/svg/nested.svg +0 -1
  177. package/examples/assets/icons/svg/number.svg +0 -1
  178. package/examples/assets/icons/svg/online.svg +0 -1
  179. package/examples/assets/icons/svg/password.svg +0 -1
  180. package/examples/assets/icons/svg/pdf.svg +0 -1
  181. package/examples/assets/icons/svg/people.svg +0 -1
  182. package/examples/assets/icons/svg/peoples.svg +0 -1
  183. package/examples/assets/icons/svg/phone.svg +0 -1
  184. package/examples/assets/icons/svg/post.svg +0 -1
  185. package/examples/assets/icons/svg/qq.svg +0 -1
  186. package/examples/assets/icons/svg/question.svg +0 -1
  187. package/examples/assets/icons/svg/radio.svg +0 -1
  188. package/examples/assets/icons/svg/rate.svg +0 -1
  189. package/examples/assets/icons/svg/redis.svg +0 -1
  190. package/examples/assets/icons/svg/row.svg +0 -1
  191. package/examples/assets/icons/svg/search.svg +0 -1
  192. package/examples/assets/icons/svg/select.svg +0 -1
  193. package/examples/assets/icons/svg/server.svg +0 -1
  194. package/examples/assets/icons/svg/shopping.svg +0 -1
  195. package/examples/assets/icons/svg/size.svg +0 -1
  196. package/examples/assets/icons/svg/skill.svg +0 -1
  197. package/examples/assets/icons/svg/slider.svg +0 -1
  198. package/examples/assets/icons/svg/star.svg +0 -1
  199. package/examples/assets/icons/svg/swagger.svg +0 -1
  200. package/examples/assets/icons/svg/switch.svg +0 -1
  201. package/examples/assets/icons/svg/system.svg +0 -2
  202. package/examples/assets/icons/svg/tab.svg +0 -1
  203. package/examples/assets/icons/svg/table.svg +0 -1
  204. package/examples/assets/icons/svg/textarea.svg +0 -1
  205. package/examples/assets/icons/svg/theme.svg +0 -1
  206. package/examples/assets/icons/svg/time-range.svg +0 -1
  207. package/examples/assets/icons/svg/time.svg +0 -1
  208. package/examples/assets/icons/svg/tool.svg +0 -1
  209. package/examples/assets/icons/svg/tree-table.svg +0 -1
  210. package/examples/assets/icons/svg/tree.svg +0 -1
  211. package/examples/assets/icons/svg/turn-right.svg +0 -1
  212. package/examples/assets/icons/svg/upload.svg +0 -1
  213. package/examples/assets/icons/svg/user.svg +0 -1
  214. package/examples/assets/icons/svg/validCode.svg +0 -1
  215. package/examples/assets/icons/svg/wechat.svg +0 -1
  216. package/examples/assets/icons/svg/zip.svg +0 -1
  217. package/examples/assets/icons/svgo.yml +0 -22
  218. package/examples/assets/images/close_diago.png +0 -0
  219. package/examples/assets/images/red_circle.png +0 -0
  220. package/examples/assets/images/w_mj_map.png +0 -0
  221. package/examples/assets/images/warehouse_map_popup.png +0 -0
  222. package/examples/assets/images/warehouse_map_success.png +0 -0
  223. package/examples/assets/images/warehouse_map_warning.png +0 -0
  224. package/examples/assets/js/gps.js +0 -222
  225. package/examples/assets/logo.png +0 -0
  226. package/examples/components/HelloWorld.vue +0 -273
  227. package/examples/components/MapPopup.vue +0 -80
  228. package/examples/data/510000.js +0 -2056
  229. package/examples/data/510000.json +0 -2055
  230. package/examples/data/testData.js +0 -2088
  231. package/examples/main.js +0 -28
  232. package/examples/utils/echarts/esresize.js +0 -110
  233. package/jsconfig.json +0 -19
  234. package/vue.config.js +0 -54
  235. package/vue2-openlayers/package.json +0 -56
  236. package/vue2-openlayers/vue2-openlayers.umd.min.js +0 -2
  237. package/vue2-openlayers/vue2-openlayers.umd.min.js.map +0 -1
  238. /package/{vue2-openlayers/demo.html → demo.html} +0 -0
@@ -1 +1 @@
1
- :host,:root{--ol-background-color:#fff;--ol-accent-background-color:#f5f5f5;--ol-subtle-background-color:hsla(0,0%,50%,.25);--ol-partial-background-color:hsla(0,0%,100%,.75);--ol-foreground-color:#333;--ol-subtle-foreground-color:#666;--ol-brand-color:#0af}.ol-box{box-sizing:border-box;border-radius:.02rem;border:.015rem solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:.08rem;right:.08rem;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:.04rem;bottom:.08rem;left:.08rem;padding:.02rem;position:absolute}.ol-scale-line-inner{border:.01rem solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:.1rem;text-align:center;margin:.01rem;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:.08rem;left:.08rem}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:.01rem;height:.15rem;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{bottom:-.05rem;font-size:.1rem;z-index:11}.ol-scale-step-text,.ol-scale-text{position:absolute;color:var(--ol-foreground-color);text-shadow:-.015rem 0 var(--ol-partial-background-color),0 .015rem var(--ol-partial-background-color),.015rem 0 var(--ol-partial-background-color),0 -.015rem var(--ol-partial-background-color)}.ol-scale-text{font-size:.12rem;text-align:center;bottom:.25rem}.ol-scale-singlebar{position:relative;height:.1rem;z-index:9;box-sizing:border-box;border:.01rem solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:.04rem}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:.01rem;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:.02rem}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;outline:.01rem solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:.02rem .02rem 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 .02rem .02rem}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:.01rem .5em;color:var(--ol-foreground-color);text-shadow:0 0 .02rem var(--ol-background-color);font-size:.12rem}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:.04rem 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:2rem}.ol-zoomslider button{position:relative;height:.1rem}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 .04rem 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:.01rem solid var(--ol-subtle-foreground-color);height:1.5rem;width:1.5rem}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:.015rem dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.wapper[data-v-d8c9bfda]{position:relative;width:100%;height:100%;font-size:80%;font-family:Source Han Sans CN;font-weight:400}[data-v-365d966c]{color:rgba(25,140,255,.24)}
1
+ :host,:root{--ol-background-color:#fff;--ol-accent-background-color:#f5f5f5;--ol-subtle-background-color:hsla(0,0%,50%,.25);--ol-partial-background-color:hsla(0,0%,100%,.75);--ol-foreground-color:#333;--ol-subtle-foreground-color:#666;--ol-brand-color:#0af}.ol-box{box-sizing:border-box;border-radius:.02rem;border:.015rem solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:.08rem;right:.08rem;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:.04rem;bottom:.08rem;left:.08rem;padding:.02rem;position:absolute}.ol-scale-line-inner{border:.01rem solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:.1rem;text-align:center;margin:.01rem;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:.08rem;left:.08rem}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:.01rem;height:.15rem;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{bottom:-.05rem;font-size:.1rem;z-index:11}.ol-scale-step-text,.ol-scale-text{position:absolute;color:var(--ol-foreground-color);text-shadow:-.015rem 0 var(--ol-partial-background-color),0 .015rem var(--ol-partial-background-color),.015rem 0 var(--ol-partial-background-color),0 -.015rem var(--ol-partial-background-color)}.ol-scale-text{font-size:.12rem;text-align:center;bottom:.25rem}.ol-scale-singlebar{position:relative;height:.1rem;z-index:9;box-sizing:border-box;border:.01rem solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:.04rem}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:.01rem;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:.02rem}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;outline:.01rem solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:.02rem .02rem 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 .02rem .02rem}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:.01rem .5em;color:var(--ol-foreground-color);text-shadow:0 0 .02rem var(--ol-background-color);font-size:.12rem}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:.04rem 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:2rem}.ol-zoomslider button{position:relative;height:.1rem}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 .04rem 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:.01rem solid var(--ol-subtle-foreground-color);height:1.5rem;width:1.5rem}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:.015rem dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.yl-map-wapper[data-v-dd63274a]{position:relative;width:100%;height:100%;font-size:80%;font-family:Source Han Sans CN;font-weight:400}[data-v-26b6c6d8]{color:rgba(25,140,255,.24)}
@@ -5897,12 +5897,12 @@ if (typeof window !== 'undefined') {
5897
5897
  // Indicate to webpack that this file can be concatenated
5898
5898
  /* harmony default export */ var setPublicPath = (null);
5899
5899
 
5900
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=template&id=d8c9bfda&scoped=true
5900
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=template&id=dd63274a&scoped=true
5901
5901
  var render = function render() {
5902
5902
  var _vm = this,
5903
5903
  _c = _vm._self._c;
5904
5904
  return _c('div', {
5905
- staticClass: "wapper"
5905
+ staticClass: "yl-map-wapper"
5906
5906
  }, [_c('div', {
5907
5907
  ref: _vm.mapId,
5908
5908
  staticStyle: {
@@ -5912,12 +5912,7 @@ var render = function render() {
5912
5912
  attrs: {
5913
5913
  "id": _vm.mapId
5914
5914
  }
5915
- }, [_vm._t("yl-map-layers"), _c('div', {
5916
- staticClass: "ol-popup",
5917
- attrs: {
5918
- "id": "popup"
5919
- }
5920
- }, [_vm._t("yl-map-overlay")], 2)], 2)]);
5915
+ }, [_vm._t("default")], 2)]);
5921
5916
  };
5922
5917
  var staticRenderFns = [];
5923
5918
 
@@ -42610,20 +42605,9 @@ class Overlay extends ol_Object {
42610
42605
  /* harmony default export */ var YlMapvue_type_script_lang_js = ({
42611
42606
  name: "YlMap",
42612
42607
  props: {
42613
- baseMap: {
42614
- type: Object,
42615
- default: function () {
42616
- // openlayers叠加mapbox自定义底图
42617
- let accessToken = 'pk.eyJ1IjoiZ2FwNDE3IiwiYSI6ImNseTlsc2J3ZDBvZGwybHNhanhnbWRibTMifQ.QSQ15RREYt2jYX79hNeMnA';
42618
- let mapBoxStyleId = 'clybcf4b900dp01pf94zj0mbh';
42619
- let mapboxUserName = 'gap417';
42620
- return new layer_Tile({
42621
- source: new source_XYZ({
42622
- url: `https://api.mapbox.com/styles/v1/${mapboxUserName}/${mapBoxStyleId}/tiles/256/{z}/{x}/{y}?access_token=${accessToken}`
42623
- }),
42624
- name: "底图"
42625
- });
42626
- }
42608
+ mapUrl: {
42609
+ type: String,
42610
+ default: 'https://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}'
42627
42611
  },
42628
42612
  center: {
42629
42613
  type: Array,
@@ -42658,28 +42642,28 @@ class Overlay extends ol_Object {
42658
42642
  methods: {
42659
42643
  //弹窗
42660
42644
  showPopup(parms) {
42661
- // parms.element = document.getElementById('popup');
42662
- console.info(parms);
42663
- //弹窗显示方法
42664
- this.overlay = new ol_Overlay({
42665
- element: document.getElementById('popup'),
42666
- //是否自动平移,即假如标记在屏幕边缘,弹出时自动平移地图使弹出框完全可见
42667
- autoPan: parms.duration != null ? true : false,
42668
- autoPanAnimation: {
42669
- duration: parms.duration
42670
- },
42671
- offset: [5, -25],
42672
- // 偏移量
42673
- positioning: "bottom-center",
42674
- // 对齐方式
42675
- coordinate: [104.06, 30.67],
42676
- // 位置
42677
- ...parms
42678
- });
42679
- //设置overlay的显示位置
42680
- this.overlay.setPosition(parms.position);
42681
- //显示overlay
42682
- this.map.addOverlay(this.overlay);
42645
+ if (parms && parms.element) {
42646
+ //弹窗显示方法
42647
+ this.overlay = new ol_Overlay({
42648
+ element: document.getElementById('popup'),
42649
+ //是否自动平移,即假如标记在屏幕边缘,弹出时自动平移地图使弹出框完全可见
42650
+ autoPan: parms.duration != null ? true : false,
42651
+ autoPanAnimation: {
42652
+ duration: parms.duration
42653
+ },
42654
+ offset: [5, -25],
42655
+ // 偏移量
42656
+ positioning: "bottom-center",
42657
+ // 对齐方式
42658
+ coordinate: [104.06, 30.67],
42659
+ // 位置
42660
+ ...parms
42661
+ });
42662
+ //设置overlay的显示位置
42663
+ this.overlay.setPosition(parms.position);
42664
+ //显示overlay
42665
+ this.map.addOverlay(this.overlay);
42666
+ }
42683
42667
  },
42684
42668
  close() {
42685
42669
  //弹窗关闭方法(防止外部调用此方法——所以先要判断是否为空)
@@ -42706,19 +42690,48 @@ class Overlay extends ol_Object {
42706
42690
  box3 = Math.max.apply(null, box3s);
42707
42691
  box4 = Math.max.apply(null, box4s);
42708
42692
  let view = this.map.getView();
42709
- // let size = this.map.getSize();
42693
+ // let size = this.map.getSize();
42710
42694
  let mzoom = view.getZoom();
42711
42695
  let coorBox = [box1, box2, box3, box4];
42712
42696
  //fit()其它属性无效--暂定解决方案 animate
42713
42697
  view.fit(coorBox);
42714
42698
  if (state) {
42715
42699
  view.animate({
42716
- zoom: zoom == undefined ? mzoom : zoom,
42717
- duration: duration == undefined ? 1000 : duration
42700
+ zoom: zoom ? mzoom : zoom,
42701
+ duration: duration ? 1000 : duration
42718
42702
  });
42719
42703
  }
42720
42704
  }
42721
42705
  },
42706
+ fitViewSource(source) {
42707
+ let view = this.map.getView();
42708
+ var feature = source.getFeatures()[0];
42709
+ var polygon = feature.getGeometry();
42710
+ view.fit(polygon, {
42711
+ padding: [50, 50, 50, 150]
42712
+ });
42713
+ },
42714
+ fitViewfeature(feature) {
42715
+ let view = this.map.getView();
42716
+ var polygon = feature.getGeometry();
42717
+ view.fit(polygon, {
42718
+ padding: [300, 300, 300, 150]
42719
+ });
42720
+ },
42721
+ fitCenter(center, zoom, duration = 700) {
42722
+ let view = this.map.getView();
42723
+ let mzoom = view.getZoom();
42724
+ function flyTo(location) {
42725
+ view.animate({
42726
+ center: location,
42727
+ duration: duration,
42728
+ zoom: mzoom ? mzoom : zoom
42729
+ });
42730
+ }
42731
+ if (center[0] && center[1]) {
42732
+ flyTo(center);
42733
+ }
42734
+ },
42722
42735
  CustomEvent() {
42723
42736
  let _this = this;
42724
42737
  class Drag extends Pointer {
@@ -42774,9 +42787,16 @@ class Overlay extends ol_Object {
42774
42787
  //点击后执行的事件
42775
42788
  function clickEvent() {
42776
42789
  // 点击回调事件
42777
- _this.$emit("handleDownEvent", evt.coordinate, feature.values_._md_ == undefined ? feature.values_ : feature.values_._md_, feature);
42790
+ _this.$emit("handleDownFeatureEvent", {
42791
+ evtCoordinate: evt.coordinate,
42792
+ value: feature.values_._md_ == undefined ? feature.values_ : feature.values_._md_,
42793
+ feature: feature,
42794
+ evt: evt,
42795
+ featureCoordinate: feature.getGeometry().getCoordinates()
42796
+ });
42778
42797
  }
42779
42798
  });
42799
+ _this.$emit("handleDownEvent", evt);
42780
42800
  }
42781
42801
 
42782
42802
  /**
@@ -42826,12 +42846,12 @@ class Overlay extends ol_Object {
42826
42846
  }
42827
42847
  },
42828
42848
  created() {
42829
- console.info("map-created");
42849
+ // console.info("map-created");
42830
42850
  this.mapId = "map" + new Date().getTime();
42831
42851
  },
42832
42852
  mounted() {
42833
42853
  let CustomEvent = this.CustomEvent();
42834
- console.info("地图组件挂载,id:" + this.mapId);
42854
+ // console.info("地图组件挂载,id:" + this.mapId);
42835
42855
  let view = new ol_View({
42836
42856
  center: this.center,
42837
42857
  projection: "EPSG:4326",
@@ -42843,14 +42863,19 @@ class Overlay extends ol_Object {
42843
42863
  const map = new ol_Map({
42844
42864
  interactions: defaults_defaults().extend([new CustomEvent()]),
42845
42865
  target: this.$refs[this.mapId],
42846
- layers: [this.baseMap],
42866
+ layers: [new layer_Tile({
42867
+ source: new source_XYZ({
42868
+ url: this.mapUrl
42869
+ }),
42870
+ name: "底图"
42871
+ })],
42847
42872
  view: view
42848
42873
  });
42849
42874
  this.map = map;
42850
42875
  // this.$bus.$emit(this.mapId + "ready", {});
42851
42876
  },
42852
42877
  beforeDestroy() {
42853
- console.info("map-beforeDestroy");
42878
+ // console.info("map-beforeDestroy");
42854
42879
  if (this.map) {
42855
42880
  this.map.setTarget(null);
42856
42881
  this.map = null;
@@ -42859,10 +42884,10 @@ class Overlay extends ol_Object {
42859
42884
  });
42860
42885
  ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=script&lang=js
42861
42886
  /* harmony default export */ var yl_map_YlMapvue_type_script_lang_js = (YlMapvue_type_script_lang_js);
42862
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=d8c9bfda&prod&scoped=true&lang=css
42887
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=dd63274a&prod&scoped=true&lang=css
42863
42888
  // extracted by mini-css-extract-plugin
42864
42889
 
42865
- ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=d8c9bfda&prod&scoped=true&lang=css
42890
+ ;// CONCATENATED MODULE: ./packages/yl-map/YlMap.vue?vue&type=style&index=0&id=dd63274a&prod&scoped=true&lang=css
42866
42891
 
42867
42892
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
42868
42893
  /* globals __VUE_SSR_CONTEXT__ */
@@ -42977,7 +43002,7 @@ var component = normalizeComponent(
42977
43002
  staticRenderFns,
42978
43003
  false,
42979
43004
  null,
42980
- "d8c9bfda",
43005
+ "dd63274a",
42981
43006
  null
42982
43007
 
42983
43008
  )
@@ -42989,13 +43014,13 @@ YlMap.install = function (Vue) {
42989
43014
  Vue.component(YlMap.name, YlMap);
42990
43015
  };
42991
43016
  /* harmony default export */ var yl_map = (YlMap);
42992
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-line/YlLine.vue?vue&type=template&id=015841aa&scoped=true
42993
- var YlLinevue_type_template_id_015841aa_scoped_true_render = function render() {
43017
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-line/YlLine.vue?vue&type=template&id=a3ffcf04&scoped=true
43018
+ var YlLinevue_type_template_id_a3ffcf04_scoped_true_render = function render() {
42994
43019
  var _vm = this,
42995
43020
  _c = _vm._self._c;
42996
43021
  return _c('div');
42997
43022
  };
42998
- var YlLinevue_type_template_id_015841aa_scoped_true_staticRenderFns = [];
43023
+ var YlLinevue_type_template_id_a3ffcf04_scoped_true_staticRenderFns = [];
42999
43024
 
43000
43025
  ;// CONCATENATED MODULE: ./node_modules/ol/structs/RBush.js
43001
43026
  /**
@@ -53387,7 +53412,7 @@ function localConvert(list, lngName, latName, usePR) {
53387
53412
  lng: n[lngName]
53388
53413
  };
53389
53414
  });
53390
- console.info('批量坐标转换数量:' + locations.length);
53415
+ // console.info('批量坐标转换数量:'+locations.length);
53391
53416
  let results = batchGps2gd(locations);
53392
53417
  if (usePR) {
53393
53418
  for (let i = 0; i < results.length; i++) {
@@ -53401,7 +53426,7 @@ function localConvert(list, lngName, latName, usePR) {
53401
53426
  }
53402
53427
  }
53403
53428
  } else if (list instanceof Object && list != null && list != undefined) {
53404
- console.info('转换坐标1个');
53429
+ // console.info('转换坐标1个');
53405
53430
  let res = gps2gd(list[latName], list[lngName]);
53406
53431
  if (usePR) {
53407
53432
  list.P = res.lat;
@@ -53551,7 +53576,7 @@ function gpsToGd(wgLon, wgLat) {
53551
53576
  setLineStyle(info) {
53552
53577
  // 优化 方法调用 多次调用问题
53553
53578
  let style = this.lineFun(info);
53554
- if (style && style.color && style.width) {
53579
+ if (style) {
53555
53580
  let lintStyle = new style_Style({
53556
53581
  stroke: new style_Stroke({
53557
53582
  //地图连线的样式
@@ -53612,9 +53637,9 @@ function gpsToGd(wgLon, wgLat) {
53612
53637
  // todo 事件监听 优化
53613
53638
  // 任务调度
53614
53639
  // 兼容 vue3没有bus
53615
- this.$bus.$on(this.$parent.mapId + "ready", () => {
53616
- this.initData();
53617
- });
53640
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
53641
+ // this.initData();
53642
+ // });
53618
53643
  },
53619
53644
  beforeMount() {},
53620
53645
  mounted() {},
@@ -53634,11 +53659,11 @@ function gpsToGd(wgLon, wgLat) {
53634
53659
  ;
53635
53660
  var YlLine_component = normalizeComponent(
53636
53661
  yl_line_YlLinevue_type_script_lang_js,
53637
- YlLinevue_type_template_id_015841aa_scoped_true_render,
53638
- YlLinevue_type_template_id_015841aa_scoped_true_staticRenderFns,
53662
+ YlLinevue_type_template_id_a3ffcf04_scoped_true_render,
53663
+ YlLinevue_type_template_id_a3ffcf04_scoped_true_staticRenderFns,
53639
53664
  false,
53640
53665
  null,
53641
- "015841aa",
53666
+ "a3ffcf04",
53642
53667
  null
53643
53668
 
53644
53669
  )
@@ -54069,13 +54094,13 @@ YlPoint.install = function (Vue) {
54069
54094
  Vue.component(YlPoint.name, YlPoint);
54070
54095
  };
54071
54096
  /* harmony default export */ var yl_point = (YlPoint);
54072
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-fiy-line/YlFiyLine.vue?vue&type=template&id=4ee1c066&scoped=true
54073
- var YlFiyLinevue_type_template_id_4ee1c066_scoped_true_render = function render() {
54097
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-fiy-line/YlFiyLine.vue?vue&type=template&id=568a88e4&scoped=true
54098
+ var YlFiyLinevue_type_template_id_568a88e4_scoped_true_render = function render() {
54074
54099
  var _vm = this,
54075
54100
  _c = _vm._self._c;
54076
54101
  return _c('div');
54077
54102
  };
54078
- var YlFiyLinevue_type_template_id_4ee1c066_scoped_true_staticRenderFns = [];
54103
+ var YlFiyLinevue_type_template_id_568a88e4_scoped_true_staticRenderFns = [];
54079
54104
 
54080
54105
  ;// CONCATENATED MODULE: ./node_modules/ol/geom/MultiPoint.js
54081
54106
  /**
@@ -58398,18 +58423,18 @@ var turf_length_default = (/* unused pure expression or super */ null && (esm_le
58398
58423
  },
58399
58424
  beforeCreate() {},
58400
58425
  created() {
58401
- this.$bus.$on(this.$parent.mapId + "ready", () => {
58402
- if (this.map == null) {
58403
- this.map = this.$parent.map;
58404
- }
58405
- if (this.mapLayers.length > 0) {
58406
- for (let i in this.mapLayers) {
58407
- this.map.removeLayer(this.mapLayers[i]);
58408
- }
58409
- this.mapLayers = [];
58410
- }
58411
- this.addPointLayer();
58412
- });
58426
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
58427
+ // if (this.map == null) {
58428
+ // this.map = this.$parent.map;
58429
+ // }
58430
+ // if (this.mapLayers.length > 0) {
58431
+ // for (let i in this.mapLayers) {
58432
+ // this.map.removeLayer(this.mapLayers[i]);
58433
+ // }
58434
+ // this.mapLayers = [];
58435
+ // }
58436
+ // this.addPointLayer();
58437
+ // });
58413
58438
  },
58414
58439
  beforeMount() {},
58415
58440
  mounted() {},
@@ -58430,11 +58455,11 @@ var turf_length_default = (/* unused pure expression or super */ null && (esm_le
58430
58455
  ;
58431
58456
  var YlFiyLine_component = normalizeComponent(
58432
58457
  yl_fiy_line_YlFiyLinevue_type_script_lang_js,
58433
- YlFiyLinevue_type_template_id_4ee1c066_scoped_true_render,
58434
- YlFiyLinevue_type_template_id_4ee1c066_scoped_true_staticRenderFns,
58458
+ YlFiyLinevue_type_template_id_568a88e4_scoped_true_render,
58459
+ YlFiyLinevue_type_template_id_568a88e4_scoped_true_staticRenderFns,
58435
58460
  false,
58436
58461
  null,
58437
- "4ee1c066",
58462
+ "568a88e4",
58438
58463
  null
58439
58464
 
58440
58465
  )
@@ -58446,13 +58471,13 @@ YlFiyLine.install = function (Vue) {
58446
58471
  Vue.component(YlFiyLine.name, YlFiyLine);
58447
58472
  };
58448
58473
  /* harmony default export */ var yl_fiy_line = (YlFiyLine);
58449
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=template&id=365d966c&scoped=true
58450
- var YlGeoJsonvue_type_template_id_365d966c_scoped_true_render = function render() {
58474
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=template&id=26b6c6d8&scoped=true
58475
+ var YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_render = function render() {
58451
58476
  var _vm = this,
58452
58477
  _c = _vm._self._c;
58453
58478
  return _c('div');
58454
58479
  };
58455
- var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58480
+ var YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_staticRenderFns = [];
58456
58481
 
58457
58482
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=script&lang=js
58458
58483
  /**
@@ -58568,9 +58593,9 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58568
58593
  },
58569
58594
  beforeCreate() {},
58570
58595
  created() {
58571
- this.$bus.$on(this.$parent.mapId + "ready", () => {
58572
- this.initData();
58573
- });
58596
+ // this.$bus.$on(this.$parent.mapId + "ready", () => {
58597
+ // this.initData();
58598
+ // });
58574
58599
  },
58575
58600
  beforeMount() {},
58576
58601
  mounted() {},
@@ -58580,10 +58605,10 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58580
58605
  });
58581
58606
  ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=script&lang=js
58582
58607
  /* harmony default export */ var yl_geo_json_YlGeoJsonvue_type_script_lang_js = (YlGeoJsonvue_type_script_lang_js);
58583
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=365d966c&prod&scoped=true&lang=css
58608
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=26b6c6d8&prod&scoped=true&lang=css
58584
58609
  // extracted by mini-css-extract-plugin
58585
58610
 
58586
- ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=365d966c&prod&scoped=true&lang=css
58611
+ ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue?vue&type=style&index=0&id=26b6c6d8&prod&scoped=true&lang=css
58587
58612
 
58588
58613
  ;// CONCATENATED MODULE: ./packages/yl-map/yl-geo-json/YlGeoJson.vue
58589
58614
 
@@ -58596,11 +58621,11 @@ var YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns = [];
58596
58621
 
58597
58622
  var YlGeoJson_component = normalizeComponent(
58598
58623
  yl_geo_json_YlGeoJsonvue_type_script_lang_js,
58599
- YlGeoJsonvue_type_template_id_365d966c_scoped_true_render,
58600
- YlGeoJsonvue_type_template_id_365d966c_scoped_true_staticRenderFns,
58624
+ YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_render,
58625
+ YlGeoJsonvue_type_template_id_26b6c6d8_scoped_true_staticRenderFns,
58601
58626
  false,
58602
58627
  null,
58603
- "365d966c",
58628
+ "26b6c6d8",
58604
58629
  null
58605
58630
 
58606
58631
  )