@metagl/sdk-plotting 0.0.1 → 0.0.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 (485) hide show
  1. package/lacdt.plotting.d.ts +30265 -0
  2. package/lacdt.plotting.js +474 -0
  3. package/package.json +14 -12
  4. package/resources/image/Height.png +0 -0
  5. package/resources/image/JPlace/capital.png +0 -0
  6. package/resources/image/JPlace/chengzhen.png +0 -0
  7. package/resources/image/JPlace/shenghui.png +0 -0
  8. package/resources/image/Move.png +0 -0
  9. package/resources/image/Scale.png +0 -0
  10. package/resources/image/arrow-down.png +0 -0
  11. package/resources/image/arrow-left.png +0 -0
  12. package/resources/image/arrow-right.png +0 -0
  13. package/resources/image/arrow-up.png +0 -0
  14. package/resources/image/arrow.png +0 -0
  15. package/resources/image/cm_gray.png +0 -0
  16. package/resources/image/cm_viridis.png +0 -0
  17. package/resources/image/excavate_bottom_min.jpg +0 -0
  18. package/resources/image/excavate_side_min.jpg +0 -0
  19. package/resources/image/eye.png +0 -0
  20. package/resources/image/facility.gif +0 -0
  21. package/resources/image/fire.png +0 -0
  22. package/resources/image/fountain2.png +0 -0
  23. package/resources/image/globe.jpg +0 -0
  24. package/resources/image/gpoint.svg +1 -0
  25. package/resources/image/redflag.png +0 -0
  26. package/resources/image/smoke.png +0 -0
  27. package/resources/image/tuodong.png +0 -0
  28. package/resources/image//346/227/213/350/275/254.png +0 -0
  29. package/resources/images/circular_particle.png +0 -0
  30. package/resources/images/cloud.png +0 -0
  31. package/resources/images/dash.png +0 -0
  32. package/resources/images/daylight/Daylight_Box_Back.jpg +0 -0
  33. package/resources/images/daylight/Daylight_Box_Bottom.jpg +0 -0
  34. package/resources/images/daylight/Daylight_Box_Front.jpg +0 -0
  35. package/resources/images/daylight/Daylight_Box_Left.jpg +0 -0
  36. package/resources/images/daylight/Daylight_Box_Right.jpg +0 -0
  37. package/resources/images/daylight/Daylight_Box_Top.jpg +0 -0
  38. package/resources/images/daylight/Daylight_Box_mx.jpg +0 -0
  39. package/resources/images/daylight/Daylight_Box_my.jpg +0 -0
  40. package/resources/images/daylight/Daylight_Box_mz.jpg +0 -0
  41. package/resources/images/daylight/Daylight_Box_px.jpg +0 -0
  42. package/resources/images/daylight/Daylight_Box_py.jpg +0 -0
  43. package/resources/images/daylight/Daylight_Box_pz.jpg +0 -0
  44. package/resources/images/earthclouds1k.jpg +0 -0
  45. package/resources/images/earthclouds1k.png +0 -0
  46. package/resources/images/night_1-2k.jpg +0 -0
  47. package/resources/images/scan.png +0 -0
  48. package/resources/images/smoke.png +0 -0
  49. package/resources/images/specialLine/ArrowOpacity.png +0 -0
  50. package/resources/images/specialLine/ArrowTransparent.png +0 -0
  51. package/resources/images/specialLine/DataTransLine.png +0 -0
  52. package/resources/images/specialLine/DotTransparent.png +0 -0
  53. package/resources/images/specialLine/LinkPulse.png +0 -0
  54. package/resources/images/specialLine/LinkTrail.png +0 -0
  55. package/resources/images/specialLine/Trail.png +0 -0
  56. package/resources/images/specialLine/Trail1.png +0 -0
  57. package/resources/images/specialLine/alpha.png +0 -0
  58. package/resources/images/starmap/starmap_2020_16k_mx.webp +0 -0
  59. package/resources/images/starmap/starmap_2020_16k_my.webp +0 -0
  60. package/resources/images/starmap/starmap_2020_16k_mz.webp +0 -0
  61. package/resources/images/starmap/starmap_2020_16k_px.webp +0 -0
  62. package/resources/images/starmap/starmap_2020_16k_py.webp +0 -0
  63. package/resources/images/starmap/starmap_2020_16k_pz.webp +0 -0
  64. package/resources/images/wx.png +0 -0
  65. package/resources/images/wx2.jpg +0 -0
  66. package/resources/readme.txt +1 -0
  67. package/resources/textures/grey.png +0 -0
  68. package/resources/textures/mesh.png +0 -0
  69. package/resources/textures/waterNormalsSmall.jpg +0 -0
  70. package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
  71. package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
  72. package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
  73. package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
  74. package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
  75. package/resources/water/sea 50_1.json.json +578 -0
  76. package/resources/workers/satellite.worker.js +3175 -0
  77. package/types/Common/ArrayHelper.d.ts +8 -0
  78. package/types/Common/Guid.d.ts +4 -0
  79. package/types/Common/KeyValue.d.ts +5 -0
  80. package/types/Core/Common/Cesium/Core/xz_Color.d.ts +1545 -0
  81. package/types/Core/Common/Cesium/Core/xz_measureSize.d.ts +4 -0
  82. package/types/Core/Common/Cesium/Core/xz_writeTextToCanvas.d.ts +27 -0
  83. package/types/Core/Common/Cesium/ThirdParty/xz_measureText.d.ts +30 -0
  84. package/types/Core/Event.d.ts +72 -0
  85. package/types/Core/GvolLayer.d.ts +39 -0
  86. package/types/Core/GvolPoint.d.ts +206 -0
  87. package/types/Core/Music.d.ts +18 -0
  88. package/types/Core/Register.d.ts +36 -0
  89. package/types/Core/index.d.ts +46 -0
  90. package/types/Core/property-item-meta.d.ts +36 -0
  91. package/types/FixCesium/index.d.ts +0 -0
  92. package/types/Global/array.d.ts +21 -0
  93. package/types/Global/global.d.ts +9 -0
  94. package/types/Global/link.d.ts +32 -0
  95. package/types/Global/linq.d.ts +15 -0
  96. package/types/Global/math.d.ts +7 -0
  97. package/types/Global/number.d.ts +15 -0
  98. package/types/Global/object.d.ts +7 -0
  99. package/types/Global/regex.d.ts +6 -0
  100. package/types/Global/static.d.ts +6 -0
  101. package/types/Global/string.d.ts +14 -0
  102. package/types/LayerManager/DynamicLayer/DynamicLayer.d.ts +294 -0
  103. package/types/LayerManager/GpLayer/GpLayer.d.ts +56 -0
  104. package/types/LayerManager/GraphicLayer/GraphicLayer.d.ts +209 -0
  105. package/types/LayerManager/ImageLayer/BaiduImageryProvider.d.ts +33 -0
  106. package/types/LayerManager/LayerManager.d.ts +59 -0
  107. package/types/LayerManager/LayerTools.d.ts +3 -0
  108. package/types/LayerManager/MapBox/CesiumInstance.d.ts +78 -0
  109. package/types/LayerManager/MapBox/CesiumLayer.d.ts +54 -0
  110. package/types/LayerManager/MapBox/CesiumLayerOptions.d.ts +34 -0
  111. package/types/LayerManager/MapBox/MVTImageryProvider/mapboxVectorRender.d.ts +44 -0
  112. package/types/LayerManager/MapBox/MapboxPlaceName.d.ts +30 -0
  113. package/types/LayerManager/MapBox/index.d.ts +25 -0
  114. package/types/LayerManager/MapBox/shaders/colorscales.d.ts +123 -0
  115. package/types/LayerManager/MapBox/shaders/raster_frag.d.ts +2 -0
  116. package/types/LayerManager/MapBox/shaders/raster_rpg_frag.d.ts +2 -0
  117. package/types/LayerManager/MapBox/shaders/raster_rpg_vert.d.ts +2 -0
  118. package/types/LayerManager/MapBox/shaders/raster_vert.d.ts +2 -0
  119. package/types/LayerManager/MapBox/utils.d.ts +13 -0
  120. package/types/LayerManager/PlotLayer/PlotLayer.d.ts +77 -0
  121. package/types/LayerManager/SateLayer/Satellite.d.ts +98 -0
  122. package/types/LayerManager/SateLayer/SatelliteLayer.d.ts +46 -0
  123. package/types/LayerManager/SateLayer/SpaceDebris.d.ts +23 -0
  124. package/types/LayerManager/SateLayer/SpaceDebrisLayer.d.ts +40 -0
  125. package/types/LayerManager/TileLayer/TileLayer.d.ts +27 -0
  126. package/types/LayerManager/TileLayer/WMTSVectorProvider.d.ts +14 -0
  127. package/types/LayerManager/index.d.ts +21 -0
  128. package/types/Models/AnimationConfig.d.ts +29 -0
  129. package/types/Models/AnimationItem.d.ts +14 -0
  130. package/types/Models/FileNode.d.ts +24 -0
  131. package/types/Models/GeojsonPlotModel.d.ts +19 -0
  132. package/types/Models/GeojsonStyleBase.d.ts +104 -0
  133. package/types/Models/PlotItem.d.ts +17 -0
  134. package/types/Models/all.d.ts +268 -0
  135. package/types/PlottingTool/AnchorHelper.d.ts +50 -0
  136. package/types/PlottingTool/Animation/AnimationBase.d.ts +61 -0
  137. package/types/PlottingTool/Animation/AnimationGroup.d.ts +46 -0
  138. package/types/PlottingTool/Animation/AnimationManager.d.ts +72 -0
  139. package/types/PlottingTool/Animation/AnimationStartState.d.ts +5 -0
  140. package/types/PlottingTool/Animation/AnimationState.d.ts +5 -0
  141. package/types/PlottingTool/Animation/CalcTool.d.ts +6 -0
  142. package/types/PlottingTool/Animation/CssItems/AudioAnimation.d.ts +14 -0
  143. package/types/PlottingTool/Animation/CssItems/CssAnimationBase.d.ts +15 -0
  144. package/types/PlottingTool/Animation/CssItems/CssHideAnimation.d.ts +12 -0
  145. package/types/PlottingTool/Animation/CssItems/CssMaskAnimation.d.ts +18 -0
  146. package/types/PlottingTool/Animation/CssItems/CssMoveHorizonAnimation.d.ts +5 -0
  147. package/types/PlottingTool/Animation/CssItems/CssMoveVerticalAnimation.d.ts +5 -0
  148. package/types/PlottingTool/Animation/CssItems/CssNumberAnimation.d.ts +4 -0
  149. package/types/PlottingTool/Animation/CssItems/CssPropChangeAnimation.d.ts +13 -0
  150. package/types/PlottingTool/Animation/CssItems/CssShowAnimation.d.ts +12 -0
  151. package/types/PlottingTool/Animation/CssItems/CssShowDisplayAnimation.d.ts +10 -0
  152. package/types/PlottingTool/Animation/CssItems/CssValueAnimation.d.ts +27 -0
  153. package/types/PlottingTool/Animation/CssItems/SpeakManager.d.ts +12 -0
  154. package/types/PlottingTool/Animation/CssItems/SpeakTool.d.ts +12 -0
  155. package/types/PlottingTool/Animation/CssItems/SubtitleAnimation.d.ts +12 -0
  156. package/types/PlottingTool/Animation/CssItems/VideoAnimation.d.ts +12 -0
  157. package/types/PlottingTool/Animation/CssItems/XunFeiTool.d.ts +28 -0
  158. package/types/PlottingTool/Animation/Decorator.d.ts +11 -0
  159. package/types/PlottingTool/Animation/DefaultConfig.d.ts +5 -0
  160. package/types/PlottingTool/Animation/FillBehavior.d.ts +13 -0
  161. package/types/PlottingTool/Animation/GeojsonItems/GeojsonAnimation.d.ts +25 -0
  162. package/types/PlottingTool/Animation/GeojsonItems/GeojsonRepeatAnimation.d.ts +10 -0
  163. package/types/PlottingTool/Animation/GeojsonItems/GeojsonVisibleAnimation.d.ts +5 -0
  164. package/types/PlottingTool/Animation/IAnimation.d.ts +59 -0
  165. package/types/PlottingTool/Animation/Items/ArrowDirectAnimation.d.ts +11 -0
  166. package/types/PlottingTool/Animation/Items/AutoRotationAnimation.d.ts +16 -0
  167. package/types/PlottingTool/Animation/Items/CameraFlyAnimation.d.ts +15 -0
  168. package/types/PlottingTool/Animation/Items/CameraRoamAnimation.d.ts +29 -0
  169. package/types/PlottingTool/Animation/Items/CameraSetAnimation.d.ts +5 -0
  170. package/types/PlottingTool/Animation/Items/ColorAnimation.d.ts +6 -0
  171. package/types/PlottingTool/Animation/Items/DoubleArrowDirectAnimation.d.ts +10 -0
  172. package/types/PlottingTool/Animation/Items/FollowAnimation.d.ts +30 -0
  173. package/types/PlottingTool/Animation/Items/ForwardAnimation.d.ts +7 -0
  174. package/types/PlottingTool/Animation/Items/HideAnimation.d.ts +11 -0
  175. package/types/PlottingTool/Animation/Items/JBDirectAnimation.d.ts +20 -0
  176. package/types/PlottingTool/Animation/Items/ModelAnimation.d.ts +12 -0
  177. package/types/PlottingTool/Animation/Items/NumberAnimation.d.ts +12 -0
  178. package/types/PlottingTool/Animation/Items/PathAnimation.d.ts +44 -0
  179. package/types/PlottingTool/Animation/Items/PathMode.d.ts +18 -0
  180. package/types/PlottingTool/Animation/Items/PathShowAnimation.d.ts +25 -0
  181. package/types/PlottingTool/Animation/Items/PolygonMaskAnimation.d.ts +15 -0
  182. package/types/PlottingTool/Animation/Items/PopulationTimeAnimation.d.ts +7 -0
  183. package/types/PlottingTool/Animation/Items/RepeatAnimation.d.ts +13 -0
  184. package/types/PlottingTool/Animation/Items/ShowAnimation.d.ts +13 -0
  185. package/types/PlottingTool/Animation/Items/ShowTifAnimation.d.ts +10 -0
  186. package/types/PlottingTool/Animation/Items/SpiralAnimation.d.ts +30 -0
  187. package/types/PlottingTool/Animation/Items/StateChangeAnimation.d.ts +7 -0
  188. package/types/PlottingTool/Animation/Items/SurroundAnimation.d.ts +43 -0
  189. package/types/PlottingTool/Animation/Items/TargetFllowAniamtion.d.ts +20 -0
  190. package/types/PlottingTool/Animation/Items/ZoomToFlyAnimation.d.ts +16 -0
  191. package/types/PlottingTool/Animation/MaskBehavior.d.ts +13 -0
  192. package/types/PlottingTool/Animation/PageItems/PageShowAnimation.d.ts +10 -0
  193. package/types/PlottingTool/Animation/SingleAnimation.d.ts +32 -0
  194. package/types/PlottingTool/Arrow/EditorArrowBase.d.ts +10 -0
  195. package/types/PlottingTool/Arrow/EditorArrowLineBase.d.ts +10 -0
  196. package/types/PlottingTool/Arrow/EditorAssaultDirection.d.ts +4 -0
  197. package/types/PlottingTool/Arrow/EditorAttackArrow.d.ts +51 -0
  198. package/types/PlottingTool/Arrow/EditorDoubleArrow.d.ts +82 -0
  199. package/types/PlottingTool/Arrow/EditorFineArrow.d.ts +11 -0
  200. package/types/PlottingTool/Arrow/EditorGatheringPlace.d.ts +10 -0
  201. package/types/PlottingTool/Arrow/EditorSquadCombat.d.ts +9 -0
  202. package/types/PlottingTool/Arrow/EditorStraightLineArrow.d.ts +10 -0
  203. package/types/PlottingTool/Arrow/EditorTailedAttackArrow.d.ts +8 -0
  204. package/types/PlottingTool/Arrow/EditorTailedSquadCombat.d.ts +10 -0
  205. package/types/PlottingTool/Axis3Operator.d.ts +39 -0
  206. package/types/PlottingTool/Common/ICell.d.ts +9 -0
  207. package/types/PlottingTool/Common/IVectorTile.d.ts +16 -0
  208. package/types/PlottingTool/Common/PolygonHelper.d.ts +4 -0
  209. package/types/PlottingTool/Common/RenderGridTextV2.5.d.ts +36 -0
  210. package/types/PlottingTool/Common/geocode.d.ts +21 -0
  211. package/types/PlottingTool/Common.d.ts +26 -0
  212. package/types/PlottingTool/Cube/EditorCubeBase.d.ts +38 -0
  213. package/types/PlottingTool/Cube/EditorCubeBox.d.ts +20 -0
  214. package/types/PlottingTool/Cube/EditorCylinder.d.ts +25 -0
  215. package/types/PlottingTool/Cube/EditorEllipsoid.d.ts +20 -0
  216. package/types/PlottingTool/CurrentList.d.ts +14 -0
  217. package/types/PlottingTool/DataRgister.d.ts +6 -0
  218. package/types/PlottingTool/DataRgisterAudio.d.ts +5 -0
  219. package/types/PlottingTool/DataRgisterTif.d.ts +5 -0
  220. package/types/PlottingTool/DefaultPlottingAttribute.d.ts +1 -0
  221. package/types/PlottingTool/EditHelpLine.d.ts +8 -0
  222. package/types/PlottingTool/EditMode.d.ts +218 -0
  223. package/types/PlottingTool/GVEntityCollection.d.ts +11 -0
  224. package/types/PlottingTool/Graph.d.ts +340 -0
  225. package/types/PlottingTool/GraphFactory.d.ts +7 -0
  226. package/types/PlottingTool/GraphManager.d.ts +145 -0
  227. package/types/PlottingTool/GraphPropStorage.d.ts +10 -0
  228. package/types/PlottingTool/GraphProperty.d.ts +58 -0
  229. package/types/PlottingTool/GraphicRender/CesiumConeCommunicate.d.ts +40 -0
  230. package/types/PlottingTool/GraphicRender/CesiumRender.d.ts +31 -0
  231. package/types/PlottingTool/GraphicRender/Cloud/GxCloudItem.d.ts +82 -0
  232. package/types/PlottingTool/GraphicRender/DynamicProperty.d.ts +14 -0
  233. package/types/PlottingTool/GraphicRender/RenderPlotting.d.ts +20 -0
  234. package/types/PlottingTool/GraphicRender/radar/GxPrimitivePolyline.d.ts +29 -0
  235. package/types/PlottingTool/GraphicRender/radar/GxPrimitiveTriangles.d.ts +30 -0
  236. package/types/PlottingTool/GraphicRender/radar/GxRadarItem.d.ts +93 -0
  237. package/types/PlottingTool/GxClusterDataSource.d.ts +107 -0
  238. package/types/PlottingTool/HeightReferenceGraph.d.ts +7 -0
  239. package/types/PlottingTool/HeightReferencePrimtive.d.ts +8 -0
  240. package/types/PlottingTool/HtmlBox/BoxFactory.d.ts +4 -0
  241. package/types/PlottingTool/HtmlBox/CssProp.d.ts +61 -0
  242. package/types/PlottingTool/HtmlBox/HtmlBox.d.ts +6 -0
  243. package/types/PlottingTool/HtmlBox/HtmlBoxMulti.d.ts +38 -0
  244. package/types/PlottingTool/HtmlBox/WangEditor/fwbconfig.d.ts +3 -0
  245. package/types/PlottingTool/HtmlBox/WangEditor/parse-style-html.d.ts +7 -0
  246. package/types/PlottingTool/HtmlBox/WangEditor/render-style.d.ts +7 -0
  247. package/types/PlottingTool/HtmlBox/WangEditor/stroke-color-config.d.ts +1 -0
  248. package/types/PlottingTool/HtmlBox/WangEditor/style-to-html.d.ts +1 -0
  249. package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-color.d.ts +13 -0
  250. package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-width.d.ts +20 -0
  251. package/types/PlottingTool/HtmlBox/WangEditor/tools.d.ts +7 -0
  252. package/types/PlottingTool/HtmlBox/html-box-base.d.ts +34 -0
  253. package/types/PlottingTool/HtmlBox/html-css-prop.d.ts +3 -0
  254. package/types/PlottingTool/HtmlBox/new-rich-text.d.ts +6 -0
  255. package/types/PlottingTool/HtmlBox/pic-collection.d.ts +17 -0
  256. package/types/PlottingTool/HtmlBox/rich-text.d.ts +6 -0
  257. package/types/PlottingTool/HtmlBox/subtitle-box.d.ts +6 -0
  258. package/types/PlottingTool/HtmlBox/videoBox.d.ts +8 -0
  259. package/types/PlottingTool/Image/EditorHtml.d.ts +36 -0
  260. package/types/PlottingTool/Image/EditorImage.d.ts +10 -0
  261. package/types/PlottingTool/Image/EditorJBPointObject.d.ts +23 -0
  262. package/types/PlottingTool/Image/EditorRedFlag.d.ts +7 -0
  263. package/types/PlottingTool/Interface/LayerConfig.d.ts +22 -0
  264. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyBase.d.ts +17 -0
  265. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolygon.d.ts +11 -0
  266. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyline.d.ts +14 -0
  267. package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolygon.d.ts +41 -0
  268. package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolyline.d.ts +28 -0
  269. package/types/PlottingTool/NoControlPrimitive/EditorGeometryWall.d.ts +18 -0
  270. package/types/PlottingTool/NoControlPrimitive/NoControlPrimitive.d.ts +26 -0
  271. package/types/PlottingTool/NoControlPrimitive/PercentPolyine.d.ts +17 -0
  272. package/types/PlottingTool/PlottingBaseNode.d.ts +40 -0
  273. package/types/PlottingTool/PlottingBehavior.d.ts +91 -0
  274. package/types/PlottingTool/PlottingCommon.d.ts +20 -0
  275. package/types/PlottingTool/Point/ConeCommunicateWave.d.ts +46 -0
  276. package/types/PlottingTool/Point/EditorBasePrimitive.d.ts +12 -0
  277. package/types/PlottingTool/Point/EditorCloud.d.ts +43 -0
  278. package/types/PlottingTool/Point/EditorCommunicateWave.d.ts +44 -0
  279. package/types/PlottingTool/Point/EditorJBPointScreen.d.ts +51 -0
  280. package/types/PlottingTool/Point/EditorModel.d.ts +59 -0
  281. package/types/PlottingTool/Point/EditorParticle.d.ts +37 -0
  282. package/types/PlottingTool/Point/EditorPin.d.ts +55 -0
  283. package/types/PlottingTool/Point/EditorPinCanvas.d.ts +94 -0
  284. package/types/PlottingTool/Point/EditorPinImage.d.ts +110 -0
  285. package/types/PlottingTool/Point/EditorPinMakiIcon.d.ts +13 -0
  286. package/types/PlottingTool/Point/EditorPinText.d.ts +14 -0
  287. package/types/PlottingTool/Point/EditorPlaneText.d.ts +79 -0
  288. package/types/PlottingTool/Point/EditorPoint.d.ts +28 -0
  289. package/types/PlottingTool/Point/EditorRadar.d.ts +80 -0
  290. package/types/PlottingTool/Point/EditorText.d.ts +93 -0
  291. package/types/PlottingTool/Point/EditorText_old.d.ts +58 -0
  292. package/types/PlottingTool/Point/PointJbStrokeSvgHelper.d.ts +28 -0
  293. package/types/PlottingTool/Point/PointJbSvgHelper.d.ts +31 -0
  294. package/types/PlottingTool/Point/UECamera.d.ts +49 -0
  295. package/types/PlottingTool/Polygon/EditorArrow1.d.ts +10 -0
  296. package/types/PlottingTool/Polygon/EditorCircle.d.ts +13 -0
  297. package/types/PlottingTool/Polygon/EditorEllipse.d.ts +12 -0
  298. package/types/PlottingTool/Polygon/EditorFrustum.d.ts +36 -0
  299. package/types/PlottingTool/Polygon/EditorPolygon.d.ts +102 -0
  300. package/types/PlottingTool/Polygon/EditorRectangle.d.ts +40 -0
  301. package/types/PlottingTool/Polygon/EditorRectangleExpand.d.ts +16 -0
  302. package/types/PlottingTool/Polygon/EditorSector.d.ts +16 -0
  303. package/types/PlottingTool/Polyline/EditorBezier1.d.ts +9 -0
  304. package/types/PlottingTool/Polyline/EditorBezier2.d.ts +9 -0
  305. package/types/PlottingTool/Polyline/EditorBezierN.d.ts +9 -0
  306. package/types/PlottingTool/Polyline/EditorBezierSpline.d.ts +9 -0
  307. package/types/PlottingTool/Polyline/EditorCircleArc.d.ts +10 -0
  308. package/types/PlottingTool/Polyline/EditorCurve.d.ts +7 -0
  309. package/types/PlottingTool/Polyline/EditorJBLine.d.ts +8 -0
  310. package/types/PlottingTool/Polyline/EditorPointArc.d.ts +21 -0
  311. package/types/PlottingTool/Polyline/EditorPointLine.d.ts +12 -0
  312. package/types/PlottingTool/Polyline/EditorPointSpline.d.ts +8 -0
  313. package/types/PlottingTool/Polyline/EditorPolyline.d.ts +109 -0
  314. package/types/PlottingTool/Polyline/EditorRoutePolyline.d.ts +16 -0
  315. package/types/PlottingTool/Polyline/plotsList.d.ts +6 -0
  316. package/types/PlottingTool/RegexHelper.d.ts +10 -0
  317. package/types/PlottingTool/Text/EditorAreaText.d.ts +44 -0
  318. package/types/PlottingTool/Text/EditorRouteText.d.ts +64 -0
  319. package/types/PlottingTool/Text/MedianLine.d.ts +22 -0
  320. package/types/PlottingTool/VideoElement/EditorVideo.d.ts +9 -0
  321. package/types/PlottingTool/drawToolExt/DrawAreaTextToolEx.d.ts +19 -0
  322. package/types/PlottingTool/drawToolExt/DrawBillboardToolEx.d.ts +21 -0
  323. package/types/PlottingTool/drawToolExt/DrawCtrlPointToolEx.d.ts +20 -0
  324. package/types/PlottingTool/drawToolExt/DrawHtmlToolEx.d.ts +31 -0
  325. package/types/PlottingTool/drawToolExt/DrawLineToolEx.d.ts +20 -0
  326. package/types/PlottingTool/drawToolExt/DrawMedianPointToolEx.d.ts +15 -0
  327. package/types/PlottingTool/drawToolExt/DrawModelToolEx.d.ts +21 -0
  328. package/types/PlottingTool/drawToolExt/DrawPointToolEx.d.ts +21 -0
  329. package/types/PlottingTool/drawToolExt/DrawPolygonToolEx.d.ts +20 -0
  330. package/types/PlottingTool/drawToolExt/DrawRouteTextToolEx.d.ts +16 -0
  331. package/types/PlottingTool/drawToolExt/DrawTextToolEx.d.ts +21 -0
  332. package/types/PlottingTool/drawToolExt/DrawToolManager.d.ts +60 -0
  333. package/types/PlottingTool/drawToolExt/HitPointToolEx.d.ts +10 -0
  334. package/types/PlottingTool/drawToolExt/HitRectToolEx.d.ts +10 -0
  335. package/types/PlottingTool/drawToolExt/base/List.d.ts +22 -0
  336. package/types/PlottingTool/drawToolExt/calcuteShape.d.ts +3 -0
  337. package/types/PlottingTool/drawToolExt/entity/MaxRecTest.d.ts +21 -0
  338. package/types/PlottingTool/drawToolExt/entity/XZAreaTextEntity.d.ts +36 -0
  339. package/types/PlottingTool/drawToolExt/entity/XZBaseEntity.d.ts +17 -0
  340. package/types/PlottingTool/drawToolExt/entity/XZBillboardEntity.d.ts +17 -0
  341. package/types/PlottingTool/drawToolExt/entity/XZCtrlPointEntity.d.ts +16 -0
  342. package/types/PlottingTool/drawToolExt/entity/XZHtmlEntity.d.ts +15 -0
  343. package/types/PlottingTool/drawToolExt/entity/XZLineEntity.d.ts +20 -0
  344. package/types/PlottingTool/drawToolExt/entity/XZMedianPointEntity.d.ts +16 -0
  345. package/types/PlottingTool/drawToolExt/entity/XZModelEntity.d.ts +17 -0
  346. package/types/PlottingTool/drawToolExt/entity/XZPointEntity.d.ts +16 -0
  347. package/types/PlottingTool/drawToolExt/entity/XZPolygonEntity.d.ts +19 -0
  348. package/types/PlottingTool/drawToolExt/entity/XZRouteTextEntity.d.ts +16 -0
  349. package/types/PlottingTool/drawToolExt/entity/XZTextEntity.d.ts +16 -0
  350. package/types/PlottingTool/drawToolExt/interface/IBase.d.ts +23 -0
  351. package/types/PlottingTool/drawToolExt/interface/ICesium.d.ts +99 -0
  352. package/types/PlottingTool/drawToolExt/interface/IData.d.ts +56 -0
  353. package/types/PlottingTool/drawToolExt/interface/IEntity.d.ts +80 -0
  354. package/types/PlottingTool/drawToolExt/interface/IStyle.d.ts +127 -0
  355. package/types/PlottingTool/drawToolExt/interface/ITool.d.ts +31 -0
  356. package/types/PlottingTool/drawToolExt/interface/geojson.d.ts +192 -0
  357. package/types/PlottingTool/drawToolExt/styles/XZAreaTextStyle.d.ts +14 -0
  358. package/types/PlottingTool/drawToolExt/styles/XZBaseStyle.d.ts +6 -0
  359. package/types/PlottingTool/drawToolExt/styles/XZBillboardStyle.d.ts +9 -0
  360. package/types/PlottingTool/drawToolExt/styles/XZHtmlStyle.d.ts +71 -0
  361. package/types/PlottingTool/drawToolExt/styles/XZLineStyle.d.ts +12 -0
  362. package/types/PlottingTool/drawToolExt/styles/XZModelStyle.d.ts +9 -0
  363. package/types/PlottingTool/drawToolExt/styles/XZPointStyle.d.ts +12 -0
  364. package/types/PlottingTool/drawToolExt/styles/XZPolygonStyle.d.ts +8 -0
  365. package/types/PlottingTool/drawToolExt/styles/XZRouteTextStyle.d.ts +11 -0
  366. package/types/PlottingTool/drawToolExt/styles/XZTextStyle.d.ts +14 -0
  367. package/types/PlottingTool/geojson/EditorGeojsonMultiPolyBase.d.ts +33 -0
  368. package/types/PlottingTool/geojson/EditorGeojsonMultiPolygon.d.ts +28 -0
  369. package/types/PlottingTool/geojson/EditorGeojsonMultiPolyline.d.ts +21 -0
  370. package/types/PlottingTool/geojson/EditorGeojsonPolygon.d.ts +13 -0
  371. package/types/PlottingTool/geojson/EditorGeojsonPolyline.d.ts +13 -0
  372. package/types/PlottingTool/geojson/GeojsonPercentPolyine.d.ts +18 -0
  373. package/types/PlottingTool/geojson/parsePolygon.d.ts +25 -0
  374. package/types/PlottingTool/shareGraph.d.ts +16 -0
  375. package/types/Scene/Analyzation/Measure.d.ts +120 -0
  376. package/types/Scene/EventSource/ContextSizeChanged.d.ts +13 -0
  377. package/types/Scene/GraticuleLayer/Graticule.d.ts +15 -0
  378. package/types/Scene/Sea/RenderSeaPolygon.d.ts +9 -0
  379. package/types/SceneObjects/CustomPrimitive/SharedTexturePool.d.ts +13 -0
  380. package/types/SceneObjects/CustomPrimitive/extrudePolyline.d.ts +1 -0
  381. package/types/SceneObjects/RenderObject/BindedCylinder.d.ts +40 -0
  382. package/types/SceneObjects/RenderObject/Bubble.d.ts +125 -0
  383. package/types/SceneObjects/RenderObject/CesiumBillboard.d.ts +20 -0
  384. package/types/SceneObjects/RenderObject/CesiumCylinder.d.ts +30 -0
  385. package/types/SceneObjects/RenderObject/CesiumEllipse.d.ts +29 -0
  386. package/types/SceneObjects/RenderObject/CesiumEllipsoid.d.ts +29 -0
  387. package/types/SceneObjects/RenderObject/CesiumLabel.d.ts +29 -0
  388. package/types/SceneObjects/RenderObject/CesiumLabelBillboard.d.ts +39 -0
  389. package/types/SceneObjects/RenderObject/CesiumLabelRect.d.ts +33 -0
  390. package/types/SceneObjects/RenderObject/CesiumModel.d.ts +20 -0
  391. package/types/SceneObjects/RenderObject/CesiumOblique.d.ts +33 -0
  392. package/types/SceneObjects/RenderObject/CesiumPoint.d.ts +22 -0
  393. package/types/SceneObjects/RenderObject/CesiumPolygon.d.ts +24 -0
  394. package/types/SceneObjects/RenderObject/CesiumPolyline.d.ts +24 -0
  395. package/types/SceneObjects/RenderObject/CesiumPopover.d.ts +30 -0
  396. package/types/SceneObjects/RenderObject/CesiumRectangle.d.ts +34 -0
  397. package/types/SceneObjects/RenderObject/CesiumSphere.d.ts +29 -0
  398. package/types/SceneObjects/RenderObject/CesiumVolumePolyline.d.ts +32 -0
  399. package/types/SceneObjects/RenderObject/CesiumWall.d.ts +29 -0
  400. package/types/SceneObjects/RenderObject/CircularRender.d.ts +24 -0
  401. package/types/SceneObjects/RenderObject/CustomLabelRender.d.ts +23 -0
  402. package/types/SceneObjects/RenderObject/CylinderSensor.d.ts +47 -0
  403. package/types/SceneObjects/RenderObject/DashBoardEffect.d.ts +39 -0
  404. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemFlame.d.ts +42 -0
  405. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemPath.d.ts +182 -0
  406. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemState.d.ts +7 -0
  407. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemStyle.d.ts +182 -0
  408. package/types/SceneObjects/RenderObject/DynamicItem/DynamicTimePositions.d.ts +102 -0
  409. package/types/SceneObjects/RenderObject/DynamicItem/HistoryTrack.d.ts +159 -0
  410. package/types/SceneObjects/RenderObject/DynamicItem/WarningTarget.d.ts +36 -0
  411. package/types/SceneObjects/RenderObject/DynamicRippleEffect.d.ts +23 -0
  412. package/types/SceneObjects/RenderObject/Flag.d.ts +43 -0
  413. package/types/SceneObjects/RenderObject/GradientSector.d.ts +46 -0
  414. package/types/SceneObjects/RenderObject/Graphics/GraphicGroup.d.ts +113 -0
  415. package/types/SceneObjects/RenderObject/RenderObject.d.ts +37 -0
  416. package/types/SceneObjects/RenderObject/RenderUtils.d.ts +35 -0
  417. package/types/SceneObjects/RenderObject/ScanEffect.d.ts +40 -0
  418. package/types/SceneObjects/RenderObject/SectorSensor.d.ts +42 -0
  419. package/types/SceneObjects/RenderObject/SensorRender.d.ts +15 -0
  420. package/types/SceneObjects/RenderObject/SpreadEffect.d.ts +47 -0
  421. package/types/SceneObjects/RenderObject/WaterEffect.d.ts +31 -0
  422. package/types/SceneObjects/RenderObject/WeatherParticle.d.ts +30 -0
  423. package/types/SceneObjects/ViewshedAnalysis.d.ts +98 -0
  424. package/types/SceneObjects/_shared/Destroyable.d.ts +9 -0
  425. package/types/SceneObjects/_shared/ResourceHandler.d.ts +14 -0
  426. package/types/SceneObjects/_shared/destroyObject.d.ts +18 -0
  427. package/types/Service/SceneOptions/Graticule.d.ts +15 -0
  428. package/types/Service/action.service.d.ts +92 -0
  429. package/types/Service/advance-html.service.d.ts +12 -0
  430. package/types/Service/animation.service.d.ts +84 -0
  431. package/types/Service/cesium.service.d.ts +85 -0
  432. package/types/Service/cluster.service.d.ts +7 -0
  433. package/types/Service/config.service.d.ts +24 -0
  434. package/types/Service/drawServices/VectorRender/renderModels.d.ts +13 -0
  435. package/types/Service/drawbigfile.service.d.ts +24 -0
  436. package/types/Service/fwbconfig.d.ts +3 -0
  437. package/types/Service/geojson-plot.service.d.ts +21 -0
  438. package/types/Service/html-draw.service.d.ts +134 -0
  439. package/types/Service/http.service.d.ts +15 -0
  440. package/types/Service/layers.service.d.ts +34 -0
  441. package/types/Service/logicService/point.service.d.ts +60 -0
  442. package/types/Service/message.service.d.ts +4 -0
  443. package/types/Service/music.service.d.ts +23 -0
  444. package/types/Service/parse-style-html.d.ts +7 -0
  445. package/types/Service/plot.service.d.ts +115 -0
  446. package/types/Service/property.service.d.ts +52 -0
  447. package/types/Service/render-style.d.ts +7 -0
  448. package/types/Service/richTextEdit.service.d.ts +35 -0
  449. package/types/Service/sceneServices/BigFileManager.d.ts +12 -0
  450. package/types/Service/sceneServices/CesiumManager.d.ts +18 -0
  451. package/types/Service/sceneServices/EagleManager.d.ts +35 -0
  452. package/types/Service/sceneServices/HtmlDrawManager.d.ts +12 -0
  453. package/types/Service/sceneServices/ImageEffectManager.d.ts +19 -0
  454. package/types/Service/sceneServices/LayerManage.d.ts +61 -0
  455. package/types/Service/sceneServices/MusicManager.d.ts +10 -0
  456. package/types/Service/sceneServices/PageAnimationManager.d.ts +39 -0
  457. package/types/Service/sceneServices/SubtitleManager.d.ts +6 -0
  458. package/types/Service/sceneServices/TerrainManager.d.ts +11 -0
  459. package/types/Service/sceneServices/sceneManager.d.ts +71 -0
  460. package/types/Service/sceneServices/snap.d.ts +33 -0
  461. package/types/Service/service.manager.d.ts +174 -0
  462. package/types/Service/stroke-color-config.d.ts +1 -0
  463. package/types/Service/style-to-html.d.ts +1 -0
  464. package/types/Service/terrain.service.d.ts +11 -0
  465. package/types/Service/text-stroke-color.d.ts +13 -0
  466. package/types/Service/text-stroke-width.d.ts +20 -0
  467. package/types/Service/tools.d.ts +7 -0
  468. package/types/Utils/Calculate.d.ts +212 -0
  469. package/types/Utils/Check.d.ts +98 -0
  470. package/types/Utils/DateHelper.d.ts +30 -0
  471. package/types/Utils/GxMath.d.ts +102 -0
  472. package/types/Utils/GxVector3.d.ts +7 -0
  473. package/types/Utils/HtmlUtil.d.ts +12 -0
  474. package/types/Utils/MilsymbolHelper.d.ts +20 -0
  475. package/types/Utils/TokenHelper.d.ts +36 -0
  476. package/types/Utils/Util.d.ts +204 -0
  477. package/types/Utils/d3Clock.d.ts +11 -0
  478. package/types/Utils/index.d.ts +17 -0
  479. package/types/Utils/pinyin.static.d.ts +375 -0
  480. package/types/Utils/pinyin.tool.d.ts +5 -0
  481. package/types/Utils/pinyin_all.d.ts +20 -0
  482. package/types/Utils/ready.d.ts +3 -0
  483. package/types/Utils/tools.d.ts +31 -0
  484. package/types/index.d.ts +98 -0
  485. package/types/index.html +35 -0
