@metagl/sdk-plotting 0.0.1 → 0.0.3
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.
- package/README.md +267 -86
- package/lacdt.plotting.d.ts +30265 -0
- package/lacdt.plotting.js +474 -0
- package/package.json +14 -12
- package/resources/image/Height.png +0 -0
- package/resources/image/JPlace/capital.png +0 -0
- package/resources/image/JPlace/chengzhen.png +0 -0
- package/resources/image/JPlace/shenghui.png +0 -0
- package/resources/image/Move.png +0 -0
- package/resources/image/Scale.png +0 -0
- package/resources/image/arrow-down.png +0 -0
- package/resources/image/arrow-left.png +0 -0
- package/resources/image/arrow-right.png +0 -0
- package/resources/image/arrow-up.png +0 -0
- package/resources/image/arrow.png +0 -0
- package/resources/image/cm_gray.png +0 -0
- package/resources/image/cm_viridis.png +0 -0
- package/resources/image/excavate_bottom_min.jpg +0 -0
- package/resources/image/excavate_side_min.jpg +0 -0
- package/resources/image/eye.png +0 -0
- package/resources/image/facility.gif +0 -0
- package/resources/image/fire.png +0 -0
- package/resources/image/fountain2.png +0 -0
- package/resources/image/globe.jpg +0 -0
- package/resources/image/gpoint.svg +1 -0
- package/resources/image/redflag.png +0 -0
- package/resources/image/smoke.png +0 -0
- package/resources/image/tuodong.png +0 -0
- package/resources/image//346/227/213/350/275/254.png +0 -0
- package/resources/images/circular_particle.png +0 -0
- package/resources/images/cloud.png +0 -0
- package/resources/images/dash.png +0 -0
- package/resources/images/daylight/Daylight_Box_Back.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Bottom.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Front.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Left.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Right.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Top.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mx.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_my.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mz.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_px.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_py.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_pz.jpg +0 -0
- package/resources/images/earthclouds1k.jpg +0 -0
- package/resources/images/earthclouds1k.png +0 -0
- package/resources/images/night_1-2k.jpg +0 -0
- package/resources/images/scan.png +0 -0
- package/resources/images/smoke.png +0 -0
- package/resources/images/specialLine/ArrowOpacity.png +0 -0
- package/resources/images/specialLine/ArrowTransparent.png +0 -0
- package/resources/images/specialLine/DataTransLine.png +0 -0
- package/resources/images/specialLine/DotTransparent.png +0 -0
- package/resources/images/specialLine/LinkPulse.png +0 -0
- package/resources/images/specialLine/LinkTrail.png +0 -0
- package/resources/images/specialLine/Trail.png +0 -0
- package/resources/images/specialLine/Trail1.png +0 -0
- package/resources/images/specialLine/alpha.png +0 -0
- package/resources/images/starmap/starmap_2020_16k_mx.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_my.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_mz.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_px.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_py.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_pz.webp +0 -0
- package/resources/images/wx.png +0 -0
- package/resources/images/wx2.jpg +0 -0
- package/resources/readme.txt +1 -0
- package/resources/textures/grey.png +0 -0
- package/resources/textures/mesh.png +0 -0
- package/resources/textures/waterNormalsSmall.jpg +0 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
- package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
- package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
- package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
- package/resources/water/sea 50_1.json.json +578 -0
- package/resources/workers/satellite.worker.js +3175 -0
- package/types/Common/ArrayHelper.d.ts +8 -0
- package/types/Common/Guid.d.ts +4 -0
- package/types/Common/KeyValue.d.ts +5 -0
- package/types/Core/Common/Cesium/Core/xz_Color.d.ts +1545 -0
- package/types/Core/Common/Cesium/Core/xz_measureSize.d.ts +4 -0
- package/types/Core/Common/Cesium/Core/xz_writeTextToCanvas.d.ts +27 -0
- package/types/Core/Common/Cesium/ThirdParty/xz_measureText.d.ts +30 -0
- package/types/Core/Event.d.ts +72 -0
- package/types/Core/GvolLayer.d.ts +39 -0
- package/types/Core/GvolPoint.d.ts +206 -0
- package/types/Core/Music.d.ts +18 -0
- package/types/Core/Register.d.ts +36 -0
- package/types/Core/index.d.ts +46 -0
- package/types/Core/property-item-meta.d.ts +36 -0
- package/types/FixCesium/index.d.ts +0 -0
- package/types/Global/array.d.ts +21 -0
- package/types/Global/global.d.ts +9 -0
- package/types/Global/link.d.ts +32 -0
- package/types/Global/linq.d.ts +15 -0
- package/types/Global/math.d.ts +7 -0
- package/types/Global/number.d.ts +15 -0
- package/types/Global/object.d.ts +7 -0
- package/types/Global/regex.d.ts +6 -0
- package/types/Global/static.d.ts +6 -0
- package/types/Global/string.d.ts +14 -0
- package/types/LayerManager/DynamicLayer/DynamicLayer.d.ts +294 -0
- package/types/LayerManager/GpLayer/GpLayer.d.ts +56 -0
- package/types/LayerManager/GraphicLayer/GraphicLayer.d.ts +209 -0
- package/types/LayerManager/ImageLayer/BaiduImageryProvider.d.ts +33 -0
- package/types/LayerManager/LayerManager.d.ts +59 -0
- package/types/LayerManager/LayerTools.d.ts +3 -0
- package/types/LayerManager/MapBox/CesiumInstance.d.ts +78 -0
- package/types/LayerManager/MapBox/CesiumLayer.d.ts +54 -0
- package/types/LayerManager/MapBox/CesiumLayerOptions.d.ts +34 -0
- package/types/LayerManager/MapBox/MVTImageryProvider/mapboxVectorRender.d.ts +44 -0
- package/types/LayerManager/MapBox/MapboxPlaceName.d.ts +30 -0
- package/types/LayerManager/MapBox/index.d.ts +25 -0
- package/types/LayerManager/MapBox/shaders/colorscales.d.ts +123 -0
- package/types/LayerManager/MapBox/shaders/raster_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/utils.d.ts +13 -0
- package/types/LayerManager/PlotLayer/PlotLayer.d.ts +77 -0
- package/types/LayerManager/SateLayer/Satellite.d.ts +98 -0
- package/types/LayerManager/SateLayer/SatelliteLayer.d.ts +46 -0
- package/types/LayerManager/SateLayer/SpaceDebris.d.ts +23 -0
- package/types/LayerManager/SateLayer/SpaceDebrisLayer.d.ts +40 -0
- package/types/LayerManager/TileLayer/TileLayer.d.ts +27 -0
- package/types/LayerManager/TileLayer/WMTSVectorProvider.d.ts +14 -0
- package/types/LayerManager/index.d.ts +21 -0
- package/types/Models/AnimationConfig.d.ts +29 -0
- package/types/Models/AnimationItem.d.ts +14 -0
- package/types/Models/FileNode.d.ts +24 -0
- package/types/Models/GeojsonPlotModel.d.ts +19 -0
- package/types/Models/GeojsonStyleBase.d.ts +104 -0
- package/types/Models/PlotItem.d.ts +17 -0
- package/types/Models/all.d.ts +268 -0
- package/types/PlottingTool/AnchorHelper.d.ts +50 -0
- package/types/PlottingTool/Animation/AnimationBase.d.ts +61 -0
- package/types/PlottingTool/Animation/AnimationGroup.d.ts +46 -0
- package/types/PlottingTool/Animation/AnimationManager.d.ts +72 -0
- package/types/PlottingTool/Animation/AnimationStartState.d.ts +5 -0
- package/types/PlottingTool/Animation/AnimationState.d.ts +5 -0
- package/types/PlottingTool/Animation/CalcTool.d.ts +6 -0
- package/types/PlottingTool/Animation/CssItems/AudioAnimation.d.ts +14 -0
- package/types/PlottingTool/Animation/CssItems/CssAnimationBase.d.ts +15 -0
- package/types/PlottingTool/Animation/CssItems/CssHideAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssMaskAnimation.d.ts +18 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveHorizonAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveVerticalAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssNumberAnimation.d.ts +4 -0
- package/types/PlottingTool/Animation/CssItems/CssPropChangeAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/CssItems/CssShowAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssShowDisplayAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/CssItems/CssValueAnimation.d.ts +27 -0
- package/types/PlottingTool/Animation/CssItems/SpeakManager.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SpeakTool.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SubtitleAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/VideoAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/XunFeiTool.d.ts +28 -0
- package/types/PlottingTool/Animation/Decorator.d.ts +11 -0
- package/types/PlottingTool/Animation/DefaultConfig.d.ts +5 -0
- package/types/PlottingTool/Animation/FillBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonRepeatAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonVisibleAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/IAnimation.d.ts +59 -0
- package/types/PlottingTool/Animation/Items/ArrowDirectAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/AutoRotationAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/Items/CameraFlyAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/CameraRoamAnimation.d.ts +29 -0
- package/types/PlottingTool/Animation/Items/CameraSetAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/Items/ColorAnimation.d.ts +6 -0
- package/types/PlottingTool/Animation/Items/DoubleArrowDirectAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/FollowAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/ForwardAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/HideAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/JBDirectAnimation.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ModelAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/NumberAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/PathAnimation.d.ts +44 -0
- package/types/PlottingTool/Animation/Items/PathMode.d.ts +18 -0
- package/types/PlottingTool/Animation/Items/PathShowAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/Items/PolygonMaskAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/PopulationTimeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/RepeatAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowTifAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/SpiralAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/StateChangeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/SurroundAnimation.d.ts +43 -0
- package/types/PlottingTool/Animation/Items/TargetFllowAniamtion.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ZoomToFlyAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/MaskBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/PageItems/PageShowAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/SingleAnimation.d.ts +32 -0
- package/types/PlottingTool/Arrow/EditorArrowBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorArrowLineBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorAssaultDirection.d.ts +4 -0
- package/types/PlottingTool/Arrow/EditorAttackArrow.d.ts +51 -0
- package/types/PlottingTool/Arrow/EditorDoubleArrow.d.ts +82 -0
- package/types/PlottingTool/Arrow/EditorFineArrow.d.ts +11 -0
- package/types/PlottingTool/Arrow/EditorGatheringPlace.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorSquadCombat.d.ts +9 -0
- package/types/PlottingTool/Arrow/EditorStraightLineArrow.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorTailedAttackArrow.d.ts +8 -0
- package/types/PlottingTool/Arrow/EditorTailedSquadCombat.d.ts +10 -0
- package/types/PlottingTool/Axis3Operator.d.ts +39 -0
- package/types/PlottingTool/Common/ICell.d.ts +9 -0
- package/types/PlottingTool/Common/IVectorTile.d.ts +16 -0
- package/types/PlottingTool/Common/PolygonHelper.d.ts +4 -0
- package/types/PlottingTool/Common/RenderGridTextV2.5.d.ts +36 -0
- package/types/PlottingTool/Common/geocode.d.ts +21 -0
- package/types/PlottingTool/Common.d.ts +26 -0
- package/types/PlottingTool/Cube/EditorCubeBase.d.ts +38 -0
- package/types/PlottingTool/Cube/EditorCubeBox.d.ts +20 -0
- package/types/PlottingTool/Cube/EditorCylinder.d.ts +25 -0
- package/types/PlottingTool/Cube/EditorEllipsoid.d.ts +20 -0
- package/types/PlottingTool/CurrentList.d.ts +14 -0
- package/types/PlottingTool/DataRgister.d.ts +6 -0
- package/types/PlottingTool/DataRgisterAudio.d.ts +5 -0
- package/types/PlottingTool/DataRgisterTif.d.ts +5 -0
- package/types/PlottingTool/DefaultPlottingAttribute.d.ts +1 -0
- package/types/PlottingTool/EditHelpLine.d.ts +8 -0
- package/types/PlottingTool/EditMode.d.ts +218 -0
- package/types/PlottingTool/GVEntityCollection.d.ts +11 -0
- package/types/PlottingTool/Graph.d.ts +340 -0
- package/types/PlottingTool/GraphFactory.d.ts +7 -0
- package/types/PlottingTool/GraphManager.d.ts +145 -0
- package/types/PlottingTool/GraphPropStorage.d.ts +10 -0
- package/types/PlottingTool/GraphProperty.d.ts +58 -0
- package/types/PlottingTool/GraphicRender/CesiumConeCommunicate.d.ts +40 -0
- package/types/PlottingTool/GraphicRender/CesiumRender.d.ts +31 -0
- package/types/PlottingTool/GraphicRender/Cloud/GxCloudItem.d.ts +82 -0
- package/types/PlottingTool/GraphicRender/DynamicProperty.d.ts +14 -0
- package/types/PlottingTool/GraphicRender/RenderPlotting.d.ts +20 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitivePolyline.d.ts +29 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitiveTriangles.d.ts +30 -0
- package/types/PlottingTool/GraphicRender/radar/GxRadarItem.d.ts +93 -0
- package/types/PlottingTool/GxClusterDataSource.d.ts +107 -0
- package/types/PlottingTool/HeightReferenceGraph.d.ts +7 -0
- package/types/PlottingTool/HeightReferencePrimtive.d.ts +8 -0
- package/types/PlottingTool/HtmlBox/BoxFactory.d.ts +4 -0
- package/types/PlottingTool/HtmlBox/CssProp.d.ts +61 -0
- package/types/PlottingTool/HtmlBox/HtmlBox.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/HtmlBoxMulti.d.ts +38 -0
- package/types/PlottingTool/HtmlBox/WangEditor/fwbconfig.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/WangEditor/parse-style-html.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/render-style.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/stroke-color-config.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/style-to-html.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-color.d.ts +13 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-width.d.ts +20 -0
- package/types/PlottingTool/HtmlBox/WangEditor/tools.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/html-box-base.d.ts +34 -0
- package/types/PlottingTool/HtmlBox/html-css-prop.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/new-rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/pic-collection.d.ts +17 -0
- package/types/PlottingTool/HtmlBox/rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/subtitle-box.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/videoBox.d.ts +8 -0
- package/types/PlottingTool/Image/EditorHtml.d.ts +36 -0
- package/types/PlottingTool/Image/EditorImage.d.ts +10 -0
- package/types/PlottingTool/Image/EditorJBPointObject.d.ts +23 -0
- package/types/PlottingTool/Image/EditorRedFlag.d.ts +7 -0
- package/types/PlottingTool/Interface/LayerConfig.d.ts +22 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyBase.d.ts +17 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolygon.d.ts +11 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyline.d.ts +14 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolygon.d.ts +41 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolyline.d.ts +28 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryWall.d.ts +18 -0
- package/types/PlottingTool/NoControlPrimitive/NoControlPrimitive.d.ts +26 -0
- package/types/PlottingTool/NoControlPrimitive/PercentPolyine.d.ts +17 -0
- package/types/PlottingTool/PlottingBaseNode.d.ts +40 -0
- package/types/PlottingTool/PlottingBehavior.d.ts +91 -0
- package/types/PlottingTool/PlottingCommon.d.ts +20 -0
- package/types/PlottingTool/Point/ConeCommunicateWave.d.ts +46 -0
- package/types/PlottingTool/Point/EditorBasePrimitive.d.ts +12 -0
- package/types/PlottingTool/Point/EditorCloud.d.ts +43 -0
- package/types/PlottingTool/Point/EditorCommunicateWave.d.ts +44 -0
- package/types/PlottingTool/Point/EditorJBPointScreen.d.ts +51 -0
- package/types/PlottingTool/Point/EditorModel.d.ts +59 -0
- package/types/PlottingTool/Point/EditorParticle.d.ts +37 -0
- package/types/PlottingTool/Point/EditorPin.d.ts +55 -0
- package/types/PlottingTool/Point/EditorPinCanvas.d.ts +94 -0
- package/types/PlottingTool/Point/EditorPinImage.d.ts +110 -0
- package/types/PlottingTool/Point/EditorPinMakiIcon.d.ts +13 -0
- package/types/PlottingTool/Point/EditorPinText.d.ts +14 -0
- package/types/PlottingTool/Point/EditorPlaneText.d.ts +79 -0
- package/types/PlottingTool/Point/EditorPoint.d.ts +28 -0
- package/types/PlottingTool/Point/EditorRadar.d.ts +80 -0
- package/types/PlottingTool/Point/EditorText.d.ts +93 -0
- package/types/PlottingTool/Point/EditorText_old.d.ts +58 -0
- package/types/PlottingTool/Point/PointJbStrokeSvgHelper.d.ts +28 -0
- package/types/PlottingTool/Point/PointJbSvgHelper.d.ts +31 -0
- package/types/PlottingTool/Point/UECamera.d.ts +49 -0
- package/types/PlottingTool/Polygon/EditorArrow1.d.ts +10 -0
- package/types/PlottingTool/Polygon/EditorCircle.d.ts +13 -0
- package/types/PlottingTool/Polygon/EditorEllipse.d.ts +12 -0
- package/types/PlottingTool/Polygon/EditorFrustum.d.ts +36 -0
- package/types/PlottingTool/Polygon/EditorPolygon.d.ts +102 -0
- package/types/PlottingTool/Polygon/EditorRectangle.d.ts +40 -0
- package/types/PlottingTool/Polygon/EditorRectangleExpand.d.ts +16 -0
- package/types/PlottingTool/Polygon/EditorSector.d.ts +16 -0
- package/types/PlottingTool/Polyline/EditorBezier1.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezier2.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierN.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierSpline.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorCircleArc.d.ts +10 -0
- package/types/PlottingTool/Polyline/EditorCurve.d.ts +7 -0
- package/types/PlottingTool/Polyline/EditorJBLine.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPointArc.d.ts +21 -0
- package/types/PlottingTool/Polyline/EditorPointLine.d.ts +12 -0
- package/types/PlottingTool/Polyline/EditorPointSpline.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPolyline.d.ts +109 -0
- package/types/PlottingTool/Polyline/EditorRoutePolyline.d.ts +16 -0
- package/types/PlottingTool/Polyline/plotsList.d.ts +6 -0
- package/types/PlottingTool/RegexHelper.d.ts +10 -0
- package/types/PlottingTool/Text/EditorAreaText.d.ts +44 -0
- package/types/PlottingTool/Text/EditorRouteText.d.ts +64 -0
- package/types/PlottingTool/Text/MedianLine.d.ts +22 -0
- package/types/PlottingTool/VideoElement/EditorVideo.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/DrawAreaTextToolEx.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/DrawBillboardToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawCtrlPointToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawHtmlToolEx.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/DrawLineToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawMedianPointToolEx.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/DrawModelToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPointToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPolygonToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawRouteTextToolEx.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/DrawTextToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawToolManager.d.ts +60 -0
- package/types/PlottingTool/drawToolExt/HitPointToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/HitRectToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/base/List.d.ts +22 -0
- package/types/PlottingTool/drawToolExt/calcuteShape.d.ts +3 -0
- package/types/PlottingTool/drawToolExt/entity/MaxRecTest.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/entity/XZAreaTextEntity.d.ts +36 -0
- package/types/PlottingTool/drawToolExt/entity/XZBaseEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZBillboardEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZCtrlPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZHtmlEntity.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/entity/XZLineEntity.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/entity/XZMedianPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZModelEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZPolygonEntity.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/entity/XZRouteTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/interface/IBase.d.ts +23 -0
- package/types/PlottingTool/drawToolExt/interface/ICesium.d.ts +99 -0
- package/types/PlottingTool/drawToolExt/interface/IData.d.ts +56 -0
- package/types/PlottingTool/drawToolExt/interface/IEntity.d.ts +80 -0
- package/types/PlottingTool/drawToolExt/interface/IStyle.d.ts +127 -0
- package/types/PlottingTool/drawToolExt/interface/ITool.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/interface/geojson.d.ts +192 -0
- package/types/PlottingTool/drawToolExt/styles/XZAreaTextStyle.d.ts +14 -0
- package/types/PlottingTool/drawToolExt/styles/XZBaseStyle.d.ts +6 -0
- package/types/PlottingTool/drawToolExt/styles/XZBillboardStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZHtmlStyle.d.ts +71 -0
- package/types/PlottingTool/drawToolExt/styles/XZLineStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZModelStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZPointStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZPolygonStyle.d.ts +8 -0
- package/types/PlottingTool/drawToolExt/styles/XZRouteTextStyle.d.ts +11 -0
- package/types/PlottingTool/drawToolExt/styles/XZTextStyle.d.ts +14 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyBase.d.ts +33 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolygon.d.ts +28 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyline.d.ts +21 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolygon.d.ts +13 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolyline.d.ts +13 -0
- package/types/PlottingTool/geojson/GeojsonPercentPolyine.d.ts +18 -0
- package/types/PlottingTool/geojson/parsePolygon.d.ts +25 -0
- package/types/PlottingTool/shareGraph.d.ts +16 -0
- package/types/Scene/Analyzation/Measure.d.ts +120 -0
- package/types/Scene/EventSource/ContextSizeChanged.d.ts +13 -0
- package/types/Scene/GraticuleLayer/Graticule.d.ts +15 -0
- package/types/Scene/Sea/RenderSeaPolygon.d.ts +9 -0
- package/types/SceneObjects/CustomPrimitive/SharedTexturePool.d.ts +13 -0
- package/types/SceneObjects/CustomPrimitive/extrudePolyline.d.ts +1 -0
- package/types/SceneObjects/RenderObject/BindedCylinder.d.ts +40 -0
- package/types/SceneObjects/RenderObject/Bubble.d.ts +125 -0
- package/types/SceneObjects/RenderObject/CesiumBillboard.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumCylinder.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumEllipse.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumEllipsoid.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabel.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabelBillboard.d.ts +39 -0
- package/types/SceneObjects/RenderObject/CesiumLabelRect.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumModel.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumOblique.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumPoint.d.ts +22 -0
- package/types/SceneObjects/RenderObject/CesiumPolygon.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPolyline.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPopover.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumRectangle.d.ts +34 -0
- package/types/SceneObjects/RenderObject/CesiumSphere.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumVolumePolyline.d.ts +32 -0
- package/types/SceneObjects/RenderObject/CesiumWall.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CircularRender.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CustomLabelRender.d.ts +23 -0
- package/types/SceneObjects/RenderObject/CylinderSensor.d.ts +47 -0
- package/types/SceneObjects/RenderObject/DashBoardEffect.d.ts +39 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemFlame.d.ts +42 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemPath.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemState.d.ts +7 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemStyle.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicTimePositions.d.ts +102 -0
- package/types/SceneObjects/RenderObject/DynamicItem/HistoryTrack.d.ts +159 -0
- package/types/SceneObjects/RenderObject/DynamicItem/WarningTarget.d.ts +36 -0
- package/types/SceneObjects/RenderObject/DynamicRippleEffect.d.ts +23 -0
- package/types/SceneObjects/RenderObject/Flag.d.ts +43 -0
- package/types/SceneObjects/RenderObject/GradientSector.d.ts +46 -0
- package/types/SceneObjects/RenderObject/Graphics/GraphicGroup.d.ts +113 -0
- package/types/SceneObjects/RenderObject/RenderObject.d.ts +37 -0
- package/types/SceneObjects/RenderObject/RenderUtils.d.ts +35 -0
- package/types/SceneObjects/RenderObject/ScanEffect.d.ts +40 -0
- package/types/SceneObjects/RenderObject/SectorSensor.d.ts +42 -0
- package/types/SceneObjects/RenderObject/SensorRender.d.ts +15 -0
- package/types/SceneObjects/RenderObject/SpreadEffect.d.ts +47 -0
- package/types/SceneObjects/RenderObject/WaterEffect.d.ts +31 -0
- package/types/SceneObjects/RenderObject/WeatherParticle.d.ts +30 -0
- package/types/SceneObjects/ViewshedAnalysis.d.ts +98 -0
- package/types/SceneObjects/_shared/Destroyable.d.ts +9 -0
- package/types/SceneObjects/_shared/ResourceHandler.d.ts +14 -0
- package/types/SceneObjects/_shared/destroyObject.d.ts +18 -0
- package/types/Service/SceneOptions/Graticule.d.ts +15 -0
- package/types/Service/action.service.d.ts +92 -0
- package/types/Service/advance-html.service.d.ts +12 -0
- package/types/Service/animation.service.d.ts +84 -0
- package/types/Service/cesium.service.d.ts +85 -0
- package/types/Service/cluster.service.d.ts +7 -0
- package/types/Service/config.service.d.ts +24 -0
- package/types/Service/drawServices/VectorRender/renderModels.d.ts +13 -0
- package/types/Service/drawbigfile.service.d.ts +24 -0
- package/types/Service/fwbconfig.d.ts +3 -0
- package/types/Service/geojson-plot.service.d.ts +21 -0
- package/types/Service/html-draw.service.d.ts +134 -0
- package/types/Service/http.service.d.ts +15 -0
- package/types/Service/layers.service.d.ts +34 -0
- package/types/Service/logicService/point.service.d.ts +60 -0
- package/types/Service/message.service.d.ts +4 -0
- package/types/Service/music.service.d.ts +23 -0
- package/types/Service/parse-style-html.d.ts +7 -0
- package/types/Service/plot.service.d.ts +115 -0
- package/types/Service/property.service.d.ts +52 -0
- package/types/Service/render-style.d.ts +7 -0
- package/types/Service/richTextEdit.service.d.ts +35 -0
- package/types/Service/sceneServices/BigFileManager.d.ts +12 -0
- package/types/Service/sceneServices/CesiumManager.d.ts +18 -0
- package/types/Service/sceneServices/EagleManager.d.ts +35 -0
- package/types/Service/sceneServices/HtmlDrawManager.d.ts +12 -0
- package/types/Service/sceneServices/ImageEffectManager.d.ts +19 -0
- package/types/Service/sceneServices/LayerManage.d.ts +61 -0
- package/types/Service/sceneServices/MusicManager.d.ts +10 -0
- package/types/Service/sceneServices/PageAnimationManager.d.ts +39 -0
- package/types/Service/sceneServices/SubtitleManager.d.ts +6 -0
- package/types/Service/sceneServices/TerrainManager.d.ts +11 -0
- package/types/Service/sceneServices/sceneManager.d.ts +71 -0
- package/types/Service/sceneServices/snap.d.ts +33 -0
- package/types/Service/service.manager.d.ts +174 -0
- package/types/Service/stroke-color-config.d.ts +1 -0
- package/types/Service/style-to-html.d.ts +1 -0
- package/types/Service/terrain.service.d.ts +11 -0
- package/types/Service/text-stroke-color.d.ts +13 -0
- package/types/Service/text-stroke-width.d.ts +20 -0
- package/types/Service/tools.d.ts +7 -0
- package/types/Utils/Calculate.d.ts +212 -0
- package/types/Utils/Check.d.ts +98 -0
- package/types/Utils/DateHelper.d.ts +30 -0
- package/types/Utils/GxMath.d.ts +102 -0
- package/types/Utils/GxVector3.d.ts +7 -0
- package/types/Utils/HtmlUtil.d.ts +12 -0
- package/types/Utils/MilsymbolHelper.d.ts +20 -0
- package/types/Utils/TokenHelper.d.ts +36 -0
- package/types/Utils/Util.d.ts +204 -0
- package/types/Utils/d3Clock.d.ts +11 -0
- package/types/Utils/index.d.ts +17 -0
- package/types/Utils/pinyin.static.d.ts +375 -0
- package/types/Utils/pinyin.tool.d.ts +5 -0
- package/types/Utils/pinyin_all.d.ts +20 -0
- package/types/Utils/ready.d.ts +3 -0
- package/types/Utils/tools.d.ts +31 -0
- package/types/index.d.ts +98 -0
- package/types/index.html +35 -0
|
@@ -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,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,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,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
|
+
}
|