@xingm/vmap-cesium-toolbar 0.0.1-alpha.8 → 0.0.1-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/hooks/toolBarConfig.d.ts +1 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +52 -52
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.umd.js +9 -9
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/libs/CesiumMapModel.d.ts +1 -0
  8. package/dist/package.json +1 -1
  9. package/package.json +2 -2
  10. package/dist/geojson/file-list.json +0 -175
  11. package/dist/geojson//344/270/207/345/267/236_/344/272/224/346/241/245/346/234/272/345/234/272.geojson +0 -1
  12. package/dist/geojson//344/270/211/344/272/232_/345/207/244/345/207/260/346/234/272/345/234/272.geojson +0 -1
  13. package/dist/geojson//344/270/211/346/230/216_/346/262/231/345/216/277/346/234/272/345/234/272.geojson +0 -1
  14. package/dist/geojson//344/270/212/346/265/267_/346/265/246/344/270/234/346/234/272/345/234/272.geojson +0 -1
  15. package/dist/geojson//344/270/212/346/265/267_/350/231/271/346/241/245/346/234/272/345/234/272.geojson +0 -1
  16. package/dist/geojson//344/270/212/351/245/266_/344/270/211/346/270/205/345/261/261/346/234/272/345/234/272.geojson +0 -1
  17. package/dist/geojson//344/270/224/346/234/253_/347/216/211/351/203/275/346/234/272/345/234/272.geojson +0 -1
  18. package/dist/geojson//344/270/234/350/220/245/346/234/272/345/234/272.geojson +0 -203
  19. package/dist/geojson//344/270/255/345/215/253_/346/262/231/345/235/241/345/244/264/346/234/272/345/234/272.geojson +0 -1
  20. package/dist/geojson//344/270/264/346/261/276_/344/271/224/346/235/216/346/234/272/345/234/272.geojson +0 -1
  21. package/dist/geojson//344/270/264/346/262/202_/346/262/255/345/237/240/345/262/255/346/234/272/345/234/272.geojson +0 -1
  22. package/dist/geojson//344/270/264/346/262/247_/345/215/232/345/260/232/346/234/272/345/234/272.geojson +0 -1
  23. package/dist/geojson//344/270/271/344/270/234_/346/265/252/345/244/264/346/234/272/345/234/272.geojson +0 -1
  24. package/dist/geojson//344/270/275/346/261/237_/344/270/211/344/271/211/346/234/272/345/234/272.geojson +0 -1
  25. package/dist/geojson//344/271/211/344/271/214/346/234/272/345/234/272.geojson +0 -1
  26. package/dist/geojson//344/271/214/345/205/260/345/257/237/345/270/203_/351/233/206/345/256/201/346/234/272/345/234/272.geojson +0 -1
  27. package/dist/geojson//344/271/214/345/205/260/346/265/251/347/211/271_/344/276/235/345/213/222/345/212/233/347/211/271/346/234/272/345/234/272.geojson +0 -1
  28. package/dist/geojson//344/271/214/346/265/267/346/234/272/345/234/272.geojson +0 -1
  29. package/dist/geojson//344/271/214/351/262/201/346/234/250/351/275/220_/345/234/260/347/252/235/345/240/241/346/234/272/345/234/272.geojson +0 -1
  30. package/dist/geojson//344/272/214/350/277/236/346/265/251/347/211/271_/350/265/233/344/271/214/347/264/240/346/234/272/345/234/272.geojson +0 -1
  31. package/dist/geojson//344/272/225/345/206/210/345/261/261/346/234/272/345/234/272.geojson +0 -1
  32. package/dist/geojson//344/274/212/345/256/201/346/234/272/345/234/272.geojson +0 -1
  33. package/dist/geojson//344/274/212/346/230/245_/346/236/227/351/203/275/346/234/272/345/234/272.geojson +0 -1
  34. package/dist/geojson//344/275/263/346/234/250/346/226/257/346/234/272/345/234/272.geojson +0 -1
  35. package/dist/geojson//344/277/235/345/261/261/346/234/272/345/234/272.geojson +0 -1
  36. package/dist/geojson//345/205/213/346/213/211/347/216/233/344/276/235/346/234/272/345/234/272.geojson +0 -1
  37. package/dist/geojson//345/205/260/345/267/236_/344/270/255/345/267/235/346/234/272/345/234/272.geojson +0 -1
  38. package/dist/geojson//345/205/264/344/271/211_/344/270/207/345/263/260/346/236/227/346/234/272/345/234/272.geojson +0 -1
  39. package/dist/geojson//345/212/240/346/240/274/350/276/276/345/245/207_/345/230/216/344/273/231/346/234/272/345/234/272.geojson +0 -1
  40. package/dist/geojson//345/214/205/345/244/264/346/234/272/345/234/272.geojson +0 -1
  41. package/dist/geojson//345/214/227/344/272/254_/351/246/226/351/203/275/346/234/272/345/234/272.geojson +0 -1
  42. package/dist/geojson//345/214/227/346/265/267_/347/246/217/346/210/220/346/234/272/345/234/272.geojson +0 -1
  43. package/dist/geojson//345/215/201/345/240/260_/346/255/246/345/275/223/345/261/261/346/234/272/345/234/272.geojson +0 -1
  44. package/dist/geojson//345/215/227/344/272/254_/347/246/204/345/217/243/346/234/272/345/234/272.geojson +0 -1
  45. package/dist/geojson//345/215/227/345/256/201_/345/220/264/345/234/251/346/234/272/345/234/272.geojson +0 -1
  46. package/dist/geojson//345/215/227/346/230/214_/346/230/214/345/214/227/346/234/272/345/234/272.geojson +0 -1
  47. package/dist/geojson//345/215/227/351/200/232_/345/205/264/344/270/234/346/234/272/345/234/272.geojson +0 -1
  48. package/dist/geojson//345/215/227/351/230/263_/345/247/234/350/220/245/346/234/272/345/234/272.geojson +0 -1
  49. package/dist/geojson//345/215/232/344/271/220_/351/230/277/346/213/211/345/261/261/345/217/243/346/234/272/345/234/272.geojson +0 -1
  50. package/dist/geojson//345/216/246/351/227/250_/351/253/230/345/264/216/346/234/272/345/234/272.geojson +0 -1
  51. package/dist/geojson//345/217/260/345/267/236_/350/267/257/346/241/245/346/234/272/345/234/272.geojson +0 -1
  52. package/dist/geojson//345/220/210/350/202/245_/346/226/260/346/241/245/346/234/272/345/234/272.geojson +0 -1
  53. package/dist/geojson//345/220/220/351/262/201/347/225/252_/344/272/244/346/262/263/346/234/272/345/234/272.geojson +0 -1
  54. package/dist/geojson//345/221/274/344/274/246/350/264/235/345/260/224_/346/265/267/346/213/211/345/260/224/346/234/272/345/234/272.geojson +0 -1
  55. package/dist/geojson//345/221/274/345/222/214/346/265/251/347/211/271_/347/231/275/345/241/224/346/234/272/345/234/272.geojson +0 -1
  56. package/dist/geojson//345/222/214/347/224/260/346/234/272/345/234/272.geojson +0 -1
  57. package/dist/geojson//345/223/210/345/260/224/346/273/250_/345/244/252/345/271/263/346/234/272/345/234/272.geojson +0 -1
  58. package/dist/geojson//345/224/220/345/261/261_/344/270/211/345/245/263/346/262/263/346/234/272/345/234/272.geojson +0 -1
  59. package/dist/geojson//345/226/200/344/273/200/346/234/272/345/234/272.geojson +0 -1
  60. package/dist/geojson//345/230/211/345/263/252/345/205/263/346/234/272/345/234/272.geojson +0 -1
  61. package/dist/geojson//345/233/272/345/216/237_/345/205/255/347/233/230/345/261/261/346/234/272/345/234/272.geojson +0 -1
  62. package/dist/geojson//345/241/224/345/237/216/346/234/272/345/234/272.geojson +0 -1
  63. package/dist/geojson//345/244/247/345/220/214_/344/272/221/345/206/210/346/234/272/345/234/272.geojson +0 -1
  64. package/dist/geojson//345/244/247/345/272/206_/350/220/250/345/260/224/345/233/276/346/234/272/345/234/272.geojson +0 -1
  65. package/dist/geojson//345/244/247/350/277/236_/345/221/250/346/260/264/345/255/220/346/234/272/345/234/272.geojson +0 -1
  66. package/dist/geojson//345/244/251/346/264/245_/346/273/250/346/265/267/346/234/272/345/234/272.geojson +0 -1
  67. package/dist/geojson//345/244/252/345/216/237_/346/255/246/345/256/277/346/234/272/345/234/272.geojson +0 -1
  68. package/dist/geojson//345/256/201/346/263/242_/346/240/216/347/244/276/346/234/272/345/234/272.geojson +0 -1
  69. package/dist/geojson//345/256/201/350/222/227_/346/263/270/346/262/275/346/271/226/346/234/272/345/234/272.geojson +0 -1
  70. package/dist/geojson//345/256/211/345/272/206/346/234/272/345/234/272.geojson +0 -1
  71. package/dist/geojson//345/256/234/345/256/276_/350/217/234/345/235/235/346/234/272/345/234/272.geojson +0 -1
  72. package/dist/geojson//345/256/234/346/230/214_/344/270/211/345/263/241/346/234/272/345/234/272.geojson +0 -1
  73. package/dist/geojson//345/256/234/346/230/245_/346/230/216/346/234/210/345/261/261/346/234/272/345/234/272.geojson +0 -1
  74. package/dist/geojson//345/257/214/350/225/264_/345/217/257/345/217/257/346/211/230/346/265/267/346/234/272/345/234/272.geojson +0 -1
  75. package/dist/geojson//345/267/264/345/275/246/346/267/226/345/260/224_/345/244/251/345/220/211/346/263/260/346/234/272/345/234/272.geojson +0 -1
  76. package/dist/geojson//345/270/203/345/260/224/346/264/245_/345/226/200/347/272/263/346/226/257/346/234/272/345/234/272.geojson +0 -1
  77. package/dist/geojson//345/270/270/345/267/236_/345/245/224/347/211/233/346/234/272/345/234/272.geojson +0 -1
  78. package/dist/geojson//345/270/270/345/276/267_/346/241/203/350/212/261/346/272/220/346/234/272/345/234/272.geojson +0 -1
  79. package/dist/geojson//345/271/277/345/205/203_/347/233/230/351/276/231/346/234/272/345/234/272.geojson +0 -1
  80. package/dist/geojson//345/271/277/345/267/236_/347/231/275/344/272/221/346/234/272/345/234/272.geojson +0 -1
  81. package/dist/geojson//345/272/206/351/230/263_/350/245/277/345/263/260/346/234/272/345/234/272.geojson +0 -1
  82. package/dist/geojson//345/272/223/350/275/246_/351/276/237/345/205/271/346/234/272/345/234/272.geojson +0 -1
  83. package/dist/geojson//345/272/267/345/256/232/346/234/272/345/234/272.geojson +0 -1
  84. package/dist/geojson//345/273/266/345/220/211_/346/234/235/351/230/263/345/267/235/346/234/272/345/234/272.geojson +0 -1
  85. package/dist/geojson//345/274/240/345/256/266/347/225/214_/350/215/267/350/212/261/346/234/272/345/234/272.geojson +0 -1
  86. package/dist/geojson//345/274/240/346/216/226_/347/224/230/345/267/236/346/234/272/345/234/272.geojson +0 -1
  87. package/dist/geojson//345/276/220/345/267/236_/350/247/202/351/237/263/346/234/272/345/234/272.geojson +0 -1
  88. package/dist/geojson//345/276/267/345/256/217_/350/212/222/345/270/202/346/234/272/345/234/272.geojson +0 -1
  89. package/dist/geojson//345/277/273/345/267/236_/344/272/224/345/217/260/345/261/261/346/234/272/345/234/272.geojson +0 -1
  90. package/dist/geojson//346/200/200/345/214/226_/350/212/267/346/261/237/346/234/272/345/234/272.geojson +0 -1
  91. package/dist/geojson//346/201/251/346/226/275_/350/256/270/345/256/266/345/235/252/346/234/272/345/234/272.geojson +0 -1
  92. package/dist/geojson//346/210/220/351/203/275_/345/217/214/346/265/201/346/234/272/345/234/272.geojson +0 -1
  93. package/dist/geojson//346/211/216/345/205/260/345/261/257_/346/210/220/345/220/211/346/200/235/346/261/227/346/234/272/345/234/272.geojson +0 -1
  94. package/dist/geojson//346/211/254/345/267/236_/346/263/260/345/267/236/346/234/272/345/234/272.geojson +0 -1
  95. package/dist/geojson//346/212/232/350/277/234_/344/270/234/346/236/201/346/234/272/345/234/272.geojson +0 -1
  96. package/dist/geojson//346/217/255/351/230/263_/346/275/256/346/261/225/346/234/272/345/234/272.geojson +0 -1
  97. package/dist/geojson//346/224/200/346/236/235/350/212/261_/344/277/235/345/256/211/350/220/245/346/234/272/345/234/272.geojson +0 -1
  98. package/dist/geojson//346/225/246/347/205/214/346/234/272/345/234/272.geojson +0 -1
  99. package/dist/geojson//346/226/260/346/272/220_/351/202/243/346/213/211/346/217/220/346/234/272/345/234/272.geojson +0 -1
  100. package/dist/geojson//346/227/245/347/205/247_/345/261/261/345/255/227/346/262/263/346/234/272/345/234/272.geojson +0 -1
  101. package/dist/geojson//346/230/206/346/230/216_/351/225/277/346/260/264/346/234/272/345/234/272.geojson +0 -1
  102. package/dist/geojson//346/231/256/346/264/261_/346/200/235/350/214/205/346/234/272/345/234/272.geojson +0 -1
  103. package/dist/geojson//346/231/257/345/276/267/351/225/207_/347/275/227/345/256/266/346/234/272/345/234/272.geojson +0 -1
  104. package/dist/geojson//346/234/235/351/230/263/346/234/272/345/234/272.geojson +0 -1
  105. package/dist/geojson//346/235/255/345/267/236_/350/220/247/345/261/261/346/234/272/345/234/272.geojson +0 -1
  106. package/dist/geojson//346/236/234/346/264/233_/347/216/233/346/262/201/346/234/272/345/234/272.geojson +0 -1
  107. package/dist/geojson//346/237/263/345/267/236_/347/231/275/350/216/262/346/234/272/345/234/272.geojson +0 -1
  108. package/dist/geojson//346/241/202/346/236/227_/344/270/244/346/261/237/346/234/272/345/234/272.geojson +0 -1
  109. package/dist/geojson//346/242/205/345/216/277_/351/225/277/345/262/227/345/262/214/346/234/272/345/234/272.geojson +0 -1
  110. package/dist/geojson//346/242/247/345/267/236/346/234/272/345/234/272.geojson +0 -1
  111. package/dist/geojson//346/246/206/346/236/227_/346/246/206/351/230/263/346/234/272/345/234/272.geojson +0 -1
  112. package/dist/geojson//346/255/246/346/261/211_/345/244/251/346/262/263/346/234/272/345/234/272.geojson +0 -1
  113. package/dist/geojson//346/260/270/345/267/236_/351/233/266/351/231/265/346/234/272/345/234/272.geojson +0 -1
  114. package/dist/geojson//346/261/211/344/270/255_/345/237/216/345/233/272/346/234/272/345/234/272.geojson +0 -1
  115. package/dist/geojson//346/261/240/345/267/236_/344/271/235/345/215/216/345/261/261/346/234/272/345/234/272.geojson +0 -1
  116. package/dist/geojson//346/262/210/351/230/263_/346/241/203/344/273/231/346/234/272/345/234/272.geojson +0 -1
  117. package/dist/geojson//346/262/263/346/261/240_/351/207/221/345/237/216/346/261/237/346/234/272/345/234/272.geojson +0 -1
  118. package/dist/geojson//346/263/211/345/267/236_/346/231/213/346/261/237/346/234/272/345/234/272.geojson +0 -1
  119. package/dist/geojson//346/264/233/351/230/263/346/234/272/345/234/272.geojson +0 -1
  120. package/dist/geojson//346/265/216/345/215/227_/351/201/245/345/242/231/346/234/272/345/234/272.geojson +0 -1
  121. package/dist/geojson//346/265/216/345/256/201_/346/233/262/351/230/234/346/234/272/345/234/272.geojson +0 -1
  122. package/dist/geojson//346/265/267/345/217/243_/347/276/216/345/205/260/346/234/272/345/234/272.geojson +0 -1
  123. package/dist/geojson//346/265/267/350/245/277_/345/276/267/344/273/244/345/223/210/346/234/272/345/234/272.geojson +0 -1
  124. package/dist/geojson//346/265/267/350/245/277_/350/212/261/345/234/237/346/262/237/346/234/272/345/234/272.geojson +0 -1
  125. package/dist/geojson//346/267/256/345/256/211_/346/266/237/346/260/264/346/234/272/345/234/272.geojson +0 -1
  126. package/dist/geojson//346/267/261/345/234/263_/345/256/235/345/256/211/346/234/272/345/234/272.geojson +0 -1
  127. package/dist/geojson//346/270/251/345/267/236_/351/276/231/346/271/276/346/234/272/345/234/272.geojson +0 -1
  128. package/dist/geojson//346/271/233/346/261/237/346/234/272/345/234/272.geojson +0 -1
  129. package/dist/geojson//346/273/241/346/264/262/351/207/214_/350/245/277/351/203/212/346/234/272/345/234/272.geojson +0 -1
  130. package/dist/geojson//346/274/240/346/262/263_/345/217/244/350/216/262/346/234/272/345/234/272.geojson +0 -1
  131. package/dist/geojson//346/275/215/345/235/212/346/234/272/345/234/272.geojson +0 -1
  132. package/dist/geojson//346/276/234/346/262/247_/346/231/257/350/277/210/346/234/272/345/234/272.geojson +0 -1
  133. package/dist/geojson//347/203/237/345/217/260_/350/223/254/350/216/261/346/234/272/345/234/272.geojson +0 -1
  134. package/dist/geojson//347/211/241/344/270/271/346/261/237_/346/265/267/346/265/252/346/234/272/345/234/272.geojson +0 -1
  135. package/dist/geojson//347/216/211/346/240/221_/345/267/264/345/241/230/346/234/272/345/234/272.geojson +0 -1
  136. package/dist/geojson//347/217/240/346/265/267_/351/207/221/346/271/276/346/234/272/345/234/272.geojson +0 -1
  137. package/dist/geojson//347/220/274/346/265/267_/345/215/232/351/263/214/346/234/272/345/234/272.geojson +0 -1
  138. package/dist/geojson//347/224/230/345/215/227_/345/244/217/346/262/263/346/234/272/345/234/272.geojson +0 -1
  139. package/dist/geojson//347/231/275/345/237/216_/351/225/277/345/256/211/346/234/272/345/234/272.geojson +0 -1
  140. package/dist/geojson//347/231/275/345/261/261_/351/225/277/347/231/275/345/261/261/346/234/272/345/234/272.geojson +0 -1
  141. package/dist/geojson//347/231/276/350/211/262_/345/267/264/351/251/254/346/234/272/345/234/272.geojson +0 -1
  142. package/dist/geojson//347/237/263/345/256/266/345/272/204_/346/255/243/345/256/232/346/234/272/345/234/272.geojson +0 -1
  143. package/dist/geojson//347/237/263/346/262/263/345/255/220_/350/212/261/345/233/255/346/234/272/345/234/272.geojson +0 -1
  144. package/dist/geojson//347/245/236/345/206/234/346/236/266_/347/272/242/345/235/252/346/234/272/345/234/272.geojson +0 -1
  145. package/dist/geojson//347/246/217/345/267/236_/351/225/277/344/271/220/346/234/272/345/234/272.geojson +0 -1
  146. package/dist/geojson//347/247/246/347/232/207/345/262/233_/345/214/227/346/210/264/346/262/263/346/234/272/345/234/272.geojson +0 -1
  147. package/dist/geojson//347/250/273/345/237/216_/344/272/232/344/270/201/346/234/272/345/234/272.geojson +0 -1
  148. package/dist/geojson//350/205/276/345/206/262_/351/251/274/345/263/260/346/234/272/345/234/272.geojson +0 -1
  149. package/dist/geojson//350/220/245/345/217/243_/345/205/260/346/227/227/346/234/272/345/234/272.geojson +0 -1
  150. package/dist/geojson//350/241/241/351/230/263_/345/215/227/345/262/263/346/234/272/345/234/272.geojson +0 -1
  151. package/dist/geojson//350/241/242/345/267/236/346/234/272/345/234/272.geojson +0 -1
  152. package/dist/geojson//350/245/204/351/230/263_/345/210/230/351/233/206/346/234/272/345/234/272.geojson +0 -1
  153. package/dist/geojson//350/245/277/345/217/214/347/211/210/347/272/263_/345/230/216/346/264/222/346/234/272/345/234/272.geojson +0 -1
  154. package/dist/geojson//350/245/277/345/256/201_/346/233/271/345/256/266/345/240/241/346/234/272/345/234/272.geojson +0 -1
  155. package/dist/geojson//350/245/277/345/256/211_/345/222/270/351/230/263/346/234/272/345/234/272.geojson +0 -1
  156. package/dist/geojson//350/245/277/346/230/214_/351/235/222/345/261/261/346/234/272/345/234/272.geojson +0 -1
  157. package/dist/geojson//350/264/265/351/230/263_/351/276/231/346/264/236/345/240/241/346/234/272/345/234/272.geojson +0 -1
  158. package/dist/geojson//350/265/243/345/267/236_/351/273/204/351/207/221/346/234/272/345/234/272.geojson +0 -1
  159. package/dist/geojson//350/265/244/345/263/260_/347/216/211/351/276/231/346/234/272/345/234/272.geojson +0 -1
  160. package/dist/geojson//350/276/276/345/267/236_/346/262/263/345/270/202/346/234/272/345/234/272.geojson +0 -1
  161. package/dist/geojson//350/277/236/344/272/221/346/270/257_/347/231/275/345/241/224/345/237/240/346/234/272/345/234/272.geojson +0 -1
  162. package/dist/geojson//351/200/232/345/214/226_/344/270/211/346/272/220/346/265/246/346/234/272/345/234/272.geojson +0 -1
  163. package/dist/geojson//351/203/221/345/267/236_/346/226/260/351/203/221/346/234/272/345/234/272.geojson +0 -1
  164. package/dist/geojson//351/204/202/345/260/224/345/244/232/346/226/257_/344/274/212/351/207/221/351/234/215/346/264/233/346/234/272/345/234/272.geojson +0 -1
  165. package/dist/geojson//351/207/215/345/272/206_/346/261/237/345/214/227/346/234/272/345/234/272.geojson +0 -1
  166. package/dist/geojson//351/207/221/346/230/214_/351/207/221/345/267/235/346/234/272/345/234/272.geojson +0 -1
  167. package/dist/geojson//351/223/234/344/273/201_/345/207/244/345/207/260/346/234/272/345/234/272.geojson +0 -1
  168. package/dist/geojson//351/223/266/345/267/235_/346/262/263/344/270/234/346/234/272/345/234/272.geojson +0 -1
  169. package/dist/geojson//351/224/241/346/236/227/346/265/251/347/211/271/346/234/272/345/234/272.geojson +0 -1
  170. package/dist/geojson//351/224/246/345/267/236_/351/224/246/345/267/236/346/271/276/346/234/272/345/234/272.geojson +0 -1
  171. package/dist/geojson//351/225/277/346/230/245_/351/276/231/345/230/211/346/234/272/345/234/272.geojson +0 -1
  172. package/dist/geojson//351/225/277/346/262/231_/351/273/204/350/212/261/346/234/272/345/234/272.geojson +0 -1
  173. package/dist/geojson//351/230/277/345/205/213/350/213/217_/346/270/251/345/256/277/346/234/272/345/234/272.geojson +0 -1
  174. package/dist/geojson//351/230/277/345/213/222/346/263/260/346/234/272/345/234/272.geojson +0 -1
  175. package/dist/geojson//351/230/277/345/260/224/345/261/261_/344/274/212/345/260/224/346/226/275/346/234/272/345/234/272.geojson +0 -206
  176. package/dist/geojson//351/235/222/345/262/233_/346/265/201/344/272/255/346/234/272/345/234/272.geojson +0 -1
  177. package/dist/geojson//351/236/215/345/261/261_/350/205/276/351/263/214/346/234/272/345/234/272.geojson +0 -1
  178. package/dist/geojson//351/270/241/350/245/277_/345/205/264/345/207/257/346/271/226/346/234/272/345/234/272.geojson +0 -1
  179. package/dist/geojson//351/273/204/345/261/261_/345/261/257/346/272/252/346/234/272/345/234/272.geojson +0 -1
  180. package/dist/geojson//351/273/216/345/271/263/346/234/272/345/234/272.geojson +0 -1
  181. package/dist/geojson//351/273/221/346/262/263_/347/221/267/347/217/262/346/234/272/345/234/272.geojson +0 -1
  182. package/dist/geojson//351/273/224/346/261/237_/346/255/246/351/231/265/345/261/261/346/234/272/345/234/272.geojson +0 -1
  183. package/dist/geojson//351/275/220/351/275/220/345/223/210/345/260/224_/344/270/211/345/256/266/345/255/220/346/234/272/345/234/272.geojson +0 -1