@@ -0,0 +1,23 @@
1
+ import { GeoJSONObject, Geometries, GeometryTypes, Properties } from './geojson';
2
+ export interface IFeature extends GeoJSONObject {
3
+ id?: string;
4
+ geometry: GeometriesEx | null;
5
+ properties: Properties | null;
6
+ }
7
+ export type DataTypes = GeometryTypes;
8
+ export type GeometriesEx = Geometries;
9
+ export type OperTypes = "none" | "select" | "rectSelect" | DataTypes | "Text" | "CtrlPoint" | "RouteText" | "AreaText" | "Html" | "Billboard" | "Model" | "MedianPoint";
10
+ export interface IRect {
11
+ x0: number;
12
+ y0: number;
13
+ x1: number;
14
+ y1: number;
15
+ }
16
+ export interface IKeyEvent {
17
+ key: string;
18
+ oper: "keyup" | "keydown";
19
+ }
20
+ export type changeTypes = "none" | "add" | "remove" | "clear" | "update" | "updateAll";
21
+ export interface IID {
22
+ id?: string;
23
+ }
@@ -0,0 +1,99 @@
1
+ export type CesiumRenderTypes = "Point" | "Polyline" | "Polygon" | "Text" | "RouteText" | "AreaText" | "Billboard" | "Model";
2
+ export type ICesiumEntity = ICesiumPointPrimitive | ICesiumPolylinePrimitive | ICesiumLabel | ICesiumBillboard | ICesiumModel;
3
+ interface ICesiumPointPrimitive {
4
+ type: "Point";
5
+ show?: boolean;
6
+ position?: Cesium.Cartesian3;
7
+ scaleByDistance?: Cesium.NearFarScalar;
8
+ translucencyByDistance?: Cesium.NearFarScalar;
9
+ pixelSize?: number;
10
+ color?: Cesium.Color;
11
+ outlineColor?: Cesium.Color;
12
+ outlineWidth?: number;
13
+ id?: any;
14
+ distanceDisplayCondition?: Cesium.DistanceDisplayCondition;
15
+ }
16
+ interface ICesiumPolylinePrimitive {
17
+ type: "Polyline";
18
+ positions?: Cesium.Cartesian3[];
19
+ width?: number;
20
+ material?: Cesium.Material;
21
+ show?: boolean;
22
+ id?: string;
23
+ loop: true;
24
+ }
25
+ interface ICesiumBillboard {
26
+ type: "Polygon";
27
+ show?: boolean;
28
+ position?: Cesium.Cartesian3;
29
+ pixelOffset?: Cesium.Cartesian2;
30
+ scaleByDistance?: Cesium.NearFarScalar;
31
+ translucencyByDistance?: Cesium.NearFarScalar;
32
+ pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
33
+ eyeOffset?: Cesium.Cartesian3;
34
+ horizontalOrigin?: Cesium.HorizontalOrigin;
35
+ verticalOrigin?: Cesium.VerticalOrigin;
36
+ scale?: number;
37
+ color?: Cesium.Color;
38
+ rotation?: number;
39
+ alignedAxis?: Cesium.Cartesian3;
40
+ width?: number;
41
+ height?: number;
42
+ id?: any;
43
+ image?: string;
44
+ ready?: boolean;
45
+ }
46
+ interface ICesiumModel {
47
+ type: "Model";
48
+ activeAnimations?: Cesium.ModelAnimationCollection;
49
+ allowPicking?: boolean;
50
+ readonlyasynchronous?: boolean;
51
+ basePath?: string;
52
+ boundingSphere?: Cesium.BoundingSphere;
53
+ clampAnimations?: boolean;
54
+ color?: Cesium.Color;
55
+ colorBlendAmount?: number;
56
+ colorBlendMode?: Cesium.ColorBlendMode;
57
+ debugShowBoundingVolume?: boolean;
58
+ debugWireframe?: boolean;
59
+ gltf?: any;
60
+ id?: any;
61
+ incrementallyLoadTextures?: boolean;
62
+ maximumScale?: number;
63
+ minimumPixelSize?: number;
64
+ modelMatrix?: Cesium.Matrix4;
65
+ pendingTextureLoads?: number;
66
+ ready?: boolean;
67
+ readyPromise?: Promise<Cesium.Model>;
68
+ scale?: number;
69
+ shadows?: Cesium.ShadowMode;
70
+ show?: boolean;
71
+ silhouetteColor?: Cesium.Color;
72
+ silhouetteSize?: number;
73
+ url?: string;
74
+ credit?: string;
75
+ }
76
+ interface ICesiumLabel {
77
+ type: "Label";
78
+ show?: boolean;
79
+ position?: Cesium.Cartesian3;
80
+ text?: string;
81
+ font?: string;
82
+ fillColor?: Cesium.Color;
83
+ outlineColor?: Cesium.Color;
84
+ outlineWidth?: number;
85
+ style?: Cesium.LabelStyle;
86
+ pixelOffset?: Cesium.Cartesian2;
87
+ translucencyByDistance?: Cesium.NearFarScalar;
88
+ pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
89
+ eyeOffset?: Cesium.Cartesian3;
90
+ horizontalOrigin?: Cesium.HorizontalOrigin;
91
+ verticalOrigin?: Cesium.VerticalOrigin;
92
+ scale?: number;
93
+ id?: any;
94
+ distanceDisplayCondition?: Cesium.IDistanceDisplayCondition;
95
+ backgroundColor?: Cesium.Color;
96
+ showBackground?: boolean;
97
+ scaleByDistance?: Cesium.NearFarScalar;
98
+ }
99
+ export {};
@@ -0,0 +1,56 @@
1
+ import { LineString, Point, Polygon, Properties } from './geojson';
2
+ import { IFeature, OperTypes } from './IBase';
3
+ import { ICtrlPointStyle, ILineStyle, IPointStyle, IRouteTextStyle, IStyles, ITextStyle, IAreaTextStyle } from './IStyle';
4
+ export interface IXZData extends IFeature {
5
+ type: OperTypes;
6
+ name?: string;
7
+ style?: IStyles;
8
+ }
9
+ export interface IXZPointData extends IXZData {
10
+ type: "Point";
11
+ geometry: Point | null;
12
+ properties: Properties | null;
13
+ style?: IPointStyle;
14
+ }
15
+ export interface IXZCtrlPointData extends IXZData {
16
+ type: "CtrlPoint";
17
+ geometry: Point | null;
18
+ properties: Properties | null;
19
+ style?: ICtrlPointStyle;
20
+ }
21
+ export interface IXZTextData extends IXZData {
22
+ type: "Text";
23
+ geometry: Point | null;
24
+ properties: Properties | null;
25
+ style?: ITextStyle;
26
+ }
27
+ export interface IXZLineData extends IXZData {
28
+ type: "LineString";
29
+ geometry: LineString | null;
30
+ properties: Properties | null;
31
+ style?: ILineStyle;
32
+ }
33
+ export interface IXZRouteTextData extends IXZData {
34
+ type: "RouteText";
35
+ geometry: LineString | null;
36
+ properties: Properties | null;
37
+ style?: IRouteTextStyle;
38
+ }
39
+ export interface IXZAreaTextData extends IXZData {
40
+ type: "AreaText";
41
+ geometry: Polygon | null;
42
+ properties: Properties | null;
43
+ style?: IAreaTextStyle;
44
+ }
45
+ export interface IXZPolygonData extends IXZData {
46
+ type: "Polygon";
47
+ geometry: Polygon | null;
48
+ properties: Properties | null;
49
+ width: number;
50
+ }
51
+ export interface IXZHtmlData extends IXZData {
52
+ type: "Html";
53
+ geometry: Polygon | null;
54
+ properties: Properties | null;
55
+ }
56
+ export type IData = IXZPointData | IXZLineData | IXZPolygonData | IXZTextData | IXZCtrlPointData | IXZHtmlData;
@@ -0,0 +1,80 @@
1
+ import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
2
+ import { Id, LineString, Point, Polygon, Properties } from './geojson';
3
+ import { IXZData } from './IData';
4
+ import { ICtrlPointStyle, ILineStyle, IPointStyle, IHtmlStyle, IRouteTextStyle, IAreaTextStyle, ITextStyle, IBillboardStyle, IModelStyle, IMedianPointStyle } from './IStyle';
5
+ export interface IXZEntity extends IXZData {
6
+ ctrls?: IEntity[];
7
+ temp?: IXZEntityTempProperty;
8
+ render?(rc: RenderContext): any;
9
+ highlight?(): any;
10
+ unHighlight?(): any;
11
+ pointHitTest?(id: Id): IEntity | null;
12
+ getPointHitTest?(id: Id, entity: IXZEntity): any;
13
+ }
14
+ export interface IXZEntityTempProperty {
15
+ _highlight?: any;
16
+ _parent?: IEntity | null;
17
+ }
18
+ export interface IXZPointEntity extends IXZEntity {
19
+ geometry: Point | null;
20
+ properties: Properties | null;
21
+ style?: IPointStyle;
22
+ }
23
+ export interface IXZCtrlPointEntity extends IXZEntity {
24
+ geometry: Point | null;
25
+ properties: Properties | null;
26
+ style?: ICtrlPointStyle;
27
+ }
28
+ export interface IXZMedianPointEntity extends IXZEntity {
29
+ geometry: Point | null;
30
+ properties: Properties | null;
31
+ style?: IMedianPointStyle;
32
+ }
33
+ export interface IXZTextEntity extends IXZEntity {
34
+ geometry: Point | null;
35
+ properties: Properties | null;
36
+ style?: ITextStyle;
37
+ }
38
+ export interface IXZLineEntity extends IXZEntity {
39
+ geometry: LineString | null;
40
+ properties: Properties | null;
41
+ style?: ILineStyle;
42
+ ctrls?: IEntity[];
43
+ medians?: IEntity[];
44
+ }
45
+ export interface IXZRouteTextEntity extends IXZEntity {
46
+ geometry: LineString | null;
47
+ properties: Properties | null;
48
+ style?: IRouteTextStyle;
49
+ ctrls?: IEntity[];
50
+ }
51
+ export interface IXZAreaTextEntity extends IXZEntity {
52
+ geometry: Polygon | null;
53
+ properties: Properties | null;
54
+ style?: IAreaTextStyle;
55
+ ctrls?: IEntity[];
56
+ getRectangle?(ctrls: any): any;
57
+ }
58
+ export interface IXZHtmlEntity extends IXZEntity {
59
+ geometry: Polygon | null;
60
+ properties: Properties | null;
61
+ style?: IHtmlStyle;
62
+ ctrls?: IEntity[];
63
+ }
64
+ export interface IXZPolygonEntity extends IXZEntity {
65
+ geometry: Polygon | null;
66
+ properties: Properties | null;
67
+ _controls?: IXZPointEntity[];
68
+ medians?: IEntity[];
69
+ }
70
+ export interface IXZBillboardEntity extends IXZEntity {
71
+ geometry: Point | null;
72
+ properties: Properties | null;
73
+ style?: IBillboardStyle;
74
+ }
75
+ export interface IXZModelEntity extends IXZEntity {
76
+ geometry: Point | null;
77
+ properties: Properties | null;
78
+ style?: IModelStyle;
79
+ }
80
+ export type IEntity = IXZPointEntity | IXZLineEntity | IXZPolygonEntity | IXZTextEntity | IXZCtrlPointEntity | IXZRouteTextEntity | IXZAreaTextEntity | IXZHtmlEntity | IXZBillboardEntity | IXZModelEntity | IXZMedianPointEntity;
@@ -0,0 +1,127 @@
1
+ export interface IStyle {
2
+ id?: string;
3
+ }
4
+ export interface IBaseStyle extends IStyle {
5
+ alpha?: number;
6
+ color?: string;
7
+ show?: boolean;
8
+ }
9
+ export interface IPointStyle extends IStyle {
10
+ alpha?: number;
11
+ color?: string;
12
+ show?: boolean;
13
+ size: number;
14
+ outlineWidth?: number;
15
+ outlineColor?: string;
16
+ scaleByDistance?: any;
17
+ scaleDistance_near?: number;
18
+ distanceDisplayCondition?: any;
19
+ distanceDisplay_near?: number;
20
+ distanceDisplay_far?: number;
21
+ }
22
+ export interface ICtrlPointStyle extends IStyle {
23
+ alpha?: number;
24
+ color?: string;
25
+ show?: boolean;
26
+ pixelSize: number;
27
+ outlineWidth?: number;
28
+ outlineColor?: string;
29
+ }
30
+ export interface IMedianPointStyle extends IStyle {
31
+ alpha?: number;
32
+ color?: string;
33
+ show?: boolean;
34
+ pixelSize: number;
35
+ outlineWidth?: number;
36
+ outlineColor?: string;
37
+ }
38
+ export interface ITextStyle extends IStyle {
39
+ alpha?: number;
40
+ color?: string;
41
+ show?: boolean;
42
+ outlineWidth?: number;
43
+ outlineColor?: string;
44
+ textSize: number;
45
+ font: string;
46
+ backgroundColor?: string;
47
+ }
48
+ export interface ILineStyle extends IStyle {
49
+ alpha?: number;
50
+ color?: string;
51
+ show?: boolean;
52
+ width: number;
53
+ outlineWidth?: number;
54
+ outlineColor?: string;
55
+ lineType?: number;
56
+ curve?: boolean;
57
+ }
58
+ export interface IRouteTextStyle extends IStyle {
59
+ alpha?: number;
60
+ color?: string;
61
+ show?: boolean;
62
+ outlineWidth?: number;
63
+ outlineColor?: string;
64
+ textSize: number;
65
+ font: string;
66
+ backgroundColor?: string;
67
+ width?: number;
68
+ routeshow?: boolean;
69
+ }
70
+ export interface IAreaTextStyle extends IStyle {
71
+ alpha?: number;
72
+ color?: string;
73
+ show?: boolean;
74
+ outlineWidth?: number;
75
+ outlineColor?: string;
76
+ textSize: number;
77
+ font: string;
78
+ backgroundColor?: string;
79
+ width?: number;
80
+ areashow?: boolean;
81
+ }
82
+ export interface IHtmlStyle extends IStyle {
83
+ show?: boolean;
84
+ innerHtml?: string;
85
+ backgroundOpacity?: number;
86
+ top?: number;
87
+ left?: number;
88
+ height?: number;
89
+ width?: number;
90
+ paddingTop?: number;
91
+ paddingLeft?: number;
92
+ backgroundColor?: string;
93
+ textAlign?: string;
94
+ fontSize?: number;
95
+ fontFamily?: string;
96
+ lineHeight?: number;
97
+ fontColor?: string;
98
+ fontWeight?: number;
99
+ backgroundImage?: string;
100
+ backgroundPosition?: string;
101
+ backgroundSize?: string;
102
+ borderWidth?: number;
103
+ borderColor?: string;
104
+ borderStyle?: string;
105
+ element?: HTMLElement | undefined;
106
+ }
107
+ export interface IBillboardStyle extends IStyle {
108
+ alpha?: number;
109
+ color?: string;
110
+ show?: boolean;
111
+ scale?: number;
112
+ image?: string;
113
+ }
114
+ export interface IModelStyle extends IStyle {
115
+ alpha?: number;
116
+ color?: string;
117
+ show?: boolean;
118
+ scale?: number;
119
+ url?: string;
120
+ }
121
+ export interface IPolygonStyle extends IStyle {
122
+ alpha?: number;
123
+ color?: string;
124
+ show?: boolean;
125
+ outlineColor?: string;
126
+ }
127
+ export type IStyles = IPointStyle | ICtrlPointStyle | ITextStyle | ILineStyle | IHtmlStyle | IAreaTextStyle | IRouteTextStyle | IMedianPointStyle;
@@ -0,0 +1,31 @@
1
+ import { List } from '../base/List';
2
+ import { OperTypes } from './IBase';
3
+ import { IEntity } from './IEntity';
4
+ export interface IDrawToolManager {
5
+ needChange(flag: boolean): any;
6
+ entities: List<IEntity>;
7
+ getTool(type: OperTypes): IDrawTool | null;
8
+ select: IEntity | IEntity[] | null;
9
+ editItem: IEntity | null;
10
+ cesiumActionService: any;
11
+ }
12
+ export interface IDrawTool {
13
+ entity: IEntity | null;
14
+ type: OperTypes;
15
+ context: IDrawToolManager;
16
+ quickOperate?: Array<string>;
17
+ MouseLeftDown?(lon: number, lat: number, alt: number, keycodes: Set<string>): any;
18
+ MouseLeftUp?(lon: number, lat: number, alt: number, keycodes: Set<string>): any;
19
+ MouseRightUp?(lon: number, lat: number, alt: number, keycodes: Set<string>): any;
20
+ MouseMove?(start: number[], end: number[]): any;
21
+ MouseLeftDown2D?(event: any): any;
22
+ MouseLeftUp2D?(event: any): any;
23
+ MouseRightUp2D?(event: any): any;
24
+ MouseMove2D?(event: any): any;
25
+ movePosition?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
26
+ moveHeight?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
27
+ moveScale?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
28
+ init(context: IDrawToolManager): any;
29
+ /** 创建结束 */
30
+ onCreateFinished?: () => void;
31
+ }
@@ -0,0 +1,192 @@
1
+ /**
2
+ * GeometryTypes
3
+ *
4
+ * https://tools.ietf.org/html/rfc7946#section-1.4
5
+ * The valid values for the "type" property of GeoJSON geometry objects.
6
+ */
7
+ export type GeometryTypes = "Point" | "LineString" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon";
8
+ export type CollectionTypes = "FeatureCollection" | "GeometryCollection";
9
+ /**
10
+ * Types
11
+ *
12
+ * https://tools.ietf.org/html/rfc7946#section-1.4
13
+ * The value values for the "type" property of GeoJSON Objects.
14
+ */
15
+ export type Types = "Feature" | GeometryTypes | CollectionTypes;
16
+ /**
17
+ * Bounding box
18
+ *
19
+ * https://tools.ietf.org/html/rfc7946#section-5
20
+ * A GeoJSON object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.
21
+ * The value of the bbox member MUST be an array of length 2*n where n is the number of dimensions represented in the contained geometries,
22
+ * with all axes of the most southwesterly point followed by all axes of the more northeasterly point.
23
+ * The axes order of a bbox follows the axes order of geometries.
24
+ */
25
+ export type BBox2d = [number, number, number, number];
26
+ export type BBox3d = [number, number, number, number, number, number];
27
+ export type BBox = BBox2d | BBox3d;
28
+ /**
29
+ * Id
30
+ *
31
+ * https://tools.ietf.org/html/rfc7946#section-3.2
32
+ * If a Feature has a commonly used identifier, that identifier SHOULD be included as a member of
33
+ * the Feature object with the name "id", and the value of this member is either a JSON string or number.
34
+ */
35
+ export type Id = string | number;
36
+ /**
37
+ * Position
38
+ *
39
+ * https://tools.ietf.org/html/rfc7946#section-3.1.1
40
+ * Array should contain between two and three elements.
41
+ * The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
42
+ * but the current specification only allows X, Y, and (optionally) Z to be defined.
43
+ */
44
+ export type Position = number[];
45
+ /**
46
+ * Properties
47
+ *
48
+ * https://tools.ietf.org/html/rfc7946#section-3.2
49
+ * A Feature object has a member with the name "properties".
50
+ * The value of the properties member is an object (any JSON object or a JSON null value).
51
+ */
52
+ export type Properties = {
53
+ [name: string]: any;
54
+ } | null;
55
+ /**
56
+ * Geometries
57
+ */
58
+ export type Geometries = Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon;
59
+ /**
60
+ * GeoJSON Object
61
+ *
62
+ * https://tools.ietf.org/html/rfc7946#section-3
63
+ * The GeoJSON specification also allows [foreign members](https://tools.ietf.org/html/rfc7946#section-6.1)
64
+ * Developers should use "&" type in TypeScript or extend the interface to add these foreign members.
65
+ */
66
+ export interface GeoJSONObject {
67
+ /**
68
+ * Specifies the type of GeoJSON object.
69
+ */
70
+ type: string;
71
+ /**
72
+ * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections.
73
+ * https://tools.ietf.org/html/rfc7946#section-5
74
+ */
75
+ bbox?: BBox;
76
+ }
77
+ /**
78
+ * Geometry Object
79
+ *
80
+ * https://tools.ietf.org/html/rfc7946#section-3
81
+ */
82
+ export interface GeometryObject extends GeoJSONObject {
83
+ type: GeometryTypes;
84
+ }
85
+ /**
86
+ * Geometry
87
+ *
88
+ * https://tools.ietf.org/html/rfc7946#section-3
89
+ */
90
+ export interface Geometry extends GeoJSONObject {
91
+ coordinates: Position | Position[] | Position[][] | Position[][][];
92
+ }
93
+ /**
94
+ * Point Geometry Object
95
+ *
96
+ * https://tools.ietf.org/html/rfc7946#section-3.1.2
97
+ */
98
+ export interface Point extends GeometryObject {
99
+ type: "Point";
100
+ coordinates: Position;
101
+ }
102
+ /**
103
+ * MultiPoint Geometry Object
104
+ *
105
+ * https://tools.ietf.org/html/rfc7946#section-3.1.3
106
+ */
107
+ export interface MultiPoint extends GeometryObject {
108
+ type: "MultiPoint";
109
+ coordinates: Position[];
110
+ }
111
+ /**
112
+ * LineString Geometry Object
113
+ *
114
+ * https://tools.ietf.org/html/rfc7946#section-3.1.4
115
+ */
116
+ export interface LineString extends GeometryObject {
117
+ type: "LineString";
118
+ coordinates: Position[];
119
+ }
120
+ /**
121
+ * MultiLineString Geometry Object
122
+ *
123
+ * https://tools.ietf.org/html/rfc7946#section-3.1.5
124
+ */
125
+ export interface MultiLineString extends GeometryObject {
126
+ type: "MultiLineString";
127
+ coordinates: Position[][];
128
+ }
129
+ /**
130
+ * Polygon Geometry Object
131
+ *
132
+ * https://tools.ietf.org/html/rfc7946#section-3.1.6
133
+ */
134
+ export interface Polygon extends GeometryObject {
135
+ type: "Polygon";
136
+ coordinates: Position[][];
137
+ }
138
+ /**
139
+ * MultiPolygon Geometry Object
140
+ *
141
+ * https://tools.ietf.org/html/rfc7946#section-3.1.7
142
+ */
143
+ export interface MultiPolygon extends GeometryObject {
144
+ type: "MultiPolygon";
145
+ coordinates: Position[][][];
146
+ }
147
+ /**
148
+ * GeometryCollection
149
+ *
150
+ * https://tools.ietf.org/html/rfc7946#section-3.1.8
151
+ *
152
+ * A GeoJSON object with type "GeometryCollection" is a Geometry object.
153
+ * A GeometryCollection has a member with the name "geometries".
154
+ * The value of "geometries" is an array. Each element of this array is a GeoJSON Geometry object.
155
+ * It is possible for this array to be empty.
156
+ */
157
+ export interface GeometryCollection extends GeoJSONObject {
158
+ type: "GeometryCollection";
159
+ geometries: Geometries[];
160
+ }
161
+ /**
162
+ * Feature
163
+ *
164
+ * https://tools.ietf.org/html/rfc7946#section-3.2
165
+ * A Feature object represents a spatially bounded thing.
166
+ * Every Feature object is a GeoJSON object no matter where it occurs in a GeoJSON text.
167
+ */
168
+ export interface Feature<G = Geometry | GeometryCollection, P = Properties> extends GeoJSONObject {
169
+ type: "Feature";
170
+ geometry: G | null;
171
+ /**
172
+ * A value that uniquely identifies this feature in a
173
+ * https://tools.ietf.org/html/rfc7946#section-3.2.
174
+ */
175
+ id?: Id;
176
+ /**
177
+ * Properties associated with this feature.
178
+ */
179
+ properties: P | null;
180
+ }
181
+ /**
182
+ * Feature Collection
183
+ *
184
+ * https://tools.ietf.org/html/rfc7946#section-3.3
185
+ * A GeoJSON object with the type "FeatureCollection" is a FeatureCollection object.
186
+ * A FeatureCollection object has a member with the name "features".
187
+ * The value of "features" is a JSON array. Each element of the array is a Feature object as defined above.
188
+ * It is possible for this array to be empty.
189
+ */
190
+ export interface FeatureCollection<G = Geometry | GeometryCollection, P = Properties> extends GeoJSONObject {
191
+ features: Array<Feature<G, P>>;
192
+ }
@@ -0,0 +1,14 @@
1
+ import { IAreaTextStyle } from "../interface/IStyle";
2
+ export declare class XZAreaTextStyle implements IAreaTextStyle {
3
+ constructor(options: IAreaTextStyle);
4
+ show?: boolean;
5
+ areashow?: boolean;
6
+ color?: string;
7
+ alpha?: number;
8
+ outlineWidth: number;
9
+ outlineColor: string;
10
+ width?: number;
11
+ textSize: number;
12
+ font: string;
13
+ backgroundColor: string;
14
+ }
@@ -0,0 +1,6 @@
1
+ import { IBaseStyle } from '../interface/IStyle';
2
+ export declare class XZBaseStyle implements IBaseStyle {
3
+ alpha?: number;
4
+ color?: string;
5
+ show?: boolean;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { IBillboardStyle } from '../interface/IStyle';
2
+ export declare class XZBillboardStyle implements IBillboardStyle {
3
+ constructor(options: IBillboardStyle);
4
+ show?: boolean;
5
+ color?: string;
6
+ alpha?: number;
7
+ scale?: number;
8
+ image?: string;
9
+ }