@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,4 @@
1
+ import measureText from "../ThirdParty/xz_measureText";
2
+ export default class MeasureSize {
3
+ static measureSize(text: any, options: any): measureText;
4
+ }
@@ -0,0 +1,27 @@
1
+ export default class WriteTextToCanvas {
2
+ static spritConfig: any;
3
+ static spriteUrl: string;
4
+ static loadSpritConfig(iconName: any): Promise<any>;
5
+ /**
6
+ * Writes the given text into a new canvas. The canvas will be sized to fit the text.
7
+ * If text is blank, returns undefined.
8
+ *
9
+ * @param {String} text The text to write.
10
+ * @param {Object} [options] Object with the following properties:
11
+ * @param {String} [options.font='10px sans-serif'] The CSS font to use.
12
+ * @param {String} [options.textBaseline='bottom'] The baseline of the text.
13
+ * @param {Boolean} [options.fill=true] Whether to fill the text.
14
+ * @param {Boolean} [options.stroke=false] Whether to stroke the text.
15
+ * @param {Color} [options.fillColor=Color.WHITE] The fill color.
16
+ * @param {Color} [options.strokeColor=Color.BLACK] The stroke color.
17
+ * @param {Number} [options.strokeWidth=1] The stroke width.
18
+ * @param {Color} [options.backgroundColor=Color.TRANSPARENT] The background color of the canvas.
19
+ * @param {Number} [options.padding=0] The pixel size of the padding to add around the text.
20
+ * @returns {Canvas} A new canvas with the given text drawn into it. The dimensions object
21
+ * from measureText will also be added to the returned canvas. If text is
22
+ * blank, returns undefined.
23
+ * @exports writeTextToCanvas
24
+ */
25
+ static writeTextToCanvas(text: any, offcanvas: any, metric: any, options: any): Promise<any>;
26
+ static writeTextToCanvas1(text: string, metric: any, options: any): any;
27
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ @license
3
+ fontmetrics.js - https://github.com/Pomax/fontmetrics.js
4
+
5
+ Copyright (C) 2011 by Mike "Pomax" Kamermans
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
24
+ **/
25
+ export default class measureText {
26
+ /**
27
+ * The new text metrics function
28
+ */
29
+ constructor(context2D: any, textstring: any, stroke: any, fill: any);
30
+ }
@@ -0,0 +1,72 @@
1
+ /**
2
+ * @类型 需要创建的虚拟类一般由内部类继承
3
+ * @描述 事件分发类可以实现事件的注册监、注销监听、事件激活等方法
4
+ */
5
+ export declare class Event {
6
+ protected _events: any;
7
+ protected _firingCount: any;
8
+ /**
9
+ * 添加对象的事件监听方法(事件对象基础方法)
10
+ * @param type 监听事件类型
11
+ * @param fn 监听回调函数
12
+ * @param context 上下文
13
+ * ```
14
+ * 示例代码:
15
+ * const fun = function(info) {
16
+ * console.log('监听事件');
17
+ * console.log(info);
18
+ * }
19
+ * event.on('add', fun); //监听添加事件
20
+ * ```
21
+ */
22
+ on(type: string, fn: Function, context?: any): this;
23
+ /**
24
+ * 监听
25
+ * @param type
26
+ * @param fn
27
+ * @param context
28
+ */
29
+ private _on;
30
+ /**
31
+ * 移除对象的事件监听方法(事件对象基础方法)
32
+ * @param type 要删除的监听事件类型
33
+ * @param fn 要删除的监听回调函数,为空时清空所有回调函数
34
+ * @param context 上下文
35
+ * @return
36
+ * ```
37
+ * 代码示例:
38
+ * event.off('add',fun);
39
+ * ```
40
+ */
41
+ off(type: string, fn: Function, context?: any): void;
42
+ /**
43
+ * 事件移除
44
+ * @param type
45
+ * @param fn
46
+ * @param context
47
+ */
48
+ private _off;
49
+ /**
50
+ * 激活对象的某个监听事件,可以附件数据,并可以传递给父对象(事件对象基础方法)
51
+ * @method fire
52
+ * @param type 事件名称
53
+ * @param data 监听时(on)收到的数据
54
+ * @return
55
+ * ```
56
+ * 示例代码:
57
+ * const info = {} //监听时(on)收到的数据
58
+ * event.fire('add',info);
59
+ * ```
60
+ */
61
+ fire(type: string, data: any): this;
62
+ /**
63
+ * 查询是否有指定类型的监听器(事件对象基础方法)
64
+ * @param type 事件类型
65
+ * @returns
66
+ * ```
67
+ * 示例代码:
68
+ * const hasListens = event.listens('add');
69
+ * ```
70
+ */
71
+ listens(type: string): boolean;
72
+ }
@@ -0,0 +1,39 @@
1
+ import { Event } from './Event';
2
+ import GvolObject from './GvolObject';
3
+ /**
4
+ * 三维场景图层基类
5
+ * @description 具备添加、删除图层对象等功能
6
+ * @class
7
+ * @extends Event
8
+ */
9
+ export declare class GvolLayer extends Event {
10
+ protected _itemList: Array<GvolObject>;
11
+ constructor();
12
+ /**
13
+ * 添加对象
14
+ * @param GvolObject
15
+ */
16
+ add(item: GvolObject): GvolObject;
17
+ /**
18
+ * 删除对象
19
+ * @param
20
+ */
21
+ remove(itemid: string): GvolObject;
22
+ /**
23
+ * 根据id获得对象
24
+ * @param itemid 对象id
25
+ */
26
+ getItemById(itemid: string): GvolObject;
27
+ /**
28
+ * 根据name获得对象
29
+ * @param itemName 对象名称
30
+ */
31
+ getItemByName(itemName: string): GvolObject;
32
+ toJson(): any[];
33
+ /**
34
+ * 解析json
35
+ * @param json 解析
36
+ */
37
+ parseJson(json: any): void;
38
+ getItemList(): GvolObject[];
39
+ }
@@ -0,0 +1,206 @@
1
+ /**
2
+ * @类别 需要用户创建的类
3
+ * @描述 GvolPoint经纬度坐标对象</br>
4
+ * 提供了经纬度坐标系和各种坐标系之间的相互转换
5
+ */
6
+ export declare class GvolPoint {
7
+ constructor(lon?: number, lat?: number, alt?: number, time?: Date);
8
+ /**
9
+ * 经度
10
+ */
11
+ lon: number | any;
12
+ /**
13
+ * 维度
14
+ */
15
+ lat: number | any;
16
+ /**
17
+ * 高度
18
+ */
19
+ alt: number | any;
20
+ /**
21
+ * 时间,可选参数
22
+ */
23
+ time?: Date;
24
+ toJson(): any[];
25
+ private static _transformlat;
26
+ private static _transformlng;
27
+ /**
28
+ * Cartesian3坐标转GvolPoint(经纬度)坐标
29
+ * @param Cart3Point
30
+ * @return
31
+ * ```
32
+ * 示例代码:
33
+ * let geoPoint = lacdt.Core.GvolPoint.fromCartesian3(new Cesium.Cartesian3(8065, 3650, 150000))
34
+ * ```
35
+ */
36
+ static fromCartesian3(Cart3Point: Cesium.Cartesian3): GvolPoint;
37
+ /**
38
+ * GvolPoint(经纬度)坐标转Cartesian3坐标
39
+ * @param geoPoint
40
+ * @return
41
+ * ```
42
+ * 示例代码:
43
+ * let cart3 = lacdt.Core.GvolPoint.toCartesian3({lon:80,lat:40,alt:50000})
44
+ * ```
45
+ */
46
+ static toCartesian3(geoPoint: GvolPoint): Cesium.Cartesian3;
47
+ /**
48
+ * 墨卡托坐标转GvolPoint(经纬度)坐标
49
+ * @param x
50
+ * @param y
51
+ * @return
52
+ * ```
53
+ * 示例代码:
54
+ * let geoPoint = lacdt.Core.GvolPoint.fromMercator(8905559.263461886, 4865942.279503175)
55
+ * ```
56
+ */
57
+ static fromMercator(x: number, y: number): GvolPoint;
58
+ /**
59
+ * GvolPoint(经纬度)坐标转墨卡托坐标
60
+ * @param geoPoint
61
+ * @return
62
+ * ```
63
+ * 示例代码:
64
+ * let mct = lacdt.Core.GvolPoint.toMercator({lon:80,lat:40,alt:50000})
65
+ * ```
66
+ */
67
+ static toMercator(geoPoint: GvolPoint): object;
68
+ /**
69
+ * 屏幕坐标转GvolPoint(经纬度)坐标(注:屏幕坐标范围必须在地球显示范围内)
70
+ * @param x 屏幕x轴坐标
71
+ * @param y 屏幕y轴坐标
72
+ * @param viewer
73
+ * @return
74
+ * ```
75
+ * 示例代码:
76
+ * let mct = lacdt.Core.GvolPoint.fromScreen(50,40,viewer)
77
+ * ```
78
+ */
79
+ static fromScreen(x: number, y: number, viewer: Cesium.Viewer): GvolPoint;
80
+ /**
81
+ * GvolPoint(经纬度)坐标转屏幕坐标
82
+ * @param geoPoint
83
+ * @param viewer
84
+ * @return
85
+ * ```
86
+ * 示例代码:
87
+ * let cart2 = lacdt.Core.GvolPoint.toScreen({lon:8,lat:40,alt:5000},viewer)
88
+ * ```
89
+ */
90
+ static toScreen(geoPoint: GvolPoint, viewer: Cesium.Viewer): Cesium.Cartesian2;
91
+ /**
92
+ * 火星坐标转GvolPoint(经纬度)坐标
93
+ * @param gcjPoint
94
+ * @return
95
+ * ```
96
+ * 示例代码:
97
+ * let geoPoint =  GVOL.Core.GvolPoint.fromGCJ02({x:8.013949658676198, y:39.99879386130122})
98
+ * ```
99
+ */
100
+ static fromGCJ02(gcjPoint: any): GvolPoint;
101
+ /**
102
+ * GvolPoint(经纬度)坐标转火星坐标
103
+ * @param geoPoint
104
+ * @return
105
+ * ```
106
+ * 示例代码:
107
+ * let gcj = lacdt.Core.GvolPoint.toGCJ02({lon:8,lat:40,alt:5000});
108
+ * ```
109
+ */
110
+ static toGCJ02(geoPoint: GvolPoint): object;
111
+ /**
112
+ * geoPoint转换成数组
113
+ * @param geoPoint 点信息
114
+ * @return
115
+ * ```
116
+ * 示例代码:
117
+ * let res = lacdt.Core.GvolPoint.pack({lon:8,lat:40,alt:5000})
118
+ * ```
119
+ */
120
+ static pack(geoPoint: GvolPoint): Array<number>;
121
+ /**
122
+ * 数组转换成geoPoint
123
+ * @param arr 数组信息
124
+ * @return
125
+ * ```
126
+ * 示例代码:
127
+ * let res = lacdt.Core.GvolPoint.unpack([50,45,1555])
128
+ * ```
129
+ */
130
+ static unpack(arr: any): GvolPoint;
131
+ /**
132
+ * 批量geoPoint转换成数组
133
+ * @param geoPoints 点数组信息
134
+ * @return
135
+ * ```
136
+ * 示例代码:
137
+ * let res = lacdt.Core.GvolPoint.packArray([{lon:8,lat:40,alt:5000},{lon:45,lat:30,alt:55}])
138
+ * ```
139
+ */
140
+ static packArray(geoPoints: Array<GvolPoint>): Array<Array<number>>;
141
+ /**
142
+ * 批量数组转换成geoPoint
143
+ * @param arr 数组信息
144
+ * @return
145
+ * ```
146
+ * 示例代码:
147
+ * let res = lacdt.Core.GvolPoint.unpackArray([[50,45,1555],[22,54,4545]])
148
+ * ```
149
+ */
150
+ static unpackArray(arr: any): Array<GvolPoint>;
151
+ /**
152
+ * 判断经纬坐标点是否相等
153
+ * @param point1
154
+ * @param point2
155
+ */
156
+ static isEqual(point1: GvolPoint, point2: GvolPoint): boolean;
157
+ /**
158
+ * 判断经纬坐标数组是否相等
159
+ * @param arr1
160
+ * @param arr2
161
+ */
162
+ static isEqualArr(arr1: Array<GvolPoint>, arr2: Array<GvolPoint>): boolean;
163
+ /**
164
+ * 深度复制
165
+ */
166
+ static clone(point: GvolPoint, res?: GvolPoint): GvolPoint;
167
+ /**
168
+ * 度转度分秒
169
+ * @param value
170
+ */
171
+ private static _formatDegree;
172
+ /**
173
+ * 度分秒转度数
174
+ * @param value
175
+ */
176
+ private static _degreeConvertBack;
177
+ /**
178
+ * 度转换度分秒
179
+ * @param point
180
+ */
181
+ static formatDegree(point: GvolPoint): FormatGvolPoint;
182
+ static degreeConvertBack(value: FormatGvolPoint): GvolPoint;
183
+ }
184
+ /**
185
+ * 度分秒形势表示坐标
186
+ */
187
+ export declare class FormatGvolPoint {
188
+ /**
189
+ * 经度
190
+ */
191
+ lon: {
192
+ direction: string /**方位 west 或 east*/;
193
+ degrees: number /**度 */;
194
+ minutes: number /**分 */;
195
+ seconds: number /**秒 */;
196
+ };
197
+ /**
198
+ * 纬度
199
+ */
200
+ lat: {
201
+ direction: string /**方位 south 或 north*/;
202
+ degrees: number /**度 */;
203
+ minutes: number /**分 */;
204
+ seconds: number /**秒 */;
205
+ };
206
+ }
@@ -0,0 +1,18 @@
1
+ export declare class Music {
2
+ id: string;
3
+ name: string;
4
+ iconName: string;
5
+ audioObj: any;
6
+ radioList: any;
7
+ constructor();
8
+ type: string;
9
+ protected _src: string;
10
+ get src(): string;
11
+ set src(value: string);
12
+ protected _volume: number;
13
+ get volume(): number;
14
+ set volume(value: number);
15
+ protected _muted: boolean;
16
+ get muted(): boolean;
17
+ set muted(value: boolean);
18
+ }
@@ -0,0 +1,36 @@
1
+ declare class Register {
2
+ _registerList: Map<ItemBaseTypeE, Map<string, any>>;
3
+ constructor();
4
+ /**
5
+ * 注册Item
6
+ * @param type 注册类型
7
+ * @param itemConstructor 注册对象
8
+ */
9
+ REGISTER(type: ItemBaseTypeE, itemConstructor: any): void;
10
+ /**
11
+ * 根据类型获取构造器
12
+ * @param type 类别
13
+ * @param itemType item类型
14
+ */
15
+ GET_CONSTRUCTOR(type: ItemBaseTypeE, itemType: string): any;
16
+ GET_REGISTER_LIST(): Map<ItemBaseTypeE, Map<string, any>>;
17
+ }
18
+ declare enum ItemBaseTypeE {
19
+ /**
20
+ * 影像基类
21
+ */
22
+ ImageItem = "ImageItem",
23
+ /**
24
+ * 几何体基类
25
+ */
26
+ GraphicItem = "GraphicItem",
27
+ /**
28
+ * 高效绘制基类
29
+ */
30
+ EfficentItem = "EfficentItem",
31
+ /**
32
+ * 瓦片基类
33
+ */
34
+ TileItem = "TileItem"
35
+ }
36
+ declare const gRegister: Register;
@@ -0,0 +1,46 @@
1
+ import './Register';
2
+ import { GvolLayer } from "./GvolLayer";
3
+ import { Event } from "./Event";
4
+ import { GvolPoint } from './GvolPoint';
5
+ /**
6
+ * 核心类
7
+ * @namespace
8
+ */
9
+ declare const Core: {
10
+ /**
11
+ * GvolBase
12
+ * @type {GvolBase}
13
+ */
14
+ GvolBase: any;
15
+ /**
16
+ * GvolObject
17
+ * @type {GvolObject}
18
+ */
19
+ GvolObject: any;
20
+ /**
21
+ * GvolGeoBase
22
+ * @type {GvolGeoBase}
23
+ */
24
+ GvolGeoBase: any;
25
+ /**
26
+ * GvolLayer
27
+ * @type {GvolLayer}
28
+ */
29
+ GvolLayer: typeof GvolLayer;
30
+ /**
31
+ * GvolPoint
32
+ * @type {GvolPoint}
33
+ */
34
+ GvolPoint: typeof GvolPoint;
35
+ /**
36
+ * Event
37
+ * @type {Event}
38
+ */
39
+ Event: typeof Event;
40
+ /**
41
+ * CommandPrimitive
42
+ * @type {CommandPrimitive}
43
+ */
44
+ CommandPrimitive: any;
45
+ };
46
+ export default Core;
@@ -0,0 +1,36 @@
1
+ export interface PropertyItemMeta {
2
+ readonly key?: PropertyKey;
3
+ name: string;
4
+ description?: string;
5
+ order?: number;
6
+ subOrder?: number;
7
+ group?: string;
8
+ subGroup?: string;
9
+ hidden?: boolean;
10
+ initState?: string;
11
+ type?: 'color' | 'date' | 'checkbox' | 'text' | 'options' | string | any;
12
+ options?: any;
13
+ colSpan2?: boolean;
14
+ valueConvert?: (value: any) => any;
15
+ showHelp?: boolean;
16
+ link?: string;
17
+ min?: number;
18
+ max?: number;
19
+ step?: number;
20
+ maxLength?: number;
21
+ editable?: boolean;
22
+ noEmpty?: boolean;
23
+ optionValue?: any;
24
+ multiDisplay?: boolean;
25
+ hiddenGroupName?: boolean;
26
+ colorType?: string;
27
+ alpha?: boolean;
28
+ showGroup?: boolean;
29
+ isLabel?: boolean;
30
+ interfaceHidden?: boolean;
31
+ subGroupLayout?: 'column' | 'row';
32
+ subGroupHeader?: boolean;
33
+ subGroupInline?: boolean;
34
+ showSubGroup?: boolean;
35
+ }
36
+ export declare const meta: (itemMeta: PropertyItemMeta) => (target: any, key: PropertyKey) => void;
File without changes
@@ -0,0 +1,21 @@
1
+ export {};
2
+ declare global {
3
+ interface Array<T> {
4
+ remove(t: T): T[];
5
+ removeBy(func: (t: T) => boolean): T[];
6
+ swap(t: T, t1: T): T[];
7
+ insert(t: T, index: number): T[];
8
+ insertTo(newt: T, prior: T): T[];
9
+ add(t: T, index: number): T[];
10
+ addTo(newt: T, prior: T): T[];
11
+ prior(t: T): T | null;
12
+ /** 名字不能是next,会和一些枚举库重合 */
13
+ nextTo(t: T): T | null;
14
+ closedNext(t: T): T;
15
+ closedPrior(t: T): T;
16
+ SamePosValue<T1>(array1: T1[], t: T): T1 | null;
17
+ firstOrDefault(func?: (t: T) => boolean): T | null;
18
+ last(): T | null;
19
+ toMap<Key, Value>(getkey: (t: T) => Key, getvalue: (t: T) => Value): Map<Key, Value>;
20
+ }
21
+ }
@@ -0,0 +1,9 @@
1
+ import "./static";
2
+ import "./string";
3
+ import "./array";
4
+ import "./regex";
5
+ import "./object";
6
+ import "./number";
7
+ import "./linq";
8
+ import "./math";
9
+ import "./link";
@@ -0,0 +1,32 @@
1
+ export {};
2
+ export declare enum LinkStates {
3
+ continue = 0,
4
+ stop = 1
5
+ }
6
+ export declare class LinkObject<T> {
7
+ state: LinkStates;
8
+ value?: T | null;
9
+ parents: any[];
10
+ private createNext;
11
+ private createOtherNext;
12
+ $not_null(): LinkObject<T>;
13
+ $if(func: (t: T) => boolean): LinkObject<T>;
14
+ $run(func: (t: T) => void): void;
15
+ $getWithMap<T1>(func: (t: T) => T1): T1 | null;
16
+ $get(): T | null;
17
+ $getParent<T1>(backLevel?: number): LinkObject<T1>;
18
+ $map<T1>(func: (t: T) => T1): LinkObject<T1>;
19
+ $log(name?: string, on?: boolean): LinkObject<T>;
20
+ $logSelf(name?: string, on?: boolean): LinkObject<T>;
21
+ $if_true(): boolean;
22
+ }
23
+ declare global {
24
+ function $not_null<T>(t: T): LinkObject<T>;
25
+ function $not_empty<T extends string>(t: T): LinkObject<T>;
26
+ function $has_item<T>(array: Array<T>): LinkObject<Array<T>>;
27
+ function $if<T>(t: T, func: (t: T) => boolean): LinkObject<T>;
28
+ function $choose<T>(array: LinkObject<T>[]): LinkObject<T>;
29
+ function $number<T>(t: T, isfloat?: boolean): number;
30
+ function $float<T>(t: T): number;
31
+ function $int<T>(t: T): number;
32
+ }
@@ -0,0 +1,15 @@
1
+ export {};
2
+ import { IEnumerable } from "linq";
3
+ declare global {
4
+ interface Array<T> {
5
+ select<T1>(func: (t: T) => T1): IEnumerable<T1>;
6
+ where(func: (t: T) => boolean): IEnumerable<T>;
7
+ any(func: (t: T) => boolean): boolean;
8
+ sum(func: (t: T) => number): number;
9
+ toLinq(): IEnumerable<T>;
10
+ /**修正了null 元素的排序 */
11
+ orderBy<T1>(func: (t: T) => T1): T[];
12
+ /**修正了null 元素的排序 */
13
+ orderByDescending<T1>(func: (t: T) => T1): T[];
14
+ }
15
+ }
@@ -0,0 +1,7 @@
1
+ export {};
2
+ declare global {
3
+ interface Math {
4
+ /**[min,max) */
5
+ randomEx(min: number, max: number): number;
6
+ }
7
+ }
@@ -0,0 +1,15 @@
1
+ export {};
2
+ declare global {
3
+ interface NumberConstructor {
4
+ MustNumber(num: number): number;
5
+ isNumber(num: number): boolean;
6
+ }
7
+ interface Number {
8
+ /** 控制小数数目 .5 进位 */
9
+ FixedTo(count: number): number;
10
+ /** 控制小数数目 舍去 */
11
+ SmallFixedTo(count: number): number;
12
+ ToInt(): number;
13
+ ToBinary(fit: number): string;
14
+ }
15
+ }
@@ -0,0 +1,7 @@
1
+ export {};
2
+ declare global {
3
+ interface ObjectConstructor {
4
+ }
5
+ interface Object {
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ export {};
2
+ declare global {
3
+ interface RegExp {
4
+ matches(str: string): RegExpMatchArray[];
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export {};
2
+ declare global {
3
+ /** 判断字符串非空的延续执行方法 */
4
+ /** 判断对象非空的延续执行方法 */
5
+ /**非空取值 */
6
+ }
@@ -0,0 +1,14 @@
1
+ export {};
2
+ declare global {
3
+ interface StringConstructor {
4
+ }
5
+ interface String {
6
+ trimStartCh(ch: string): string;
7
+ trimEndCh(ch: string): string;
8
+ trimCh(ch: string): string;
9
+ trimEndStr(str: string): string;
10
+ /** 切记lambda单行返回{}对象,会被认为是函数而没有返回值 */
11
+ toObj<T>(reg: RegExp, func: (match: RegExpMatchArray) => T): T[];
12
+ trim1(str: string): string;
13
+ }
14
+ }