@@ -56,6 +56,7 @@ export declare const useToolBarConfig: (message: any) => {
56
56
  onSelect: (result: SearchResult) => void;
57
57
  };
58
58
  measurement: {
59
+ onMeasurementStart: (positions?: any) => void;
59
60
  onDistanceComplete: (positions: any, distance: any) => void;
60
61
  onAreaComplete: (positions: any, area: any) => void;
61
62
  onClear: () => void;
package/dist/index.d.ts CHANGED
@@ -43,6 +43,7 @@ export interface SearchResult {
43
43
 
44
44
  // 测量回调接口
45
45
  export interface MeasurementCallback {
46
+ onMeasurementStart?: (positions?: Cartesian3[]) => void;
46
47
  onDistanceComplete?: (positions: Cartesian3[], distance: number) => void;
47
48
  onAreaComplete?: (positions: Cartesian3[], area: number) => void;
48
49
  onClear?: () => void;
package/dist/index.js CHANGED
@@ -300,28 +300,28 @@ class v {
300
300
  for (let o = 0; o < a; o++) {
301
301
  const c = t[o], u = t[o + 1], b = n.Cartesian3.distance(c, u);
302
302
  if (b > 5) {
303
- const x = n.Cartesian3.midpoint(
303
+ const G = n.Cartesian3.midpoint(
304
304
  c,
305
305
  u,
306
306
  new n.Cartesian3()
307
307
  );
308
- let d = x;
309
- const l = n.Cartographic.fromCartesian(x);
308
+ let d = G;
309
+ const l = n.Cartographic.fromCartesian(G);
310
310
  d = n.Cartesian3.fromRadians(
311
311
  l.longitude,
312
312
  l.latitude,
313
313
  l.height || 0
314
314
  );
315
- let h = x;
315
+ let h = G;
316
316
  this.offsetHeight > 0 && (h = n.Cartesian3.fromRadians(
317
317
  l.longitude,
318
318
  l.latitude,
319
319
  (l.height || 0) + this.offsetHeight
320
320
  ));
321
- const G = o % 2 === 0 ? -25 : 25, f = this.formatDistance(b);
321
+ const x = o % 2 === 0 ? -25 : 25, f = this.formatDistance(b);
322
322
  if (o < this.currentSegmentLabels.length && this.currentSegmentLabels[o].billboard) {
323
323
  const g = this.currentSegmentLabels[o];
324
- if (g.position = new n.ConstantPositionProperty(h), g.billboard.pixelOffset = new n.ConstantProperty(new n.Cartesian2(0, G)), g._groundPosition = d, g._segmentText !== f) {
324
+ if (g.position = new n.ConstantPositionProperty(h), g.billboard.pixelOffset = new n.ConstantProperty(new n.Cartesian2(0, x)), g._groundPosition = d, g._segmentText !== f) {
325
325
  const A = this.createSegmentLengthBillboardImage(f);
326
326
  g.billboard.image = new n.ConstantProperty(A), g._segmentText = f;
327
327
  }
@@ -330,7 +330,7 @@ class v {
330
330
  position: h,
331
331
  billboard: {
332
332
  image: g,
333
- pixelOffset: new n.ConstantProperty(new n.Cartesian2(0, G)),
333
+ pixelOffset: new n.ConstantProperty(new n.Cartesian2(0, x)),
334
334
  // 3D 使用 RELATIVE_TO_GROUND,2D 关闭贴地以保证可见
335
335
  heightReference: new n.ConstantProperty(
336
336
  this.offsetHeight > 0 ? n.HeightReference.RELATIVE_TO_GROUND : n.HeightReference.NONE
@@ -344,10 +344,10 @@ class v {
344
344
  w._segmentText = f, w._groundPosition = d, this.currentSegmentLabels.push(w), this.tempLabelEntities.push(w);
345
345
  }
346
346
  } else if (o < this.currentSegmentLabels.length) {
347
- const x = this.currentSegmentLabels[o];
348
- if (x) {
349
- this.entities.remove(x);
350
- const d = this.tempLabelEntities.indexOf(x);
347
+ const G = this.currentSegmentLabels[o];
348
+ if (G) {
349
+ this.entities.remove(G);
350
+ const d = this.tempLabelEntities.indexOf(G);
351
351
  d > -1 && this.tempLabelEntities.splice(d, 1);
352
352
  }
353
353
  this.currentSegmentLabels.splice(o, 1), o--;
@@ -355,28 +355,28 @@ class v {
355
355
  }
356
356
  if (this.tempPositions.length > 1) {
357
357
  let o = 0;
358
- for (let G = 1; G < this.tempPositions.length; G++)
358
+ for (let x = 1; x < this.tempPositions.length; x++)
359
359
  o += n.Cartesian3.distance(
360
- this.tempPositions[G - 1],
361
- this.tempPositions[G]
360
+ this.tempPositions[x - 1],
361
+ this.tempPositions[x]
362
362
  );
363
363
  const c = this.tempPositions[this.tempPositions.length - 1], u = n.Cartographic.fromCartesian(c), b = n.Cartesian3.fromRadians(
364
364
  u.longitude,
365
365
  u.latitude,
366
366
  u.height || 0
367
367
  );
368
- let x = b;
369
- this.offsetHeight > 0 && (x = n.Cartesian3.fromRadians(
368
+ let G = b;
369
+ this.offsetHeight > 0 && (G = n.Cartesian3.fromRadians(
370
370
  u.longitude,
371
371
  u.latitude,
372
372
  (u.height || 0) + this.offsetHeight
373
373
  ));
374
374
  const l = `总长: ${this.formatDistance(o)}`, h = this.createTotalLengthBillboardImage(l);
375
375
  if (this.currentTotalLabel && this.currentTotalLabel.billboard)
376
- this.currentTotalLabel.position = new n.ConstantPositionProperty(x), this.currentTotalLabel.billboard.image = new n.ConstantProperty(h), this.currentTotalLabel._groundPosition = b;
376
+ this.currentTotalLabel.position = new n.ConstantPositionProperty(G), this.currentTotalLabel.billboard.image = new n.ConstantProperty(h), this.currentTotalLabel._groundPosition = b;
377
377
  else {
378
- const G = this.entities.add({
379
- position: x,
378
+ const x = this.entities.add({
379
+ position: G,
380
380
  billboard: {
381
381
  image: h,
382
382
  pixelOffset: new n.ConstantProperty(new n.Cartesian2(0, -35)),
@@ -389,7 +389,7 @@ class v {
389
389
  disableDepthTestDistance: new n.ConstantProperty(Number.POSITIVE_INFINITY)
390
390
  }
391
391
  });
392
- this.currentTotalLabel = G, this.currentTotalLabel._groundPosition = b, this.tempLabelEntities.push(G);
392
+ this.currentTotalLabel = x, this.currentTotalLabel._groundPosition = b, this.tempLabelEntities.push(x);
393
393
  }
394
394
  } else if (this.currentTotalLabel) {
395
395
  this.entities.remove(this.currentTotalLabel);
@@ -405,14 +405,14 @@ class v {
405
405
  return;
406
406
  const a = this.tempPositions.filter((o) => this.isValidCartesian3(o)), r = e && this.isValidCartesian3(e) && a.length >= 2 ? [...a, e] : a;
407
407
  if (r.length >= 3) {
408
- const o = this.offsetHeight > 0 ? r.map((u) => {
409
- const b = n.Cartographic.fromCartesian(u);
408
+ const o = r.map((u) => {
409
+ const b = n.Cartographic.fromCartesian(u), G = b.height || 0, d = this.offsetHeight > 0 ? this.offsetHeight : 0.1;
410
410
  return n.Cartesian3.fromRadians(
411
411
  b.longitude,
412
412
  b.latitude,
413
- (b.height || 0) + this.offsetHeight
413
+ G + d
414
414
  );
415
- }) : r, c = this.offsetHeight > 0 ? n.HeightReference.NONE : n.HeightReference.CLAMP_TO_GROUND;
415
+ }), c = n.HeightReference.NONE;
416
416
  this.currentPolygonEntity ? (this.currentPolygonEntity.polygon.hierarchy = new n.ConstantProperty(
417
417
  new n.PolygonHierarchy(o)
418
418
  ), this.currentPolygonEntity.polygon.heightReference = new n.ConstantProperty(c)) : (i = this.entities.add({
@@ -548,7 +548,7 @@ class v {
548
548
  r.latitude,
549
549
  (r.height || 0) + this.offsetHeight
550
550
  ));
551
- const u = `面积: ${this.formatArea(s)}`, b = this.createTotalLengthBillboardImage(u), x = this.entities.add({
551
+ const u = `面积: ${this.formatArea(s)}`, b = this.createTotalLengthBillboardImage(u), G = this.entities.add({
552
552
  position: c,
553
553
  billboard: {
554
554
  image: b,
@@ -562,7 +562,7 @@ class v {
562
562
  disableDepthTestDistance: new n.ConstantProperty(Number.POSITIVE_INFINITY)
563
563
  }
564
564
  });
565
- x._groundPosition = o, this.finishedLabelEntities.push(x);
565
+ G._groundPosition = o, this.finishedLabelEntities.push(G);
566
566
  }
567
567
  } else if (this.drawMode === "rectangle" && i.length >= 2) {
568
568
  const s = this.calculateRectangle(i[0], i[1]);
@@ -595,7 +595,7 @@ class v {
595
595
  r.latitude,
596
596
  this.offsetHeight
597
597
  ));
598
- const u = `面积: ${this.formatArea(a)}`, b = this.createTotalLengthBillboardImage(u), x = this.entities.add({
598
+ const u = `面积: ${this.formatArea(a)}`, b = this.createTotalLengthBillboardImage(u), G = this.entities.add({
599
599
  position: c,
600
600
  billboard: {
601
601
  image: b,
@@ -609,7 +609,7 @@ class v {
609
609
  disableDepthTestDistance: new n.ConstantProperty(Number.POSITIVE_INFINITY)
610
610
  }
611
611
  });
612
- x._groundPosition = o, this.finishedLabelEntities.push(x);
612
+ G._groundPosition = o, this.finishedLabelEntities.push(G);
613
613
  }
614
614
  }
615
615
  e && this.finishedEntities.push(e), this.tempLabelEntities.forEach((s) => {
@@ -1399,7 +1399,7 @@ class k {
1399
1399
  */
1400
1400
  setupDrawHelperCallbacks() {
1401
1401
  this.drawHelper.onDrawStart(() => {
1402
- console.log("开始绘制");
1402
+ console.log("开始绘制"), this.measurementCallback?.onMeasurementStart && this.measurementCallback?.onMeasurementStart();
1403
1403
  }), this.drawHelper.onDrawEnd((e) => {
1404
1404
  if (e) {
1405
1405
  if (console.log("绘制完成", e), e.polyline) {
@@ -1720,7 +1720,7 @@ class k {
1720
1720
  });
1721
1721
  if (!h.ok)
1722
1722
  throw new Error(`HTTP error! status: ${h.status}`);
1723
- const G = await h.json(), g = (G?.data?.pois || G?.pois || []).map((w) => ({
1723
+ const x = await h.json(), g = (x?.data?.pois || x?.pois || []).map((w) => ({
1724
1724
  name: w?.name || d,
1725
1725
  address: w?.address || "",
1726
1726
  longitude: Number(w?.lonlat?.split(",")[0] || 0),
@@ -1741,8 +1741,8 @@ class k {
1741
1741
  return;
1742
1742
  }
1743
1743
  o = setTimeout(() => {
1744
- const G = i.matches(":hover"), f = e.matches(":hover"), g = this.toolbarElement.matches(":hover"), w = document.activeElement === s;
1745
- !G && !f && !g && !w && (i.remove(), i.removeEventListener("mouseleave", c), i.removeEventListener("mouseenter", u), s.removeEventListener("blur", b));
1744
+ const x = i.matches(":hover"), f = e.matches(":hover"), g = this.toolbarElement.matches(":hover"), w = document.activeElement === s;
1745
+ !x && !f && !g && !w && (i.remove(), i.removeEventListener("mouseleave", c), i.removeEventListener("mouseenter", u), s.removeEventListener("blur", b));
1746
1746
  }, 150);
1747
1747
  }, u = () => {
1748
1748
  clearTimeout(o);
@@ -1751,10 +1751,10 @@ class k {
1751
1751
  const d = i.matches(":hover"), l = e.matches(":hover"), h = this.toolbarElement.matches(":hover");
1752
1752
  document.activeElement !== s && !d && !l && !h && (i.remove(), i.removeEventListener("mouseleave", c), i.removeEventListener("mouseenter", u), s.removeEventListener("blur", b));
1753
1753
  }, 200);
1754
- }, x = (d) => {
1755
- d.key === "Escape" && (i.remove(), i.removeEventListener("mouseleave", c), i.removeEventListener("mouseenter", u), s.removeEventListener("blur", b), document.removeEventListener("keydown", x));
1754
+ }, G = (d) => {
1755
+ d.key === "Escape" && (i.remove(), i.removeEventListener("mouseleave", c), i.removeEventListener("mouseenter", u), s.removeEventListener("blur", b), document.removeEventListener("keydown", G));
1756
1756
  };
1757
- i.addEventListener("mouseleave", c), i.addEventListener("mouseenter", u), s.addEventListener("blur", b), document.addEventListener("keydown", x), setTimeout(() => {
1757
+ i.addEventListener("mouseleave", c), i.addEventListener("mouseenter", u), s.addEventListener("blur", b), document.addEventListener("keydown", G), setTimeout(() => {
1758
1758
  s.focus();
1759
1759
  }, 100);
1760
1760
  }
@@ -1881,25 +1881,25 @@ class k {
1881
1881
  let c = null;
1882
1882
  const u = i.getPickRay(o);
1883
1883
  if (u) {
1884
- const G = t.globe.pick(u, t);
1885
- n.defined(G) && (c = n.Cartographic.fromCartesian(G));
1884
+ const x = t.globe.pick(u, t);
1885
+ n.defined(x) && (c = n.Cartographic.fromCartesian(x));
1886
1886
  }
1887
- const b = i.positionCartographic.height, x = i.heading, d = i.pitch, l = i.roll;
1887
+ const b = i.positionCartographic.height, G = i.heading, d = i.pitch, l = i.roll;
1888
1888
  t.mode = a;
1889
1889
  const h = this.drawHelper;
1890
1890
  if (h && typeof h.handleSceneModeChanged == "function" && h.handleSceneModeChanged(), c) {
1891
- const G = c.longitude, f = c.latitude;
1891
+ const x = c.longitude, f = c.latitude;
1892
1892
  a === n.SceneMode.SCENE2D ? i.setView({
1893
- destination: n.Cartesian3.fromRadians(G, f, b),
1893
+ destination: n.Cartesian3.fromRadians(x, f, b),
1894
1894
  orientation: {
1895
1895
  heading: 0,
1896
1896
  pitch: -Math.PI / 2,
1897
1897
  roll: 0
1898
1898
  }
1899
1899
  }) : i.setView({
1900
- destination: n.Cartesian3.fromRadians(G, f, b),
1900
+ destination: n.Cartesian3.fromRadians(x, f, b),
1901
1901
  orientation: {
1902
- heading: x,
1902
+ heading: G,
1903
1903
  pitch: d,
1904
1904
  roll: l
1905
1905
  }
@@ -1969,8 +1969,8 @@ class k {
1969
1969
  height: auto;
1970
1970
  display: block;
1971
1971
  `;
1972
- const G = document.createElement("div");
1973
- if (G.textContent = d.name, G.style.cssText = `
1972
+ const x = document.createElement("div");
1973
+ if (x.textContent = d.name, x.style.cssText = `
1974
1974
  font-size: 12px;
1975
1975
  color: #fff;
1976
1976
  padding: 4px 0;
@@ -1995,7 +1995,7 @@ class k {
1995
1995
  z-index: 10;
1996
1996
  `, l.appendChild(f);
1997
1997
  }
1998
- l.appendChild(h), l.appendChild(G), l.addEventListener("mouseenter", () => {
1998
+ l.appendChild(h), l.appendChild(x), l.addEventListener("mouseenter", () => {
1999
1999
  l.style.transform = "scale(1.05)", l.style.boxShadow = "0 4px 12px rgba(0, 0, 0, 0.4)", l.style.borderColor = "#023C61", l.style.backgroundColor = "#023C61";
2000
2000
  }), l.addEventListener("mouseleave", () => {
2001
2001
  l.style.transform = "scale(1)", d.id !== this.currentMapType && (l.style.boxShadow = "none", l.style.borderColor = "transparent", l.style.backgroundColor = "transparent");
@@ -2032,17 +2032,17 @@ class k {
2032
2032
  cursor: pointer;
2033
2033
  transition: background-color 0.2s;
2034
2034
  `;
2035
- const h = document.createElement("div"), G = this.isNoFlyZoneChecked;
2035
+ const h = document.createElement("div"), x = this.isNoFlyZoneChecked;
2036
2036
  h.style.cssText = `
2037
2037
  width: 18px;
2038
2038
  height: 18px;
2039
2039
  border: 2px solid rgba(255, 255, 255, 0.5);
2040
2040
  border-radius: 3px;
2041
- background: ${G ? "#023C61" : "transparent"};
2041
+ background: ${x ? "#023C61" : "transparent"};
2042
2042
  display: flex;
2043
2043
  align-items: center;
2044
2044
  justify-content: center;
2045
- `, G && (h.innerHTML = "✓", h.style.color = "#ffffff", h.style.fontWeight = "bold", h.style.fontSize = "12px");
2045
+ `, x && (h.innerHTML = "✓", h.style.color = "#ffffff", h.style.fontWeight = "bold", h.style.fontSize = "12px");
2046
2046
  const f = document.createElement("span");
2047
2047
  f.textContent = d.icon, f.style.cssText = `
2048
2048
  font-size: 12px;
@@ -2066,10 +2066,10 @@ class k {
2066
2066
  console.error("加载禁飞区失败:", d);
2067
2067
  });
2068
2068
  }, 100);
2069
- const x = () => {
2069
+ const G = () => {
2070
2070
  s.remove();
2071
2071
  };
2072
- s.addEventListener("mouseleave", x);
2072
+ s.addEventListener("mouseleave", G);
2073
2073
  }
2074
2074
  /**
2075
2075
  * 切换地图类型
@@ -2232,7 +2232,7 @@ class k {
2232
2232
  const b = s.map((d) => {
2233
2233
  const l = n.Cartographic.fromCartesian(d);
2234
2234
  return n.Cartesian3.fromRadians(l.longitude, l.latitude, u);
2235
- }), x = this.viewer.entities.add({
2235
+ }), G = this.viewer.entities.add({
2236
2236
  name: `${t.name}_top_outline`,
2237
2237
  polyline: {
2238
2238
  positions: b,
@@ -2241,7 +2241,7 @@ class k {
2241
2241
  clampToGround: !1
2242
2242
  }
2243
2243
  });
2244
- x.disableDepthTestDistance = Number.POSITIVE_INFINITY, this.noFlyZoneEntities.push(x);
2244
+ G.disableDepthTestDistance = Number.POSITIVE_INFINITY, this.noFlyZoneEntities.push(G);
2245
2245
  }
2246
2246
  } catch {
2247
2247
  }