@xingm/vmap-cesium-toolbar 0.0.7-alpha.1 → 0.0.7-alpha.2

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 (255) hide show
  1. package/README.md +276 -0
  2. package/dist/hooks/toolBarConfig.d.ts +78 -0
  3. package/dist/hooks/useDrawHelper.d.ts +24 -0
  4. package/dist/hooks/useDynamicRing.d.ts +44 -0
  5. package/dist/hooks/useHeatmapHelper.d.ts +18 -0
  6. package/dist/hooks/useMap.d.ts +14 -0
  7. package/dist/hooks/useMapInit.d.ts +14 -0
  8. package/dist/hooks/useOverlayHelper.d.ts +48 -0
  9. package/dist/hooks/usePointClusterHelper.d.ts +14 -0
  10. package/dist/i18n/en-US.d.ts +148 -0
  11. package/dist/i18n/index.d.ts +3 -0
  12. package/dist/i18n/zh-CN.d.ts +148 -0
  13. package/{index.d.ts → dist/index.d.ts} +1 -0
  14. package/{index.es.js → dist/index.es.js} +513 -473
  15. package/dist/index.es.js.map +1 -0
  16. package/dist/index.umd.js +342 -0
  17. package/dist/index.umd.js.map +1 -0
  18. package/dist/libs/CesiumAutoRecover.d.ts +48 -0
  19. package/dist/libs/CesiumHeatmapLayer.d.ts +143 -0
  20. package/dist/libs/CesiumMapDraw.d.ts +251 -0
  21. package/dist/libs/CesiumMapLoader.d.ts +74 -0
  22. package/dist/libs/CesiumMapMark.d.ts +202 -0
  23. package/dist/libs/CesiumMapModel.d.ts +180 -0
  24. package/dist/libs/CesiumMapToolbar.d.ts +231 -0
  25. package/dist/libs/CesiumOverlayService.d.ts +227 -0
  26. package/dist/libs/CesiumPointClusterLayer.d.ts +93 -0
  27. package/dist/libs/PickGovernor.d.ts +23 -0
  28. package/dist/libs/config/CesiumMapConfig.d.ts +13 -0
  29. package/dist/libs/drawHelper/BaseDraw.d.ts +194 -0
  30. package/dist/libs/drawHelper/DrawCircle.d.ts +31 -0
  31. package/dist/libs/drawHelper/DrawHint.d.ts +32 -0
  32. package/dist/libs/drawHelper/DrawLine.d.ts +49 -0
  33. package/dist/libs/drawHelper/DrawPolgon.d.ts +35 -0
  34. package/dist/libs/drawHelper/DrawRectangle.d.ts +24 -0
  35. package/dist/libs/drawHelper/index.d.ts +6 -0
  36. package/dist/libs/i18n/en-US.d.ts +69 -0
  37. package/dist/libs/i18n/index.d.ts +25 -0
  38. package/dist/libs/i18n/zh-CN.d.ts +69 -0
  39. package/dist/libs/overlay/MapCircle.d.ts +130 -0
  40. package/dist/libs/overlay/MapIcon.d.ts +69 -0
  41. package/dist/libs/overlay/MapInfoWindow.d.ts +100 -0
  42. package/dist/libs/overlay/MapLabel.d.ts +73 -0
  43. package/dist/libs/overlay/MapMarker.d.ts +60 -0
  44. package/dist/libs/overlay/MapPolygon.d.ts +114 -0
  45. package/dist/libs/overlay/MapPolyline.d.ts +64 -0
  46. package/dist/libs/overlay/MapRectangle.d.ts +101 -0
  47. package/dist/libs/overlay/MapRing.d.ts +107 -0
  48. package/dist/libs/overlay/MapSVG.d.ts +73 -0
  49. package/dist/libs/overlay/OverlayEditController.d.ts +167 -0
  50. package/dist/libs/overlay/OverlayEditHandles.d.ts +101 -0
  51. package/dist/libs/overlay/OverlayHighlight.d.ts +40 -0
  52. package/dist/libs/overlay/index.d.ts +23 -0
  53. package/dist/libs/overlay/primitives/CirclePrimitiveBatch.d.ts +42 -0
  54. package/dist/libs/overlay/primitives/CirclePrimitiveLayerStack.d.ts +24 -0
  55. package/dist/libs/overlay/primitives/PolygonPrimitiveBatch.d.ts +43 -0
  56. package/dist/libs/overlay/primitives/PolygonPrimitiveLayerStack.d.ts +24 -0
  57. package/dist/libs/overlay/primitives/RectanglePrimitiveBatch.d.ts +41 -0
  58. package/dist/libs/overlay/primitives/RectanglePrimitiveLayerStack.d.ts +24 -0
  59. package/dist/libs/overlay/types.d.ts +121 -0
  60. package/dist/libs/toolBar/CesiumMapController.d.ts +87 -0
  61. package/dist/libs/toolBar/MapLayersService.d.ts +98 -0
  62. package/dist/libs/toolBar/MapSearchService.d.ts +51 -0
  63. package/dist/libs/toolBar/MapToolBarConfig.d.ts +10 -0
  64. package/dist/libs/toolBar/MeasurementService.d.ts +16 -0
  65. package/dist/libs/toolBar/NotFlyZonesService.d.ts +51 -0
  66. package/dist/package.json +46 -0
  67. package/dist/tdt/tdtAuth.d.ts +1 -0
  68. package/dist/tdt/tdtController.d.ts +16 -0
  69. package/dist/tdt/tdtPlugin.d.ts +14 -0
  70. package/dist/tdt/tdtProviders.d.ts +4 -0
  71. package/dist/tdt3dplug.es-pUYPBBmH.js +5264 -0
  72. package/dist/tdt3dplug.es-pUYPBBmH.js.map +1 -0
  73. package/dist/utils/calc.d.ts +50 -0
  74. package/dist/utils/common.d.ts +15 -0
  75. package/dist/utils/geojson.d.ts +86 -0
  76. package/dist/utils/overlayUtils.d.ts +149 -0
  77. package/dist/utils/selfIntersection.d.ts +15 -0
  78. package/dist/z.const.d.ts +24 -0
  79. package/package.json +74 -46
  80. package/index.umd.js +0 -337
  81. /package/{geojson → dist/geojson}/file-list.json +0 -0
  82. /package/{geojson → dist/geojson}//344/270/207/345/267/236_/344/272/224/346/241/245/346/234/272/345/234/272.geojson" +0 -0
  83. /package/{geojson → dist/geojson}//344/270/211/344/272/232_/345/207/244/345/207/260/346/234/272/345/234/272.geojson" +0 -0
  84. /package/{geojson → dist/geojson}//344/270/211/346/230/216_/346/262/231/345/216/277/346/234/272/345/234/272.geojson" +0 -0
  85. /package/{geojson → dist/geojson}//344/270/212/346/265/267_/346/265/246/344/270/234/346/234/272/345/234/272.geojson" +0 -0
  86. /package/{geojson → dist/geojson}//344/270/212/346/265/267_/350/231/271/346/241/245/346/234/272/345/234/272.geojson" +0 -0
  87. /package/{geojson → 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 -0
  88. /package/{geojson → dist/geojson}//344/270/224/346/234/253_/347/216/211/351/203/275/346/234/272/345/234/272.geojson" +0 -0
  89. /package/{geojson → dist/geojson}//344/270/234/350/220/245/346/234/272/345/234/272.geojson" +0 -0
  90. /package/{geojson → 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 -0
  91. /package/{geojson → dist/geojson}//344/270/264/346/261/276_/344/271/224/346/235/216/346/234/272/345/234/272.geojson" +0 -0
  92. /package/{geojson → 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 -0
  93. /package/{geojson → dist/geojson}//344/270/264/346/262/247_/345/215/232/345/260/232/346/234/272/345/234/272.geojson" +0 -0
  94. /package/{geojson → dist/geojson}//344/270/271/344/270/234_/346/265/252/345/244/264/346/234/272/345/234/272.geojson" +0 -0
  95. /package/{geojson → dist/geojson}//344/270/275/346/261/237_/344/270/211/344/271/211/346/234/272/345/234/272.geojson" +0 -0
  96. /package/{geojson → dist/geojson}//344/271/211/344/271/214/346/234/272/345/234/272.geojson" +0 -0
  97. /package/{geojson → 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 -0
  98. /package/{geojson → 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 -0
  99. /package/{geojson → dist/geojson}//344/271/214/346/265/267/346/234/272/345/234/272.geojson" +0 -0
  100. /package/{geojson → 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 -0
  101. /package/{geojson → 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 -0
  102. /package/{geojson → dist/geojson}//344/272/225/345/206/210/345/261/261/346/234/272/345/234/272.geojson" +0 -0
  103. /package/{geojson → dist/geojson}//344/274/212/345/256/201/346/234/272/345/234/272.geojson" +0 -0
  104. /package/{geojson → dist/geojson}//344/274/212/346/230/245_/346/236/227/351/203/275/346/234/272/345/234/272.geojson" +0 -0
  105. /package/{geojson → dist/geojson}//344/275/263/346/234/250/346/226/257/346/234/272/345/234/272.geojson" +0 -0
  106. /package/{geojson → dist/geojson}//344/277/235/345/261/261/346/234/272/345/234/272.geojson" +0 -0
  107. /package/{geojson → dist/geojson}//345/205/213/346/213/211/347/216/233/344/276/235/346/234/272/345/234/272.geojson" +0 -0
  108. /package/{geojson → dist/geojson}//345/205/260/345/267/236_/344/270/255/345/267/235/346/234/272/345/234/272.geojson" +0 -0
  109. /package/{geojson → 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 -0
  110. /package/{geojson → 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 -0
  111. /package/{geojson → dist/geojson}//345/214/205/345/244/264/346/234/272/345/234/272.geojson" +0 -0
  112. /package/{geojson → dist/geojson}//345/214/227/344/272/254_/351/246/226/351/203/275/346/234/272/345/234/272.geojson" +0 -0
  113. /package/{geojson → dist/geojson}//345/214/227/346/265/267_/347/246/217/346/210/220/346/234/272/345/234/272.geojson" +0 -0
  114. /package/{geojson → 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 -0
  115. /package/{geojson → dist/geojson}//345/215/227/344/272/254_/347/246/204/345/217/243/346/234/272/345/234/272.geojson" +0 -0
  116. /package/{geojson → dist/geojson}//345/215/227/345/256/201_/345/220/264/345/234/251/346/234/272/345/234/272.geojson" +0 -0
  117. /package/{geojson → dist/geojson}//345/215/227/346/230/214_/346/230/214/345/214/227/346/234/272/345/234/272.geojson" +0 -0
  118. /package/{geojson → dist/geojson}//345/215/227/351/200/232_/345/205/264/344/270/234/346/234/272/345/234/272.geojson" +0 -0
  119. /package/{geojson → dist/geojson}//345/215/227/351/230/263_/345/247/234/350/220/245/346/234/272/345/234/272.geojson" +0 -0
  120. /package/{geojson → 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 -0
  121. /package/{geojson → dist/geojson}//345/216/246/351/227/250_/351/253/230/345/264/216/346/234/272/345/234/272.geojson" +0 -0
  122. /package/{geojson → dist/geojson}//345/217/260/345/267/236_/350/267/257/346/241/245/346/234/272/345/234/272.geojson" +0 -0
  123. /package/{geojson → dist/geojson}//345/220/210/350/202/245_/346/226/260/346/241/245/346/234/272/345/234/272.geojson" +0 -0
  124. /package/{geojson → 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 -0
  125. /package/{geojson → 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 -0
  126. /package/{geojson → 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 -0
  127. /package/{geojson → dist/geojson}//345/222/214/347/224/260/346/234/272/345/234/272.geojson" +0 -0
  128. /package/{geojson → 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 -0
  129. /package/{geojson → 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 -0
  130. /package/{geojson → dist/geojson}//345/226/200/344/273/200/346/234/272/345/234/272.geojson" +0 -0
  131. /package/{geojson → dist/geojson}//345/230/211/345/263/252/345/205/263/346/234/272/345/234/272.geojson" +0 -0
  132. /package/{geojson → 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 -0
  133. /package/{geojson → dist/geojson}//345/241/224/345/237/216/346/234/272/345/234/272.geojson" +0 -0
  134. /package/{geojson → dist/geojson}//345/244/247/345/220/214_/344/272/221/345/206/210/346/234/272/345/234/272.geojson" +0 -0
  135. /package/{geojson → 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 -0
  136. /package/{geojson → 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 -0
  137. /package/{geojson → dist/geojson}//345/244/251/346/264/245_/346/273/250/346/265/267/346/234/272/345/234/272.geojson" +0 -0
  138. /package/{geojson → dist/geojson}//345/244/252/345/216/237_/346/255/246/345/256/277/346/234/272/345/234/272.geojson" +0 -0
  139. /package/{geojson → dist/geojson}//345/256/201/346/263/242_/346/240/216/347/244/276/346/234/272/345/234/272.geojson" +0 -0
  140. /package/{geojson → 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 -0
  141. /package/{geojson → dist/geojson}//345/256/211/345/272/206/346/234/272/345/234/272.geojson" +0 -0
  142. /package/{geojson → dist/geojson}//345/256/234/345/256/276_/350/217/234/345/235/235/346/234/272/345/234/272.geojson" +0 -0
  143. /package/{geojson → dist/geojson}//345/256/234/346/230/214_/344/270/211/345/263/241/346/234/272/345/234/272.geojson" +0 -0
  144. /package/{geojson → 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 -0
  145. /package/{geojson → 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 -0
  146. /package/{geojson → 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 -0
  147. /package/{geojson → 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 -0
  148. /package/{geojson → dist/geojson}//345/270/270/345/267/236_/345/245/224/347/211/233/346/234/272/345/234/272.geojson" +0 -0
  149. /package/{geojson → 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 -0
  150. /package/{geojson → dist/geojson}//345/271/277/345/205/203_/347/233/230/351/276/231/346/234/272/345/234/272.geojson" +0 -0
  151. /package/{geojson → dist/geojson}//345/271/277/345/267/236_/347/231/275/344/272/221/346/234/272/345/234/272.geojson" +0 -0
  152. /package/{geojson → dist/geojson}//345/272/206/351/230/263_/350/245/277/345/263/260/346/234/272/345/234/272.geojson" +0 -0
  153. /package/{geojson → dist/geojson}//345/272/223/350/275/246_/351/276/237/345/205/271/346/234/272/345/234/272.geojson" +0 -0
  154. /package/{geojson → dist/geojson}//345/272/267/345/256/232/346/234/272/345/234/272.geojson" +0 -0
  155. /package/{geojson → 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 -0
  156. /package/{geojson → 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 -0
  157. /package/{geojson → dist/geojson}//345/274/240/346/216/226_/347/224/230/345/267/236/346/234/272/345/234/272.geojson" +0 -0
  158. /package/{geojson → dist/geojson}//345/276/220/345/267/236_/350/247/202/351/237/263/346/234/272/345/234/272.geojson" +0 -0
  159. /package/{geojson → dist/geojson}//345/276/267/345/256/217_/350/212/222/345/270/202/346/234/272/345/234/272.geojson" +0 -0
  160. /package/{geojson → 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 -0
  161. /package/{geojson → dist/geojson}//346/200/200/345/214/226_/350/212/267/346/261/237/346/234/272/345/234/272.geojson" +0 -0
  162. /package/{geojson → 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 -0
  163. /package/{geojson → dist/geojson}//346/210/220/351/203/275_/345/217/214/346/265/201/346/234/272/345/234/272.geojson" +0 -0
  164. /package/{geojson → 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 -0
  165. /package/{geojson → dist/geojson}//346/211/254/345/267/236_/346/263/260/345/267/236/346/234/272/345/234/272.geojson" +0 -0
  166. /package/{geojson → dist/geojson}//346/212/232/350/277/234_/344/270/234/346/236/201/346/234/272/345/234/272.geojson" +0 -0
  167. /package/{geojson → dist/geojson}//346/217/255/351/230/263_/346/275/256/346/261/225/346/234/272/345/234/272.geojson" +0 -0
  168. /package/{geojson → 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 -0
  169. /package/{geojson → dist/geojson}//346/225/246/347/205/214/346/234/272/345/234/272.geojson" +0 -0
  170. /package/{geojson → 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 -0
  171. /package/{geojson → 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 -0
  172. /package/{geojson → dist/geojson}//346/230/206/346/230/216_/351/225/277/346/260/264/346/234/272/345/234/272.geojson" +0 -0
  173. /package/{geojson → dist/geojson}//346/231/256/346/264/261_/346/200/235/350/214/205/346/234/272/345/234/272.geojson" +0 -0
  174. /package/{geojson → 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 -0
  175. /package/{geojson → dist/geojson}//346/234/235/351/230/263/346/234/272/345/234/272.geojson" +0 -0
  176. /package/{geojson → dist/geojson}//346/235/255/345/267/236_/350/220/247/345/261/261/346/234/272/345/234/272.geojson" +0 -0
  177. /package/{geojson → dist/geojson}//346/236/234/346/264/233_/347/216/233/346/262/201/346/234/272/345/234/272.geojson" +0 -0
  178. /package/{geojson → dist/geojson}//346/237/263/345/267/236_/347/231/275/350/216/262/346/234/272/345/234/272.geojson" +0 -0
  179. /package/{geojson → dist/geojson}//346/241/202/346/236/227_/344/270/244/346/261/237/346/234/272/345/234/272.geojson" +0 -0
  180. /package/{geojson → 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 -0
  181. /package/{geojson → dist/geojson}//346/242/247/345/267/236/346/234/272/345/234/272.geojson" +0 -0
  182. /package/{geojson → dist/geojson}//346/246/206/346/236/227_/346/246/206/351/230/263/346/234/272/345/234/272.geojson" +0 -0
  183. /package/{geojson → dist/geojson}//346/255/246/346/261/211_/345/244/251/346/262/263/346/234/272/345/234/272.geojson" +0 -0
  184. /package/{geojson → dist/geojson}//346/260/270/345/267/236_/351/233/266/351/231/265/346/234/272/345/234/272.geojson" +0 -0
  185. /package/{geojson → dist/geojson}//346/261/211/344/270/255_/345/237/216/345/233/272/346/234/272/345/234/272.geojson" +0 -0
  186. /package/{geojson → 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 -0
  187. /package/{geojson → dist/geojson}//346/262/210/351/230/263_/346/241/203/344/273/231/346/234/272/345/234/272.geojson" +0 -0
  188. /package/{geojson → 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 -0
  189. /package/{geojson → dist/geojson}//346/263/211/345/267/236_/346/231/213/346/261/237/346/234/272/345/234/272.geojson" +0 -0
  190. /package/{geojson → dist/geojson}//346/264/233/351/230/263/346/234/272/345/234/272.geojson" +0 -0
  191. /package/{geojson → dist/geojson}//346/265/216/345/215/227_/351/201/245/345/242/231/346/234/272/345/234/272.geojson" +0 -0
  192. /package/{geojson → dist/geojson}//346/265/216/345/256/201_/346/233/262/351/230/234/346/234/272/345/234/272.geojson" +0 -0
  193. /package/{geojson → dist/geojson}//346/265/267/345/217/243_/347/276/216/345/205/260/346/234/272/345/234/272.geojson" +0 -0
  194. /package/{geojson → 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 -0
  195. /package/{geojson → 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 -0
  196. /package/{geojson → dist/geojson}//346/267/256/345/256/211_/346/266/237/346/260/264/346/234/272/345/234/272.geojson" +0 -0
  197. /package/{geojson → dist/geojson}//346/267/261/345/234/263_/345/256/235/345/256/211/346/234/272/345/234/272.geojson" +0 -0
  198. /package/{geojson → dist/geojson}//346/270/251/345/267/236_/351/276/231/346/271/276/346/234/272/345/234/272.geojson" +0 -0
  199. /package/{geojson → dist/geojson}//346/271/233/346/261/237/346/234/272/345/234/272.geojson" +0 -0
  200. /package/{geojson → 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 -0
  201. /package/{geojson → dist/geojson}//346/274/240/346/262/263_/345/217/244/350/216/262/346/234/272/345/234/272.geojson" +0 -0
  202. /package/{geojson → dist/geojson}//346/275/215/345/235/212/346/234/272/345/234/272.geojson" +0 -0
  203. /package/{geojson → dist/geojson}//346/276/234/346/262/247_/346/231/257/350/277/210/346/234/272/345/234/272.geojson" +0 -0
  204. /package/{geojson → dist/geojson}//347/203/237/345/217/260_/350/223/254/350/216/261/346/234/272/345/234/272.geojson" +0 -0
  205. /package/{geojson → 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 -0
  206. /package/{geojson → dist/geojson}//347/216/211/346/240/221_/345/267/264/345/241/230/346/234/272/345/234/272.geojson" +0 -0
  207. /package/{geojson → dist/geojson}//347/217/240/346/265/267_/351/207/221/346/271/276/346/234/272/345/234/272.geojson" +0 -0
  208. /package/{geojson → dist/geojson}//347/220/274/346/265/267_/345/215/232/351/263/214/346/234/272/345/234/272.geojson" +0 -0
  209. /package/{geojson → dist/geojson}//347/224/230/345/215/227_/345/244/217/346/262/263/346/234/272/345/234/272.geojson" +0 -0
  210. /package/{geojson → dist/geojson}//347/231/275/345/237/216_/351/225/277/345/256/211/346/234/272/345/234/272.geojson" +0 -0
  211. /package/{geojson → 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 -0
  212. /package/{geojson → dist/geojson}//347/231/276/350/211/262_/345/267/264/351/251/254/346/234/272/345/234/272.geojson" +0 -0
  213. /package/{geojson → 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 -0
  214. /package/{geojson → 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 -0
  215. /package/{geojson → 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 -0
  216. /package/{geojson → dist/geojson}//347/246/217/345/267/236_/351/225/277/344/271/220/346/234/272/345/234/272.geojson" +0 -0
  217. /package/{geojson → 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 -0
  218. /package/{geojson → dist/geojson}//347/250/273/345/237/216_/344/272/232/344/270/201/346/234/272/345/234/272.geojson" +0 -0
  219. /package/{geojson → dist/geojson}//350/205/276/345/206/262_/351/251/274/345/263/260/346/234/272/345/234/272.geojson" +0 -0
  220. /package/{geojson → dist/geojson}//350/220/245/345/217/243_/345/205/260/346/227/227/346/234/272/345/234/272.geojson" +0 -0
  221. /package/{geojson → dist/geojson}//350/241/241/351/230/263_/345/215/227/345/262/263/346/234/272/345/234/272.geojson" +0 -0
  222. /package/{geojson → dist/geojson}//350/241/242/345/267/236/346/234/272/345/234/272.geojson" +0 -0
  223. /package/{geojson → dist/geojson}//350/245/204/351/230/263_/345/210/230/351/233/206/346/234/272/345/234/272.geojson" +0 -0
  224. /package/{geojson → 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 -0
  225. /package/{geojson → 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 -0
  226. /package/{geojson → dist/geojson}//350/245/277/345/256/211_/345/222/270/351/230/263/346/234/272/345/234/272.geojson" +0 -0
  227. /package/{geojson → dist/geojson}//350/245/277/346/230/214_/351/235/222/345/261/261/346/234/272/345/234/272.geojson" +0 -0
  228. /package/{geojson → 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 -0
  229. /package/{geojson → dist/geojson}//350/265/243/345/267/236_/351/273/204/351/207/221/346/234/272/345/234/272.geojson" +0 -0
  230. /package/{geojson → dist/geojson}//350/265/244/345/263/260_/347/216/211/351/276/231/346/234/272/345/234/272.geojson" +0 -0
  231. /package/{geojson → dist/geojson}//350/276/276/345/267/236_/346/262/263/345/270/202/346/234/272/345/234/272.geojson" +0 -0
  232. /package/{geojson → 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 -0
  233. /package/{geojson → 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 -0
  234. /package/{geojson → dist/geojson}//351/203/221/345/267/236_/346/226/260/351/203/221/346/234/272/345/234/272.geojson" +0 -0
  235. /package/{geojson → 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 -0
  236. /package/{geojson → dist/geojson}//351/207/215/345/272/206_/346/261/237/345/214/227/346/234/272/345/234/272.geojson" +0 -0
  237. /package/{geojson → dist/geojson}//351/207/221/346/230/214_/351/207/221/345/267/235/346/234/272/345/234/272.geojson" +0 -0
  238. /package/{geojson → dist/geojson}//351/223/234/344/273/201_/345/207/244/345/207/260/346/234/272/345/234/272.geojson" +0 -0
  239. /package/{geojson → dist/geojson}//351/223/266/345/267/235_/346/262/263/344/270/234/346/234/272/345/234/272.geojson" +0 -0
  240. /package/{geojson → dist/geojson}//351/224/241/346/236/227/346/265/251/347/211/271/346/234/272/345/234/272.geojson" +0 -0
  241. /package/{geojson → 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 -0
  242. /package/{geojson → dist/geojson}//351/225/277/346/230/245_/351/276/231/345/230/211/346/234/272/345/234/272.geojson" +0 -0
  243. /package/{geojson → dist/geojson}//351/225/277/346/262/231_/351/273/204/350/212/261/346/234/272/345/234/272.geojson" +0 -0
  244. /package/{geojson → 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 -0
  245. /package/{geojson → dist/geojson}//351/230/277/345/213/222/346/263/260/346/234/272/345/234/272.geojson" +0 -0
  246. /package/{geojson → 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 -0
  247. /package/{geojson → dist/geojson}//351/235/222/345/262/233_/346/265/201/344/272/255/346/234/272/345/234/272.geojson" +0 -0
  248. /package/{geojson → dist/geojson}//351/236/215/345/261/261_/350/205/276/351/263/214/346/234/272/345/234/272.geojson" +0 -0
  249. /package/{geojson → 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 -0
  250. /package/{geojson → dist/geojson}//351/273/204/345/261/261_/345/261/257/346/272/252/346/234/272/345/234/272.geojson" +0 -0
  251. /package/{geojson → dist/geojson}//351/273/216/345/271/263/346/234/272/345/234/272.geojson" +0 -0
  252. /package/{geojson → dist/geojson}//351/273/221/346/262/263_/347/221/267/347/217/262/346/234/272/345/234/272.geojson" +0 -0
  253. /package/{geojson → 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 -0
  254. /package/{geojson → 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 -0
  255. /package/{style.css → dist/style.css} +0 -0
@@ -0,0 +1,50 @@
1
+ import { Cartesian3, Ellipsoid, Rectangle } from '../../node_modules/cesium';
2
+ /**
3
+ * 判断一个 Cartesian3 是否为有效坐标(x/y/z 都是有限数字)
4
+ */
5
+ export declare function isValidCartesian3(pos: Cartesian3 | null | undefined): pos is Cartesian3;
6
+ /**
7
+ * 格式化距离显示
8
+ * 超过1000m时转换为km,保留两位小数
9
+ * @param distance 距离(米)
10
+ * @returns 格式化后的距离字符串
11
+ */
12
+ export declare function formatDistance(distance: number): string;
13
+ /**
14
+ * 格式化面积显示
15
+ * @param areaKm2 面积(平方公里)
16
+ * @returns 格式化后的面积字符串
17
+ */
18
+ export declare function formatArea(areaKm2: number): string;
19
+ /**
20
+ * 计算矩形
21
+ * @param p1 第一个点
22
+ * @param p2 第二个点
23
+ * @returns 矩形对象
24
+ */
25
+ export declare function calculateRectangle(p1: Cartesian3, p2: Cartesian3): Rectangle;
26
+ /**
27
+ * 计算矩形面积
28
+ * @param rect 矩形对象
29
+ * @returns 面积(平方公里)
30
+ */
31
+ export declare function calculateRectangleArea(rect: Rectangle): number;
32
+ /**
33
+ * 计算多边形面积
34
+ * @param positions 多边形顶点坐标数组
35
+ * @param ellipsoid 椭球体对象(默认使用 WGS84)
36
+ * @returns 面积(平方公里)
37
+ */
38
+ export declare function calculatePolygonArea(positions: Cartesian3[], ellipsoid?: Ellipsoid): number;
39
+ /**
40
+ * 计算多边形中心点
41
+ * @param positions 多边形顶点坐标数组
42
+ * @returns 中心点坐标
43
+ */
44
+ export declare function calculatePolygonCenter(positions: Cartesian3[]): Cartesian3;
45
+ /**
46
+ * 计算折线总长度
47
+ * @param positions 折线顶点坐标数组
48
+ * @returns 总长度(米)
49
+ */
50
+ export declare function calculatePolylineDistance(positions: Cartesian3[]): number;
@@ -0,0 +1,15 @@
1
+ export declare function getViteTdToken(): any;
2
+ export declare function getViteTdSk(): any;
3
+ export declare function getViteCesiumToken(): any;
4
+ /**
5
+ * 将相机高度转换为地图层级
6
+ * @param height 相机高度(米)
7
+ * @returns 地图层级(1-18)
8
+ */
9
+ export declare function heightToZoomLevel(height: number): number;
10
+ /**
11
+ * 将地图层级转换为相机高度
12
+ * @param zoomLevel 地图层级(1-18)
13
+ * @returns 相机高度(米)
14
+ */
15
+ export declare function zoomLevelToHeight(zoomLevel: number): number;
@@ -0,0 +1,86 @@
1
+ /**
2
+ * GeoJSON 类型定义
3
+ */
4
+ export interface GeoJSONPoint {
5
+ type: 'Point';
6
+ coordinates: [number, number];
7
+ }
8
+ export interface GeoJSONPolygon {
9
+ type: 'Polygon';
10
+ coordinates: number[][][];
11
+ }
12
+ export interface GeoJSONFeature<T = GeoJSONPolygon> {
13
+ type: 'Feature';
14
+ geometry: T;
15
+ properties?: Record<string, any>;
16
+ }
17
+ export interface GeoJSONFeatureCollection<T = GeoJSONPolygon> {
18
+ type: 'FeatureCollection';
19
+ features: GeoJSONFeature<T>[];
20
+ name?: string;
21
+ }
22
+ /**
23
+ * 机场禁飞区数据接口
24
+ */
25
+ export interface AirportNoFlyZone {
26
+ name: string;
27
+ feature: GeoJSONFeature<GeoJSONPolygon>;
28
+ fileName: string;
29
+ }
30
+ /**
31
+ * GeoJSON 加载配置
32
+ */
33
+ export interface GeoJSONLoaderConfig {
34
+ /**
35
+ * GeoJSON 文件的基础路径
36
+ * 开发环境: '/geojson' (指向 public/geojson)
37
+ * 生产环境: 可以是 '/geojson' 或用户自定义路径
38
+ * @default '/geojson'
39
+ */
40
+ basePath?: string;
41
+ /**
42
+ * 是否在加载失败时静默处理(不抛出错误)
43
+ * @default false
44
+ */
45
+ silent?: boolean;
46
+ }
47
+ /**
48
+ * 读取所有机场禁飞区 GeoJSON 文件
49
+ *
50
+ * 注意:由于无法直接获取目录文件列表,需要提供文件列表
51
+ * 可以通过以下方式之一:
52
+ * 1. 提供 fileList 参数
53
+ * 2. 在 public/geojson 目录下放置 file-list.json 文件
54
+ * 3. 使用 getAllAirportNoFlyZonesWithList 方法
55
+ *
56
+ * @param fileList 可选的文件名列表(不含扩展名)
57
+ * @param config 加载配置
58
+ * @returns Promise<AirportNoFlyZone[]> 机场禁飞区数据数组
59
+ */
60
+ export declare function loadAllAirportNoFlyZones(fileList?: string[], config?: GeoJSONLoaderConfig): Promise<AirportNoFlyZone[]>;
61
+ /**
62
+ * 读取单个机场禁飞区 GeoJSON 文件
63
+ * @param fileName 文件名(不含扩展名,如 '珠海_金湾机场')
64
+ * @param config 加载配置
65
+ * @returns Promise<AirportNoFlyZone | null> 机场禁飞区数据或 null
66
+ */
67
+ export declare function loadAirportNoFlyZone(fileName: string, config?: GeoJSONLoaderConfig): Promise<AirportNoFlyZone | null>;
68
+ /**
69
+ * 将 GeoJSON 坐标转换为 Cesium Cartesian3 数组
70
+ * @param coordinates GeoJSON 多边形坐标数组
71
+ * @param height 高度偏移(米),默认为 0
72
+ * @returns 包含 longitude, latitude, height 的对象数组
73
+ */
74
+ export declare function geojsonCoordinatesToCartesian3(coordinates: number[][], height?: number): Array<{
75
+ longitude: number;
76
+ latitude: number;
77
+ height: number;
78
+ }>;
79
+ /**
80
+ * 从文件名列表生成 file-list.json
81
+ * 这个函数可以在构建时使用,生成文件列表
82
+ *
83
+ * @param fileNames 文件名列表(不含扩展名)
84
+ * @returns JSON 字符串
85
+ */
86
+ export declare function generateFileListJson(fileNames: string[]): string;
@@ -0,0 +1,149 @@
1
+ /**
2
+ * 覆盖物工具函数
3
+ * 整合绘制工具相关的公共方法
4
+ */
5
+ import * as Cesium from 'cesium';
6
+ /**
7
+ * 将多边形顶点沿中心方向外扩指定距离
8
+ * @param positions - 原始多边形顶点经纬度数组 [lng, lat, height][]
9
+ * @param expandDistanceMeters - 外扩距离(米)
10
+ * @returns 外扩后的多边形顶点经纬度数组 [lng, lat, height][]
11
+ */
12
+ export declare const expandPolygon: (positions: [number, number, number][], expandDistanceMeters: number) => [number, number, number][];
13
+ export type DrawType = 'point' | 'polyline' | 'polygon' | 'rectangle' | 'circle';
14
+ export declare const OVERLAY_PRESET_COLORS: readonly [{
15
+ readonly value: "blue";
16
+ readonly label: "蓝色";
17
+ readonly hex: "#007BFF";
18
+ }, {
19
+ readonly value: "orange";
20
+ readonly label: "橙色";
21
+ readonly hex: "#FF6932";
22
+ }, {
23
+ readonly value: "yellow";
24
+ readonly label: "黄色";
25
+ readonly hex: "#FFB700";
26
+ }, {
27
+ readonly value: "cyan";
28
+ readonly label: "青色";
29
+ readonly hex: "#13FFFF";
30
+ }, {
31
+ readonly value: "purple";
32
+ readonly label: "紫色";
33
+ readonly hex: "#ED64FF";
34
+ }];
35
+ export declare const OVERLAY_COLOR_HEX_LIST: ("#007BFF" | "#FF6932" | "#FFB700" | "#13FFFF" | "#ED64FF")[];
36
+ export interface LngLatPosition {
37
+ lng: number;
38
+ lat: number;
39
+ }
40
+ export interface CesiumPosition {
41
+ longitude: number;
42
+ latitude: number;
43
+ height?: number;
44
+ }
45
+ /**
46
+ * 颜色转Cesium颜色
47
+ */
48
+ export declare const hexToCesiumColor: (hex: string, alpha?: number) => Cesium.Color;
49
+ /**
50
+ * 获取默认颜色
51
+ */
52
+ export declare const getDefaultColor: () => string;
53
+ /**
54
+ * 根据颜色获取Cesium颜色(带透明度)
55
+ */
56
+ export declare const getColorWithAlpha: (color: string, alpha?: number) => Cesium.Color;
57
+ /**
58
+ * 将 Cartesian3 转换为经纬度
59
+ */
60
+ export declare const cartesian3ToLngLat: (position: Cesium.Cartesian3) => LngLatPosition;
61
+ /**
62
+ * 将经纬度转换为 Cartesian3
63
+ */
64
+ export declare const lngLatToCartesian3: (lng: number, lat: number, height?: number) => Cesium.Cartesian3;
65
+ /**
66
+ * 将 { lng, lat }[] 转换为 [lng, lat, height][]
67
+ */
68
+ export declare const lngLatArrayToCesiumPositions: (positions: LngLatPosition[], height?: number) => [number, number, number][];
69
+ /**
70
+ * 将 [lng, lat, height][] 转换为 { lng, lat }[]
71
+ */
72
+ export declare const cesiumPositionsToLngLatArray: (positions: [number, number, number][]) => LngLatPosition[];
73
+ /**
74
+ * 计算两点之间的距离(米)- 使用大圆距离公式
75
+ */
76
+ export declare const calculateDistanceByLngLat: (p1: LngLatPosition, p2: LngLatPosition) => number;
77
+ /**
78
+ * 计算线段总长度(米)
79
+ */
80
+ export declare const calculatePolylineLength: (positions: LngLatPosition[]) => number;
81
+ /**
82
+ * 计算多边形面积(使用球面面积计算)
83
+ */
84
+ export declare const calculatePolygonArea: (positions: LngLatPosition[]) => number;
85
+ /**
86
+ * 计算圆的面积
87
+ */
88
+ export declare const calculateCircleArea: (radius: number) => number;
89
+ /**
90
+ * 计算几何中心点
91
+ */
92
+ export declare const calculateCenter: (positions: LngLatPosition[]) => LngLatPosition | null;
93
+ /**
94
+ * 计算两个位置的中心点
95
+ */
96
+ export declare const calculateTwoPointsCenter: (p1: LngLatPosition, p2: LngLatPosition) => LngLatPosition;
97
+ /**
98
+ * 格式化面积显示
99
+ */
100
+ export declare const formatArea: (area: number) => string;
101
+ /**
102
+ * 格式化长度显示
103
+ */
104
+ export declare const formatLength: (length: number) => string;
105
+ /**
106
+ * 格式化经纬度显示
107
+ */
108
+ export declare const formatLngLat: (position: LngLatPosition) => string;
109
+ /**
110
+ * 获取绘制类型的默认名称
111
+ */
112
+ export declare const getDefaultNameByType: (type: DrawType) => string;
113
+ /**
114
+ * 获取绘制类型的提示文本
115
+ */
116
+ export declare const getDrawHintByType: (type: DrawType) => string;
117
+ /**
118
+ * 获取动态标签(根据绘制类型)
119
+ */
120
+ export declare const getDynamicLabelByType: (type: DrawType) => string;
121
+ /**
122
+ * 获取类型对应的图标URL
123
+ * 需要在组件中动态导入
124
+ */
125
+ export declare const getTypeIconUrl: (type: DrawType) => string;
126
+ /**
127
+ * 验证经纬度坐标是否有效
128
+ */
129
+ export declare const isValidLngLat: (position: LngLatPosition) => boolean;
130
+ /**
131
+ * 从Cesium实体获取位置数据
132
+ */
133
+ export declare const getEntityPositions: (entity: Cesium.Entity, type: DrawType) => LngLatPosition[];
134
+ /**
135
+ * 从Cesium实体获取Cartesian3位置数组
136
+ */
137
+ export declare const getEntityCartesian3Positions: (entity: Cesium.Entity, type: DrawType) => Cesium.Cartesian3[];
138
+ /**
139
+ * 获取圆的半径(米)
140
+ */
141
+ export declare const getCircleRadius: (entity: Cesium.Entity) => number | null;
142
+ /**
143
+ * 解析geometry字符串为对象
144
+ */
145
+ export declare const parseGeometry: (geometry: any) => any;
146
+ /**
147
+ * 生成GUID
148
+ */
149
+ export declare const generateGuid: () => string;
@@ -0,0 +1,15 @@
1
+ import { Cartesian3 } from '../../node_modules/cesium';
2
+ export type IntersectionKind = "none" | "touch" | "cross" | "overlap";
3
+ /**
4
+ * Returns true if adding `nextPoint` to an open polygon polyline would create a self-intersection.
5
+ */
6
+ export declare function wouldCreatePolygonSelfIntersection(existingPoints: Cartesian3[], nextPoint: Cartesian3, opts?: {
7
+ allowTouch?: boolean;
8
+ }): boolean;
9
+ export declare function wouldCreatePolygonSelfIntersectionKind(existingPoints: Cartesian3[], nextPoint: Cartesian3): IntersectionKind;
10
+ /**
11
+ * Returns true if the closed polygon described by `points` is self-intersecting.
12
+ */
13
+ export declare function isClosedPolygonSelfIntersecting(points: Cartesian3[], opts?: {
14
+ allowTouch?: boolean;
15
+ }): boolean;
@@ -0,0 +1,24 @@
1
+ export declare const defaultHeatmapData: ({
2
+ lon: string;
3
+ lat: string;
4
+ height: string;
5
+ appearTime: number;
6
+ lng?: undefined;
7
+ } | {
8
+ lng: string;
9
+ lat: string;
10
+ height: string;
11
+ appearTime: number;
12
+ lon?: undefined;
13
+ })[][];
14
+ export declare const defaultHeatmapColors: {
15
+ 0: string;
16
+ 40: string;
17
+ 60: string;
18
+ 90: string;
19
+ 110: string;
20
+ };
21
+ export declare const defaultHeatmapOpacity: {
22
+ 0: number;
23
+ 0.5: number;
24
+ };
package/package.json CHANGED
@@ -1,46 +1,74 @@
1
- {
2
- "name": "@xingm/vmap-cesium-toolbar",
3
- "version": "0.0.7-alpha.1",
4
- "description": "A powerful Cesium map toolbar plugin with drawing, measurement, and interaction features",
5
- "type": "module",
6
- "main": "index.es.js",
7
- "module": "index.es.js",
8
- "types": "index.d.ts",
9
- "files": [
10
- "index.es.js",
11
- "index.umd.js",
12
- "index.d.ts",
13
- "style.css",
14
- "README.md",
15
- "geojson"
16
- ],
17
- "exports": {
18
- ".": {
19
- "import": "./index.es.js",
20
- "default": "./index.es.js"
21
- },
22
- "./style": "./style.css"
23
- },
24
- "peerDependencies": {
25
- "vue": "^3.0.0"
26
- },
27
- "keywords": [
28
- "cesium",
29
- "map",
30
- "toolbar",
31
- "drawing",
32
- "measurement",
33
- "vue3",
34
- "typescript"
35
- ],
36
- "author": "pengxueyou",
37
- "license": "MIT",
38
- "repository": {
39
- "type": "git",
40
- "url": "git+https://github.com/BenXueYou/vmap-cesium-tool.git"
41
- },
42
- "bugs": {
43
- "url": "https://github.com/BenXueYou/vmap-cesium-tool/issues"
44
- },
45
- "homepage": "https://github.com/BenXueYou/vmap-cesium-tool#readme"
46
- }
1
+ {
2
+ "name": "@xingm/vmap-cesium-toolbar",
3
+ "version": "0.0.7-alpha.2",
4
+ "description": "A powerful Cesium map toolbar plugin with drawing, measurement, and interaction features",
5
+ "type": "module",
6
+ "main": "dist/index.es.js",
7
+ "module": "dist/index.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "README.md"
12
+ ],
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/index.es.js",
19
+ "default": "./dist/index.es.js"
20
+ },
21
+ "./style": "./dist/style.css"
22
+ },
23
+ "scripts": {
24
+ "dev": "vite --force",
25
+ "build": "vite build --mode lib",
26
+ "dist": "vite build",
27
+ "build:dts": "vue-tsc -p tsconfig.dts.json",
28
+ "build:plugin": "node scripts/build-plugin.js",
29
+ "docs:dev": "vitepress dev doc",
30
+ "docs:build": "vitepress build doc",
31
+ "docs:preview": "vitepress preview doc",
32
+ "generate:file-list": "node scripts/generate-file-list.js",
33
+ "preview": "vite preview",
34
+ "type-check": "vue-tsc --noEmit"
35
+ },
36
+ "peerDependencies": {
37
+ "vue": "^3.0.0"
38
+ },
39
+ "dependencies": {
40
+ "cesium": "^1.134.1",
41
+ "tdt-terrain-cesium-plugin": "^1.0.4",
42
+ "vue": "^3.5.18"
43
+ },
44
+ "devDependencies": {
45
+ "@types/cesium": "^1.70.4",
46
+ "@vitejs/plugin-vue": "^6.0.1",
47
+ "rollup-plugin-dts": "^6.1.0",
48
+ "vite": "^7.1.2",
49
+ "vite-plugin-cesium": "^1.2.23",
50
+ "vite-plugin-dts": "^4.5.4",
51
+ "vite-plugin-static-copy": "^3.1.2",
52
+ "vitepress": "^1.6.4",
53
+ "vue-tsc": "^3.0.5"
54
+ },
55
+ "keywords": [
56
+ "cesium",
57
+ "map",
58
+ "toolbar",
59
+ "drawing",
60
+ "measurement",
61
+ "vue3",
62
+ "typescript"
63
+ ],
64
+ "author": "pengxueyou",
65
+ "license": "MIT",
66
+ "repository": {
67
+ "type": "git",
68
+ "url": "git+https://github.com/BenXueYou/vmap-cesium-tool.git"
69
+ },
70
+ "bugs": {
71
+ "url": "https://github.com/BenXueYou/vmap-cesium-tool/issues"
72
+ },
73
+ "homepage": "https://github.com/BenXueYou/vmap-cesium-tool#readme"
74
+ }