Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

components.js 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. /**
  2. * @Author: Caven
  3. * @Date: 2021-03-13 17:17:19
  4. */
  5. import { Cesium } from '@dc-modules/namespace'
  6. /**
  7. * base
  8. */
  9. import Position from '@dc-modules/position/Position'
  10. import Parse from '@dc-modules/parse/Parse'
  11. import { Util, DomUtil, PlotUtil } from '@dc-modules/utils'
  12. import { Transform, CoordTransform } from '@dc-modules/transform'
  13. import { MouseEventType, SceneEventType } from '@dc-modules/event'
  14. import {
  15. area,
  16. bounds,
  17. center,
  18. curve,
  19. distance,
  20. heading,
  21. isBetween,
  22. mid,
  23. parabola
  24. } from '@dc-modules/math'
  25. import Viewer from '@dc-modules/viewer/Viewer'
  26. /**
  27. * imagery
  28. */
  29. import { ImageryType, ImageryLayerFactory } from '@dc-modules/imagery'
  30. /**
  31. * terrain
  32. */
  33. import { TerrainType, TerrainFactory } from '@dc-modules/terrain'
  34. /**
  35. * layer
  36. */
  37. import {
  38. LayerType,
  39. Layer,
  40. ClusterLayer,
  41. CzmlLayer,
  42. DynamicLayer,
  43. FeatureGridLayer,
  44. GeoJsonLayer,
  45. HtmlLayer,
  46. KmlLayer,
  47. LabelLayer,
  48. LayerGroup,
  49. PrimitiveLayer,
  50. TilesetLayer,
  51. TopoJsonLayer,
  52. VectorLayer
  53. } from '@dc-modules/layer'
  54. /**
  55. * overlay
  56. */
  57. import {
  58. OverlayType,
  59. Overlay,
  60. CustomBillboard,
  61. CustomLabel,
  62. DynamicBillboard,
  63. DynamicModel,
  64. Model,
  65. Tileset,
  66. AttackArrow,
  67. DoubleArrow,
  68. FineArrow,
  69. GatheringPlace,
  70. TailedAttackArrow,
  71. BillboardPrimitive,
  72. ElecEllipsoidPrimitive,
  73. FlowLinePrimitive,
  74. LabelPrimitive,
  75. ModelPrimitive,
  76. PointPrimitive,
  77. PolylinePrimitive,
  78. ScanCirclePrimitive,
  79. TrailLinePrimitive,
  80. VideoPrimitive,
  81. WaterPrimitive,
  82. Billboard,
  83. Box,
  84. Circle,
  85. Corridor,
  86. Cylinder,
  87. DivIcon,
  88. Ellipse,
  89. Ellipsoid,
  90. Label,
  91. Plane,
  92. Point,
  93. Polygon,
  94. Polyline,
  95. PolylineVolume,
  96. Rectangle,
  97. Wall
  98. } from '@dc-modules/overlay'
  99. /**
  100. * material
  101. */
  102. import {
  103. CircleBlurMaterialProperty,
  104. CircleDiffuseMaterialProperty,
  105. CircleFadeMaterialProperty,
  106. CirclePulseMaterialProperty,
  107. CircleScanMaterialProperty,
  108. CircleSpiralMaterialProperty,
  109. CircleVaryMaterialProperty,
  110. CircleWaveMaterialProperty,
  111. EllipsoidElectricMaterialProperty,
  112. EllipsoidTrailMaterialProperty,
  113. PolylineFlickerMaterialProperty,
  114. PolylineFlowMaterialProperty,
  115. PolylineImageTrailMaterialProperty,
  116. PolylineLightingMaterialProperty,
  117. PolylineLightingTrailMaterialProperty,
  118. PolylineTrailMaterialProperty,
  119. RadarLineMaterialProperty,
  120. RadarSweepMaterialProperty,
  121. RadarWaveMaterialProperty,
  122. WallImageTrailMaterialProperty,
  123. WallLineTrailMaterialProperty,
  124. WallTrailMaterialProperty,
  125. WaterMaterialProperty
  126. } from '@dc-modules/material'
  127. /**
  128. *
  129. * effect
  130. */
  131. import Effect from '@dc-modules/effect/Effect'
  132. /**
  133. * animation
  134. */
  135. import {
  136. AroundView,
  137. AroundPoint,
  138. CircleScan,
  139. Flying,
  140. GlobeRotate,
  141. RadarScan
  142. } from '@dc-modules/animation'
  143. /**
  144. *
  145. * roaming
  146. */
  147. import {
  148. RoamingViewMode,
  149. RoamingPath,
  150. RoamingController
  151. } from '@dc-modules/roaming'
  152. /**
  153. *
  154. * weather
  155. */
  156. import Weather from '@dc-modules/weather/Weather'
  157. /**
  158. *
  159. * plot
  160. */
  161. import Plot from '@dc-modules/plot/Plot'
  162. /**
  163. *
  164. * wind
  165. */
  166. import WindLayer from '@dc-modules/wind/WindLayer'
  167. /**
  168. *
  169. * heat
  170. */
  171. import HeatLayer from '@dc-modules/heat/HeatLayer'
  172. /**
  173. * exts
  174. */
  175. import { GroundSkyBox } from '@dc-modules/exts'
  176. /**
  177. * thirdPart
  178. */
  179. import thirdPart from '@dc-modules/thirdpart'
  180. Cesium.Math.area = area
  181. Cesium.Math.bounds = bounds
  182. Cesium.Math.mid = mid
  183. Cesium.Math.center = center
  184. Cesium.Math.distance = distance
  185. Cesium.Math.heading = heading
  186. Cesium.Math.isBetween = isBetween
  187. Cesium.Math.parabola = parabola
  188. Cesium.Math.curve = curve
  189. const components = {
  190. /**
  191. * base
  192. */
  193. Position,
  194. Parse,
  195. Util,
  196. DomUtil,
  197. PlotUtil,
  198. Transform,
  199. CoordTransform,
  200. MouseEventType,
  201. SceneEventType,
  202. Math: Cesium.Math,
  203. Viewer,
  204. World: Viewer,
  205. Map: Viewer,
  206. /**
  207. * imagery
  208. */
  209. ImageryType,
  210. ImageryLayerFactory,
  211. /**
  212. * terrain
  213. */
  214. TerrainType,
  215. TerrainFactory,
  216. /**
  217. * layer
  218. */
  219. LayerType,
  220. Layer,
  221. ClusterLayer,
  222. CzmlLayer,
  223. DynamicLayer,
  224. FeatureGridLayer,
  225. GeoJsonLayer,
  226. HtmlLayer,
  227. KmlLayer,
  228. LabelLayer,
  229. LayerGroup,
  230. PrimitiveLayer,
  231. TilesetLayer,
  232. TopoJsonLayer,
  233. VectorLayer,
  234. /**
  235. * overlay
  236. */
  237. OverlayType,
  238. Overlay,
  239. CustomBillboard,
  240. CustomLabel,
  241. DynamicBillboard,
  242. DynamicModel,
  243. Model,
  244. Tileset,
  245. AttackArrow,
  246. DoubleArrow,
  247. FineArrow,
  248. GatheringPlace,
  249. TailedAttackArrow,
  250. BillboardPrimitive,
  251. ElecEllipsoidPrimitive,
  252. FlowLinePrimitive,
  253. LabelPrimitive,
  254. ModelPrimitive,
  255. PointPrimitive,
  256. PolylinePrimitive,
  257. ScanCirclePrimitive,
  258. TrailLinePrimitive,
  259. VideoPrimitive,
  260. WaterPrimitive,
  261. Billboard,
  262. Box,
  263. Circle,
  264. Corridor,
  265. Cylinder,
  266. DivIcon,
  267. Ellipse,
  268. Ellipsoid,
  269. Label,
  270. Plane,
  271. Point,
  272. Polygon,
  273. Polyline,
  274. PolylineVolume,
  275. Rectangle,
  276. Wall,
  277. /**
  278. * material
  279. */
  280. CircleBlurMaterialProperty,
  281. CircleDiffuseMaterialProperty,
  282. CircleFadeMaterialProperty,
  283. CirclePulseMaterialProperty,
  284. CircleScanMaterialProperty,
  285. CircleSpiralMaterialProperty,
  286. CircleVaryMaterialProperty,
  287. CircleWaveMaterialProperty,
  288. EllipsoidElectricMaterialProperty,
  289. EllipsoidTrailMaterialProperty,
  290. PolylineFlickerMaterialProperty,
  291. PolylineFlowMaterialProperty,
  292. PolylineImageTrailMaterialProperty,
  293. PolylineLightingMaterialProperty,
  294. PolylineLightingTrailMaterialProperty,
  295. PolylineTrailMaterialProperty,
  296. RadarLineMaterialProperty,
  297. RadarSweepMaterialProperty,
  298. RadarWaveMaterialProperty,
  299. WallImageTrailMaterialProperty,
  300. WallLineTrailMaterialProperty,
  301. WallTrailMaterialProperty,
  302. WaterMaterialProperty,
  303. /**
  304. * effect
  305. */
  306. Effect,
  307. /**
  308. * animation
  309. */
  310. AroundView,
  311. AroundPoint,
  312. CircleScan,
  313. Flying,
  314. GlobeRotate,
  315. RadarScan,
  316. /**
  317. *
  318. * roaming
  319. */
  320. RoamingViewMode,
  321. RoamingPath,
  322. RoamingController,
  323. /**
  324. * weather
  325. */
  326. Weather,
  327. /**
  328. * plot
  329. */
  330. Plot,
  331. /**
  332. * wind
  333. */
  334. WindLayer,
  335. /**
  336. * heat
  337. */
  338. HeatLayer,
  339. /**
  340. * exts
  341. */
  342. GroundSkyBox,
  343. /**
  344. * thirdPart
  345. */
  346. ...thirdPart
  347. }
  348. export default components