@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,340 @@
|
|
|
1
|
+
import { CameraParam } from './Common';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { GvolPoint } from '../Core/GvolPoint';
|
|
4
|
+
import AnchorHelper from './AnchorHelper';
|
|
5
|
+
/**
|
|
6
|
+
* @类型 外部使用类
|
|
7
|
+
* @描述 标绘对象基类
|
|
8
|
+
*/
|
|
9
|
+
export default class Graph {
|
|
10
|
+
_earth: any;
|
|
11
|
+
viewer: Cesium.Viewer;
|
|
12
|
+
/**
|
|
13
|
+
* 脏标记
|
|
14
|
+
*/
|
|
15
|
+
isChanged: boolean;
|
|
16
|
+
reloadOperator: boolean;
|
|
17
|
+
rotatable: boolean;
|
|
18
|
+
scalable: boolean;
|
|
19
|
+
static seq: number;
|
|
20
|
+
/**
|
|
21
|
+
* @private
|
|
22
|
+
*/
|
|
23
|
+
entities: any;
|
|
24
|
+
ctrlsCollection: Cesium.BillboardCollection | null;
|
|
25
|
+
middleCtrlsCollection: Cesium.BillboardCollection | null;
|
|
26
|
+
/**
|
|
27
|
+
* @private Cesium.Entity标绘对象
|
|
28
|
+
*/
|
|
29
|
+
ent: any;
|
|
30
|
+
entArr: any;
|
|
31
|
+
propertyChanged: Cesium.Event;
|
|
32
|
+
/**
|
|
33
|
+
* set max ctl point number
|
|
34
|
+
* when ctlPoints.length >= maxPointNum call this.finish()
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* @private 控制点最大个数
|
|
38
|
+
*/
|
|
39
|
+
maxPointNum: number;
|
|
40
|
+
/**
|
|
41
|
+
* 控制点最小个数
|
|
42
|
+
*/
|
|
43
|
+
minPointNum: number;
|
|
44
|
+
/**
|
|
45
|
+
* 是否支持2维模式
|
|
46
|
+
*/
|
|
47
|
+
support2D: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
graph: any;
|
|
52
|
+
/**
|
|
53
|
+
* graph
|
|
54
|
+
* L ctl (graphType='ctlRoot')
|
|
55
|
+
* L children (graphType='ctl')
|
|
56
|
+
* L shape (graphType='shapeRoot')
|
|
57
|
+
* L children (graphType='shp')
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* @private是否高亮
|
|
61
|
+
*/
|
|
62
|
+
highLighted: any;
|
|
63
|
+
/**
|
|
64
|
+
* 属性
|
|
65
|
+
*/
|
|
66
|
+
properties: any[];
|
|
67
|
+
/**
|
|
68
|
+
* 属性对象,let k in props
|
|
69
|
+
*/
|
|
70
|
+
private _isReadOnly;
|
|
71
|
+
/**
|
|
72
|
+
* 是否启用
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @instance
|
|
75
|
+
* @memberof GvolObject
|
|
76
|
+
*/
|
|
77
|
+
private enabled;
|
|
78
|
+
private isSelected;
|
|
79
|
+
_singleControlPosition: Array<Cesium.Cartesian3>;
|
|
80
|
+
clusterPoint: any;
|
|
81
|
+
tmpHeading: number;
|
|
82
|
+
private sg;
|
|
83
|
+
positionChanged: Subject<boolean>;
|
|
84
|
+
protected isPositionConstant: boolean;
|
|
85
|
+
animationInitPropArray: string[];
|
|
86
|
+
hideValues: string[];
|
|
87
|
+
baseUrl: string;
|
|
88
|
+
constructor(engine: any, layer: any, p?: any);
|
|
89
|
+
protected resetControlPosition(v: any): void;
|
|
90
|
+
onPropertyChanged(props?: string): void;
|
|
91
|
+
initDefaultProps(p: any): void;
|
|
92
|
+
gvolGuid: string;
|
|
93
|
+
id: string;
|
|
94
|
+
_name: string;
|
|
95
|
+
get name(): string;
|
|
96
|
+
set name(v: string);
|
|
97
|
+
private _level;
|
|
98
|
+
get level(): number;
|
|
99
|
+
set level(v: number);
|
|
100
|
+
description: string;
|
|
101
|
+
type: string;
|
|
102
|
+
isReadOnly: boolean;
|
|
103
|
+
protected _show: boolean;
|
|
104
|
+
get show(): boolean;
|
|
105
|
+
set show(value: boolean);
|
|
106
|
+
_distanceDisplay: boolean;
|
|
107
|
+
get distanceDisplay(): boolean;
|
|
108
|
+
set distanceDisplay(v: boolean);
|
|
109
|
+
_distanceHeight: number;
|
|
110
|
+
get distanceHeight(): number;
|
|
111
|
+
set distanceHeight(v: number);
|
|
112
|
+
protected _ctrlPosition: Array<GvolPoint>;
|
|
113
|
+
/**
|
|
114
|
+
* 控制点
|
|
115
|
+
*/
|
|
116
|
+
get ctrlPosition(): GvolPoint[];
|
|
117
|
+
set ctrlPosition(value: GvolPoint[]);
|
|
118
|
+
protected _pointIndex: number;
|
|
119
|
+
get pointIndex(): number;
|
|
120
|
+
set pointIndex(value: number);
|
|
121
|
+
get longitude(): any;
|
|
122
|
+
set longitude(value: any);
|
|
123
|
+
get latitude(): any;
|
|
124
|
+
set latitude(value: any);
|
|
125
|
+
get elevation(): any;
|
|
126
|
+
set elevation(value: any);
|
|
127
|
+
gridGroup: number;
|
|
128
|
+
private _gridSwitch;
|
|
129
|
+
get gridSwitch(): boolean;
|
|
130
|
+
set gridSwitch(v: boolean);
|
|
131
|
+
_gridLevel: number;
|
|
132
|
+
get gridLevel(): number;
|
|
133
|
+
set gridLevel(v: number);
|
|
134
|
+
private _gridIsAgg;
|
|
135
|
+
get gridIsAgg(): boolean;
|
|
136
|
+
set gridIsAgg(v: boolean);
|
|
137
|
+
private _gridColor;
|
|
138
|
+
get gridColor(): string;
|
|
139
|
+
set gridColor(v: string);
|
|
140
|
+
private _gridOutlineColor;
|
|
141
|
+
get gridOutlineColor(): string;
|
|
142
|
+
set gridOutlineColor(v: string);
|
|
143
|
+
gridUpdate(): void;
|
|
144
|
+
gridUpdateColor(): void;
|
|
145
|
+
getUpdateLevelPrimtive(): Cesium.PrimitiveCollection | undefined;
|
|
146
|
+
anchorHelper?: AnchorHelper;
|
|
147
|
+
formatBBox(cells: any): {
|
|
148
|
+
polyline: any[];
|
|
149
|
+
polygon: any[];
|
|
150
|
+
};
|
|
151
|
+
drawGrid(cartes: any): void;
|
|
152
|
+
destroyPrimitive(): void;
|
|
153
|
+
primitive: any;
|
|
154
|
+
_allowCrossGround: boolean;
|
|
155
|
+
get allowCrossGround(): boolean;
|
|
156
|
+
set allowCrossGround(v: boolean);
|
|
157
|
+
initCtls(addCtrl?: boolean): void;
|
|
158
|
+
protected initRootEntity(layer: any): void;
|
|
159
|
+
initShape(): void;
|
|
160
|
+
/**
|
|
161
|
+
* 返回当前Graph的属性,以及控制点数据
|
|
162
|
+
*/
|
|
163
|
+
/**
|
|
164
|
+
* 返回当前graph的所有控制点坐标(cartesian3)
|
|
165
|
+
*/
|
|
166
|
+
getCtlPositions(): Cesium.Cartesian3[];
|
|
167
|
+
/**
|
|
168
|
+
* 设置控制点
|
|
169
|
+
* @param index 序号
|
|
170
|
+
* @param ctrls 控制点
|
|
171
|
+
*/
|
|
172
|
+
setCtrlPosition(index: number, ctrls: any): void;
|
|
173
|
+
setCtrlPositionCartesian3(index: number, ctrls: any): void;
|
|
174
|
+
insertPositionCartesian3(index: number, ctrls: any): void;
|
|
175
|
+
ctls: any;
|
|
176
|
+
/**
|
|
177
|
+
* 增加控制点
|
|
178
|
+
* @private
|
|
179
|
+
* @param cartesian3
|
|
180
|
+
*/
|
|
181
|
+
private addMitCtrl;
|
|
182
|
+
protected resetHeightReference(): void;
|
|
183
|
+
lerp(index1: any, index2: any): Cesium.Cartesian3;
|
|
184
|
+
addCtl(cartesian3: any, index?: number | any, handle?: boolean): Cesium.Billboard;
|
|
185
|
+
/**
|
|
186
|
+
* @private
|
|
187
|
+
* @param ctl
|
|
188
|
+
*/
|
|
189
|
+
handleNewCtl(ctl: any): void;
|
|
190
|
+
/**
|
|
191
|
+
* 增加控制点
|
|
192
|
+
* @param pos 经纬度位置点
|
|
193
|
+
* @param index 插入位置
|
|
194
|
+
*/
|
|
195
|
+
addCtlPoint(pos: any, index?: number | undefined): void;
|
|
196
|
+
protected fillShape(ent: any): any;
|
|
197
|
+
/**
|
|
198
|
+
* 对于maxPointNum为指定值的图形,返回是否已达到最大ctl数量
|
|
199
|
+
* 比如rectange只需要2个点即可结束绘制
|
|
200
|
+
*/
|
|
201
|
+
ishaveMaxCtls(): boolean;
|
|
202
|
+
protected setInternalControlPosition(points: any, time?: any): void;
|
|
203
|
+
onControlPositionChanged: Function;
|
|
204
|
+
/**
|
|
205
|
+
* 返回当前ctl数量是否可以绘制图形
|
|
206
|
+
* 无限max点的图形比较min值,比如,polygon至少需要3个点,polyline至少需要2个点...
|
|
207
|
+
* 对于限定ctl数量的图形,ctlnum >= max 返回true
|
|
208
|
+
*/
|
|
209
|
+
isCtlNumValid(): boolean;
|
|
210
|
+
/**
|
|
211
|
+
* 进入编辑模式
|
|
212
|
+
*/
|
|
213
|
+
toEdit(): void;
|
|
214
|
+
/**
|
|
215
|
+
* 图形绘制结束后调用
|
|
216
|
+
*/
|
|
217
|
+
finish(): void;
|
|
218
|
+
/**
|
|
219
|
+
* @private
|
|
220
|
+
*/
|
|
221
|
+
delete(): void;
|
|
222
|
+
/**
|
|
223
|
+
* @private
|
|
224
|
+
* @param ents
|
|
225
|
+
*/
|
|
226
|
+
deleteEnts(ents: any): void;
|
|
227
|
+
/**
|
|
228
|
+
* 删除最后一个控制点
|
|
229
|
+
*/
|
|
230
|
+
deleteLastPoint(): void;
|
|
231
|
+
/**
|
|
232
|
+
* 删除控制点
|
|
233
|
+
* @param {ctlPoint} ctlPoint
|
|
234
|
+
*/
|
|
235
|
+
deleteCtlPoint(index: any): void;
|
|
236
|
+
middleClosed: boolean;
|
|
237
|
+
rotateByHeadingProperty: Array<string>;
|
|
238
|
+
/**
|
|
239
|
+
* 根据屏幕移动修改heading
|
|
240
|
+
* @param start
|
|
241
|
+
* @param end
|
|
242
|
+
*/
|
|
243
|
+
rotateByHeading?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
244
|
+
rotateHeadingByAngle?(start: number, end: number): any;
|
|
245
|
+
rotatePitchByAngle?(start: number, end: number): any;
|
|
246
|
+
rotateRollByAngle?(start: number, end: number): any;
|
|
247
|
+
rotateByPitchProperty: Array<string>;
|
|
248
|
+
/**
|
|
249
|
+
* 根据屏幕移动修改Pich
|
|
250
|
+
* @param start
|
|
251
|
+
* @param end
|
|
252
|
+
*/
|
|
253
|
+
rotateByPitch?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
254
|
+
rotateByRollProperty: Array<string>;
|
|
255
|
+
/**
|
|
256
|
+
* 根据屏幕移动修改Roll
|
|
257
|
+
* @param start
|
|
258
|
+
* @param end
|
|
259
|
+
*/
|
|
260
|
+
rotateByRoll?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
261
|
+
scaleZProperty: Array<string>;
|
|
262
|
+
/**
|
|
263
|
+
* 高度放大,如圆锥调整height值
|
|
264
|
+
* @param start
|
|
265
|
+
* @param end
|
|
266
|
+
*/
|
|
267
|
+
scaleZ?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
268
|
+
scaleXProperty: Array<string>;
|
|
269
|
+
/**
|
|
270
|
+
* 宽度缩放
|
|
271
|
+
* @param start
|
|
272
|
+
* @param end
|
|
273
|
+
*/
|
|
274
|
+
scaleX?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
275
|
+
scaleYProperty: Array<string>;
|
|
276
|
+
/**
|
|
277
|
+
* 长度缩放
|
|
278
|
+
* @param start
|
|
279
|
+
* @param end
|
|
280
|
+
*/
|
|
281
|
+
scaleY?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
282
|
+
scaleProperty: Array<string>;
|
|
283
|
+
/**
|
|
284
|
+
* 放大缩小
|
|
285
|
+
* @param start
|
|
286
|
+
* @param end
|
|
287
|
+
*/
|
|
288
|
+
scale?(start: Cesium.Cartesian2, end: Cesium.Cartesian2): any;
|
|
289
|
+
movePositionProperty: Array<string>;
|
|
290
|
+
/**
|
|
291
|
+
* 水平移动
|
|
292
|
+
* @param start
|
|
293
|
+
* @param end
|
|
294
|
+
*/
|
|
295
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
296
|
+
moveHeightProperty: Array<string>;
|
|
297
|
+
/**
|
|
298
|
+
* 垂直移动
|
|
299
|
+
* @param start
|
|
300
|
+
* @param end
|
|
301
|
+
*/
|
|
302
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
303
|
+
toDegrees(cartesian3Pos: any): number[];
|
|
304
|
+
protected calculateCursor(): void;
|
|
305
|
+
ChangeMoveByMouse(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
306
|
+
ScreenPixel(): number;
|
|
307
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
308
|
+
changeScaleByMouse(scale: number, start: Cesium.Cartesian2, end: Cesium.Cartesian2): number;
|
|
309
|
+
/**
|
|
310
|
+
* 锚定
|
|
311
|
+
*/
|
|
312
|
+
anchoring?(): any;
|
|
313
|
+
/**
|
|
314
|
+
* 获取中心点
|
|
315
|
+
*/
|
|
316
|
+
getCenter(): Cesium.Cartesian3;
|
|
317
|
+
/**
|
|
318
|
+
* 获取 最小 Rectangle
|
|
319
|
+
*/
|
|
320
|
+
getBoundingRectangle(): Cesium.Rectangle;
|
|
321
|
+
__meta__: any;
|
|
322
|
+
toJson(): any;
|
|
323
|
+
extendProp: any;
|
|
324
|
+
camera: CameraParam;
|
|
325
|
+
isAddControlPointEntity: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* 返回该对象的所属earth实例
|
|
328
|
+
* @type {Earth}
|
|
329
|
+
* @readonly
|
|
330
|
+
*/
|
|
331
|
+
get earth(): any;
|
|
332
|
+
/**
|
|
333
|
+
* 视角获取
|
|
334
|
+
*/
|
|
335
|
+
getPerspective(): void;
|
|
336
|
+
toGeoJsonGeometry(): any;
|
|
337
|
+
_fromJsonFilterKeys: string[];
|
|
338
|
+
gvolFromJSON(jsonObject: any): void;
|
|
339
|
+
destroy(): void;
|
|
340
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import JBLine from './Polyline/EditorJBLine';
|
|
2
|
+
import JBPointObject from './Image/EditorJBPointObject';
|
|
3
|
+
import JBPointScreen from './Point/EditorJBPointScreen';
|
|
4
|
+
export declare class GraphFactory {
|
|
5
|
+
static createObj0(json: any, engine: any, layer: any, jbUrl: any): any;
|
|
6
|
+
static createJb(json: any, viewer: any, layer: any): JBLine | JBPointObject | JBPointScreen;
|
|
7
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import EditMode from './EditMode';
|
|
2
|
+
import { LayerConfig } from './Interface/LayerConfig';
|
|
3
|
+
import Graph from './Graph';
|
|
4
|
+
import { AnimationManager } from './Animation/AnimationManager';
|
|
5
|
+
import { Event } from '../Core/Event';
|
|
6
|
+
/**
|
|
7
|
+
* 标绘管理
|
|
8
|
+
*/
|
|
9
|
+
export default class GraphManager extends Event {
|
|
10
|
+
static ctrlPointCanvas: any;
|
|
11
|
+
/**
|
|
12
|
+
* 聚合dataSource
|
|
13
|
+
*/
|
|
14
|
+
private static _svgCache;
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
*/
|
|
18
|
+
static get svgCache(): Map<string, any>;
|
|
19
|
+
static getPng(code: string): any;
|
|
20
|
+
static getJbData(id: string): string;
|
|
21
|
+
/**
|
|
22
|
+
* 脏标记
|
|
23
|
+
*/
|
|
24
|
+
_isChanged: boolean;
|
|
25
|
+
get isChanged(): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 将脏标记充值为false
|
|
28
|
+
*/
|
|
29
|
+
resetChanged(): void;
|
|
30
|
+
/**
|
|
31
|
+
* 对象集合(Entity)
|
|
32
|
+
*/
|
|
33
|
+
graphList: Array<Graph>;
|
|
34
|
+
private _graphicList;
|
|
35
|
+
/**
|
|
36
|
+
* 对象集合(Graph)
|
|
37
|
+
*/
|
|
38
|
+
get graphicList(): Graph[];
|
|
39
|
+
private layer;
|
|
40
|
+
/**
|
|
41
|
+
* 编辑器
|
|
42
|
+
*/
|
|
43
|
+
editor: EditMode;
|
|
44
|
+
private config;
|
|
45
|
+
private engine;
|
|
46
|
+
private viewer;
|
|
47
|
+
private sg;
|
|
48
|
+
/**
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
static baseJbUrl: string;
|
|
52
|
+
private serviceManager;
|
|
53
|
+
/**
|
|
54
|
+
* 标绘对象树
|
|
55
|
+
*/
|
|
56
|
+
treeList: any[];
|
|
57
|
+
private cesService?;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param viewer a
|
|
61
|
+
* @param config 1
|
|
62
|
+
*/
|
|
63
|
+
constructor(engine: any, config: LayerConfig, cesService?: any);
|
|
64
|
+
/**
|
|
65
|
+
* 显示未被聚合的点
|
|
66
|
+
*/
|
|
67
|
+
private showUnClusteredPoint;
|
|
68
|
+
private _animationManager;
|
|
69
|
+
get animationManager(): AnimationManager;
|
|
70
|
+
/**
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
start(): void;
|
|
74
|
+
/**
|
|
75
|
+
* @private
|
|
76
|
+
*/
|
|
77
|
+
destroyHandler(): void;
|
|
78
|
+
/**
|
|
79
|
+
* 开始绘制
|
|
80
|
+
* @param json 不含控制点的对象
|
|
81
|
+
*/
|
|
82
|
+
create(json: any): any;
|
|
83
|
+
/**
|
|
84
|
+
* 凝视、环绕、螺旋的视角动画,需要判断鼠标是否拾取到已创建的标绘,
|
|
85
|
+
* 如果拾取到标绘(单点类)则为该标绘添加相应动画
|
|
86
|
+
* 如果没有拾取到,则在鼠标点击处绘制一个点 --2021.7.26 by weiyc
|
|
87
|
+
* */
|
|
88
|
+
pickOrCreate(): void;
|
|
89
|
+
removeDrawItem(json: any): void;
|
|
90
|
+
cancelCreate(): void;
|
|
91
|
+
/**
|
|
92
|
+
* 根据控制点绘制
|
|
93
|
+
*
|
|
94
|
+
* @param 含控制点的对象
|
|
95
|
+
*/
|
|
96
|
+
draw(json: any): any;
|
|
97
|
+
/**
|
|
98
|
+
* 删除
|
|
99
|
+
* @param graph
|
|
100
|
+
*/
|
|
101
|
+
delete(graph: Graph): any;
|
|
102
|
+
/**
|
|
103
|
+
* 清空
|
|
104
|
+
*/
|
|
105
|
+
clean(): void;
|
|
106
|
+
/**
|
|
107
|
+
* 删除所有
|
|
108
|
+
*/
|
|
109
|
+
deleteAll(): void;
|
|
110
|
+
/**
|
|
111
|
+
* 关闭场景,清空以及关闭按钮
|
|
112
|
+
*/
|
|
113
|
+
close(): void;
|
|
114
|
+
viewPoint: any;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @param json 加载
|
|
118
|
+
*/
|
|
119
|
+
load(obj: any): void;
|
|
120
|
+
flyTo(duration: number): void;
|
|
121
|
+
classToPlain(obj: any): Record<string, any>;
|
|
122
|
+
/**
|
|
123
|
+
* 保存
|
|
124
|
+
*/
|
|
125
|
+
save(): {
|
|
126
|
+
graphs: any[];
|
|
127
|
+
animations: any[];
|
|
128
|
+
};
|
|
129
|
+
toGeoJson(graph: any, geometry: any): {
|
|
130
|
+
type: string;
|
|
131
|
+
properties: {};
|
|
132
|
+
geometry: {
|
|
133
|
+
type: string;
|
|
134
|
+
coordinates: number[];
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
createObj(json: any): any;
|
|
138
|
+
/**
|
|
139
|
+
* 加载资源
|
|
140
|
+
*/
|
|
141
|
+
loadResource(baseUrl: any): Promise<void>;
|
|
142
|
+
parseIcons(picData: any, kind: string): Promise<void>;
|
|
143
|
+
private iconsTreeHideFile;
|
|
144
|
+
private iconsTreeDataResolve;
|
|
145
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class GraphPropStorage {
|
|
2
|
+
static key: string;
|
|
3
|
+
static getProp(graphType: any): any;
|
|
4
|
+
static saveProp(graphType: any, propName: any, propValue: any): void;
|
|
5
|
+
static getPropList(): DeGraphProp[];
|
|
6
|
+
}
|
|
7
|
+
export declare class DeGraphProp {
|
|
8
|
+
graphType: string;
|
|
9
|
+
propObj: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 标绘属性列表
|
|
3
|
+
*/
|
|
4
|
+
export declare class GraphProperty {
|
|
5
|
+
constructor(options: any);
|
|
6
|
+
/**
|
|
7
|
+
* 名称
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* 标题用于显示
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* 数据类型,如number:string等
|
|
16
|
+
*/
|
|
17
|
+
type: string;
|
|
18
|
+
/**
|
|
19
|
+
* 是否可编辑
|
|
20
|
+
*/
|
|
21
|
+
editable?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* 描述
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 最小值
|
|
28
|
+
*/
|
|
29
|
+
min?: number;
|
|
30
|
+
/**
|
|
31
|
+
* 最大值
|
|
32
|
+
*/
|
|
33
|
+
max?: number;
|
|
34
|
+
/**
|
|
35
|
+
* 编辑器操作step
|
|
36
|
+
*/
|
|
37
|
+
step?: number;
|
|
38
|
+
/**
|
|
39
|
+
* 编辑器是否可见
|
|
40
|
+
*/
|
|
41
|
+
visible: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 最大长度,针对string
|
|
44
|
+
*/
|
|
45
|
+
maxLength?: number;
|
|
46
|
+
isError: boolean;
|
|
47
|
+
private _value?;
|
|
48
|
+
/**
|
|
49
|
+
* 值
|
|
50
|
+
*/
|
|
51
|
+
get value(): any;
|
|
52
|
+
set value(value: any);
|
|
53
|
+
private validate;
|
|
54
|
+
/**
|
|
55
|
+
* 值变化事件
|
|
56
|
+
*/
|
|
57
|
+
onValueChanged: Function;
|
|
58
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import CesiumRender from './CesiumRender';
|
|
2
|
+
declare class CesiumConeCommunicate extends CesiumRender {
|
|
3
|
+
_data: any;
|
|
4
|
+
_currMatrix: any;
|
|
5
|
+
_appearance: any;
|
|
6
|
+
_geometry: any;
|
|
7
|
+
_renderObj: any;
|
|
8
|
+
constructor(map: any, data: any);
|
|
9
|
+
/**
|
|
10
|
+
* 初始化方法
|
|
11
|
+
*/
|
|
12
|
+
init(data?: any): void;
|
|
13
|
+
_createMaterial(): Cesium.MaterialAppearance;
|
|
14
|
+
_createGeometry(positions: any, sts: any): Cesium.Geometry;
|
|
15
|
+
/**
|
|
16
|
+
* 切分圆锥
|
|
17
|
+
* @returns
|
|
18
|
+
* @memberof ConicSensor
|
|
19
|
+
*/
|
|
20
|
+
_getConicGeometry(): Cesium.Geometry;
|
|
21
|
+
/**
|
|
22
|
+
* 创建Primitive
|
|
23
|
+
*/
|
|
24
|
+
_createPrimitive(): Cesium.Primitive;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
_listenerFun: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* 清理
|
|
32
|
+
*/
|
|
33
|
+
clear(): void;
|
|
34
|
+
_updateModelMatrix(): void;
|
|
35
|
+
/**
|
|
36
|
+
* 属性更新
|
|
37
|
+
*/
|
|
38
|
+
updateAttribute(attrName: any): void;
|
|
39
|
+
}
|
|
40
|
+
export default CesiumConeCommunicate;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import RenderPlotting from './RenderPlotting';
|
|
2
|
+
import DynamicProperty from './DynamicProperty';
|
|
3
|
+
export declare class CesiumRender extends RenderPlotting {
|
|
4
|
+
_data: any;
|
|
5
|
+
_renderObj: any;
|
|
6
|
+
constructor(map?: any, data?: any);
|
|
7
|
+
getRadians(value: any): number;
|
|
8
|
+
getCartesian2(value: any): Cesium.Cartesian2;
|
|
9
|
+
getCartesian3(value: any): Cesium.Cartesian3;
|
|
10
|
+
getRadii(value: any): Cesium.Cartesian3;
|
|
11
|
+
getHeading(value: any): number;
|
|
12
|
+
getHpr(heading: any, pitch: any, roll: any): Cesium.HeadingPitchRoll;
|
|
13
|
+
getOrientation(position: any, hpr: any): any;
|
|
14
|
+
getPositionDegrees(value: any): Cesium.Cartesian3;
|
|
15
|
+
getRectangleDegress(value: any): Cesium.Rectangle;
|
|
16
|
+
getColor(value: any): Cesium.Color;
|
|
17
|
+
getImage(value: any): Cesium.ImageMaterialProperty;
|
|
18
|
+
getShadows(value: any): any;
|
|
19
|
+
getPositions(value: any): DynamicProperty;
|
|
20
|
+
/**
|
|
21
|
+
* 水平对齐方式
|
|
22
|
+
*/
|
|
23
|
+
getHorizontalOrigin(str: any): any;
|
|
24
|
+
getVerticalOrigin(str: any): any;
|
|
25
|
+
getHeightReference(str: any): any;
|
|
26
|
+
getNearFarScalar(value: any): Cesium.NearFarScalar;
|
|
27
|
+
getDistanceDisplayCondition(value: any): Cesium.DistanceDisplayCondition;
|
|
28
|
+
getClassificationType(value: any): any;
|
|
29
|
+
getGranularity(value: any): number;
|
|
30
|
+
}
|
|
31
|
+
export default CesiumRender;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { GvolPoint } from '../../../Core/GvolPoint';
|
|
2
|
+
export declare class GxCloudItem {
|
|
3
|
+
private viewer;
|
|
4
|
+
private primitiveClouds;
|
|
5
|
+
constructor(earth: Cesium.Viewer, lon: number, lat: number, option: GxCloudOption);
|
|
6
|
+
private render;
|
|
7
|
+
/**
|
|
8
|
+
* 体积云位置信息
|
|
9
|
+
*/
|
|
10
|
+
private _position;
|
|
11
|
+
get position(): GvolPoint;
|
|
12
|
+
set position(value: GvolPoint);
|
|
13
|
+
/**
|
|
14
|
+
* 体积云参数
|
|
15
|
+
*/
|
|
16
|
+
private _cloudOption;
|
|
17
|
+
get cloudOption(): GxCloudOption;
|
|
18
|
+
set cloudOption(value: GxCloudOption);
|
|
19
|
+
private originalMatrix;
|
|
20
|
+
/**
|
|
21
|
+
* 当前云
|
|
22
|
+
*/
|
|
23
|
+
private cloud;
|
|
24
|
+
/**
|
|
25
|
+
* 图元
|
|
26
|
+
*/
|
|
27
|
+
primitive: any;
|
|
28
|
+
/**
|
|
29
|
+
* 更新图元位置
|
|
30
|
+
*/
|
|
31
|
+
private updateModelMatrix;
|
|
32
|
+
/**
|
|
33
|
+
* 创建图元
|
|
34
|
+
*/
|
|
35
|
+
private createPrimitive;
|
|
36
|
+
/**
|
|
37
|
+
* 更新外观,在修改属性之后
|
|
38
|
+
*/
|
|
39
|
+
update(): void;
|
|
40
|
+
/**
|
|
41
|
+
* 更新外观,修改图元属性
|
|
42
|
+
*/
|
|
43
|
+
updatePrimitive(): void;
|
|
44
|
+
}
|
|
45
|
+
export declare class GxCloudOption {
|
|
46
|
+
/**
|
|
47
|
+
* 启用最大最小值缩放
|
|
48
|
+
*/
|
|
49
|
+
scaleWithMaximumSize: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 沿X轴缩放
|
|
52
|
+
*/
|
|
53
|
+
scaleX: number;
|
|
54
|
+
/**
|
|
55
|
+
* 沿Y轴缩放
|
|
56
|
+
*/
|
|
57
|
+
scaleY: number;
|
|
58
|
+
/**
|
|
59
|
+
* X轴最大缩放范围
|
|
60
|
+
*/
|
|
61
|
+
maximumSizeX: number;
|
|
62
|
+
/**
|
|
63
|
+
* Y轴最大缩放范围
|
|
64
|
+
*/
|
|
65
|
+
maximumSizeY: number;
|
|
66
|
+
/**
|
|
67
|
+
* Z轴最大缩放范围
|
|
68
|
+
*/
|
|
69
|
+
maximumSizeZ: number;
|
|
70
|
+
/**
|
|
71
|
+
* 是否渲染片
|
|
72
|
+
*/
|
|
73
|
+
renderSlice: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* 片大小
|
|
76
|
+
*/
|
|
77
|
+
slice: number;
|
|
78
|
+
/**
|
|
79
|
+
* 粗细
|
|
80
|
+
*/
|
|
81
|
+
brightness: number;
|
|
82
|
+
}
|