@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,115 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { PlotItem } from '../Models/PlotItem';
|
|
3
|
+
import { SelectItem } from 'primeng/api';
|
|
4
|
+
import Graph from '../PlottingTool/Graph';
|
|
5
|
+
import GraphManager from '../PlottingTool/GraphManager';
|
|
6
|
+
export declare class PlotService {
|
|
7
|
+
geopptServicePlaceHolder: string;
|
|
8
|
+
layerIpReg: RegExp;
|
|
9
|
+
placeHolderReg: RegExp;
|
|
10
|
+
resourceData: any;
|
|
11
|
+
resourceTypeOpen: Subject<any>;
|
|
12
|
+
resourceTypeClose: Subject<any>;
|
|
13
|
+
showSelectionSub$: Subject<any>;
|
|
14
|
+
curJb: any;
|
|
15
|
+
curPlots: any[];
|
|
16
|
+
/**
|
|
17
|
+
* 资源路径
|
|
18
|
+
*/
|
|
19
|
+
_baseUrl: any;
|
|
20
|
+
private _gm;
|
|
21
|
+
get gm(): GraphManager;
|
|
22
|
+
private _showFrameSelection;
|
|
23
|
+
get showFrameSelection(): boolean;
|
|
24
|
+
set showFrameSelection(v: boolean);
|
|
25
|
+
detailFlag: boolean;
|
|
26
|
+
attrsFlag: boolean;
|
|
27
|
+
plotList: Array<any>;
|
|
28
|
+
createFlag: boolean;
|
|
29
|
+
layerName: string;
|
|
30
|
+
layerId: string;
|
|
31
|
+
currentLayer: any;
|
|
32
|
+
asideFlag: boolean;
|
|
33
|
+
copyFlag: boolean;
|
|
34
|
+
lockFlag: boolean;
|
|
35
|
+
picPublicPath: string;
|
|
36
|
+
jbPicPublicPath: string;
|
|
37
|
+
jbPicDrawPath: string;
|
|
38
|
+
jbPicLinePublicPath: string;
|
|
39
|
+
fontMode: string[];
|
|
40
|
+
fontSize: number[];
|
|
41
|
+
lineWidth: SelectItem[];
|
|
42
|
+
$subject: Subject<unknown>;
|
|
43
|
+
recentlyUsedJbArray: any[];
|
|
44
|
+
storageJbs: any[];
|
|
45
|
+
scalable: boolean;
|
|
46
|
+
rotatable: boolean;
|
|
47
|
+
scenarioList: Array<any>;
|
|
48
|
+
isEmptyForLabel: boolean;
|
|
49
|
+
isRefresh: Subject<any>;
|
|
50
|
+
savePageGraphBoardsSub$: Subject<unknown>;
|
|
51
|
+
savePageGraphAnchorsSub$: Subject<unknown>;
|
|
52
|
+
isCrossSelectedNodes2Or3: string;
|
|
53
|
+
clearCrossSelectedNodes$: Subject<unknown>;
|
|
54
|
+
layerComponentRefresh$: Subject<unknown>;
|
|
55
|
+
private serviceManager;
|
|
56
|
+
private _engine;
|
|
57
|
+
private _viewer;
|
|
58
|
+
plot_icon: string;
|
|
59
|
+
constructor(engine: any);
|
|
60
|
+
initConfig(): void;
|
|
61
|
+
controlScale(p: any): void;
|
|
62
|
+
contains(val: string, keyword: string): boolean;
|
|
63
|
+
addPlot(plot: PlotItem, screen: boolean, event: MouseEvent): boolean;
|
|
64
|
+
draw(obj: any, iconName: string, filename: string, isNext?: boolean): any;
|
|
65
|
+
drawObj(obj: any): void;
|
|
66
|
+
setRecentlyUsedJb(plot: PlotItem): void;
|
|
67
|
+
private litener;
|
|
68
|
+
private _editItem;
|
|
69
|
+
get editItem(): Graph | Array<Graph> | null | undefined;
|
|
70
|
+
set editItem(value: Graph | Array<Graph> | null | undefined);
|
|
71
|
+
onSelectChanged: Subject<Graph | Graph[] | any>;
|
|
72
|
+
createOrEdit(baseUrl: any, json?: any): GraphManager;
|
|
73
|
+
clean(): void;
|
|
74
|
+
createEntityName(entityName: string): string;
|
|
75
|
+
saveData(data: any, layerId: any): Promise<void>;
|
|
76
|
+
saveScenarios(): Promise<any>;
|
|
77
|
+
changeSelect(item: any): void;
|
|
78
|
+
removeAll(): void;
|
|
79
|
+
clear(): void;
|
|
80
|
+
copystr: any;
|
|
81
|
+
copy(propertyItem: any, viewer: Cesium.Viewer, name?: Map<string, string>): void;
|
|
82
|
+
addToClipbrd(copy: any, viewer: any): void;
|
|
83
|
+
getFromClipbrd(): Promise<string>;
|
|
84
|
+
pastePlot(copyitem: any, viewer: any, position?: ClickPosition): void;
|
|
85
|
+
_pasteLocation: boolean;
|
|
86
|
+
get pasteLocation(): boolean;
|
|
87
|
+
set pasteLocation(v: boolean);
|
|
88
|
+
paste(viewer: Cesium.Viewer, byClick: boolean): Promise<void>;
|
|
89
|
+
tempName: string;
|
|
90
|
+
GetPasateNam(keyword: any, list: any): string;
|
|
91
|
+
cut(): void;
|
|
92
|
+
lock(): void;
|
|
93
|
+
handleControlPoints(obj: any): void;
|
|
94
|
+
changeLabelStatus(event: any, obj: any): void;
|
|
95
|
+
isAllow(): void;
|
|
96
|
+
throwError(obj: any): void;
|
|
97
|
+
copyPoints: Array<any>;
|
|
98
|
+
addPoint(points: any, index: any): void;
|
|
99
|
+
deletePoint(points: any, index: any): void;
|
|
100
|
+
editPoint(point: any): void;
|
|
101
|
+
savePoint(pointClose?: any): void;
|
|
102
|
+
cancel(pointClose?: any): void;
|
|
103
|
+
pasteHandler: any;
|
|
104
|
+
rightClickPosition: ClickPosition;
|
|
105
|
+
pasteByMouse(viewer: any): void;
|
|
106
|
+
transformFromTree(data: any[]): {}[];
|
|
107
|
+
plotEnable(isEnable: any): void;
|
|
108
|
+
}
|
|
109
|
+
export declare class ClickPosition {
|
|
110
|
+
showPasteButton: boolean;
|
|
111
|
+
lon: number | undefined;
|
|
112
|
+
lat: number | undefined;
|
|
113
|
+
top: number | undefined;
|
|
114
|
+
left: number | undefined;
|
|
115
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { GeojsonPlotModel } from "../Models/GeojsonPlotModel";
|
|
2
|
+
import { HtmlBoxMulti } from "../PlottingTool/HtmlBox/HtmlBoxMulti";
|
|
3
|
+
import { IAnimation } from "../PlottingTool/Animation/IAnimation";
|
|
4
|
+
import Graph from "../PlottingTool/Graph";
|
|
5
|
+
import { HtmlBoxBase } from "../PlottingTool/HtmlBox/html-box-base";
|
|
6
|
+
import { Subject } from "rxjs";
|
|
7
|
+
import { GpLayer } from "../LayerManager/GpLayer/GpLayer";
|
|
8
|
+
import ServiceManager from "./service.manager";
|
|
9
|
+
export declare class PropertyService {
|
|
10
|
+
private readonly boardOffsetX;
|
|
11
|
+
private readonly boardOffsetY;
|
|
12
|
+
private wordNumberLimit;
|
|
13
|
+
boardMoveZIndex: number;
|
|
14
|
+
readonly graphBoardStyle: {
|
|
15
|
+
id: number;
|
|
16
|
+
pic: string;
|
|
17
|
+
line: {
|
|
18
|
+
'border-bottom': string;
|
|
19
|
+
'margin-top': string;
|
|
20
|
+
};
|
|
21
|
+
boardLine: string;
|
|
22
|
+
boardPic: string;
|
|
23
|
+
wordNumber: number;
|
|
24
|
+
}[];
|
|
25
|
+
boardGraphMap: {};
|
|
26
|
+
maxLengthTextSub$: Subject<unknown>;
|
|
27
|
+
changeBoardStyleUndoRedoSub$: Subject<unknown>;
|
|
28
|
+
private isPrevent;
|
|
29
|
+
static instance: PropertyService;
|
|
30
|
+
needDetchanged$: Subject<any>;
|
|
31
|
+
both2DAnd3DSelectChanged: boolean;
|
|
32
|
+
private serviceManager;
|
|
33
|
+
constructor(serviceManager: ServiceManager);
|
|
34
|
+
private _propertyItem;
|
|
35
|
+
get propertyItem(): Graph | Graph[] | HtmlBoxBase | HtmlBoxBase[] | HtmlBoxMulti | GeojsonPlotModel | IAnimation | undefined | GpLayer | GpLayer[];
|
|
36
|
+
set propertyItem(value: Graph | Graph[] | HtmlBoxBase | HtmlBoxBase[] | HtmlBoxMulti | GeojsonPlotModel | IAnimation | undefined | GpLayer | GpLayer[]);
|
|
37
|
+
setselectItem(value: any): void;
|
|
38
|
+
propertyType: string;
|
|
39
|
+
changeGraphBoardShow(isShow: any, p: any): void;
|
|
40
|
+
changeGraphBoardStyle(style: any, p: any): void;
|
|
41
|
+
setBoardStyle(boardDivWrapper: HTMLElement, style: any, graphBoardId: string): void;
|
|
42
|
+
createGraphBoard(style: any, graphBoardId: string, graphBoardLinePosition: string, selectGraphCartesian: any): void;
|
|
43
|
+
setBoardPosition(selectGraphPostion: Cesium.Cartesian2, graphBoardLinePosition: string, boardDivWrapper: any, boardLineDiv: HTMLElement): void;
|
|
44
|
+
changeBoardPosition(graphBoardLinePosition: any): void;
|
|
45
|
+
setGraphBoardRelation(graphId: string, boardId: string): void;
|
|
46
|
+
removeGraphBoard(graphId: string): void;
|
|
47
|
+
addGraphBoard(graphId: string): void;
|
|
48
|
+
getBoardDivByModel(currentSelectGraphArr: any): any;
|
|
49
|
+
addEventToBoard(boardDivWrapper: HTMLElement, boardInput: HTMLElement): void;
|
|
50
|
+
selectEntityByBoardId(graphId: string): any;
|
|
51
|
+
computeInputWidth(boardInput: HTMLInputElement): void;
|
|
52
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { NewRichTextBox } from "../PlottingTool/HtmlBox/new-rich-text";
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
import ServiceManager from "./service.manager";
|
|
4
|
+
export declare class RichTextService {
|
|
5
|
+
editor: any;
|
|
6
|
+
currentHtmlBox: NewRichTextBox | undefined;
|
|
7
|
+
private prevChangeContent;
|
|
8
|
+
sceneEditSub$: Subject<unknown>;
|
|
9
|
+
scalePercentCopy: number;
|
|
10
|
+
scalePercentCopySub$: Subject<unknown>;
|
|
11
|
+
private serviceManager;
|
|
12
|
+
constructor(serviceManager: ServiceManager);
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param richTextBox
|
|
16
|
+
*/
|
|
17
|
+
setCurrentRichText(richTextBox: NewRichTextBox, tembox: any, scalePercent: any): void;
|
|
18
|
+
modelScale(scalePercent: any): void;
|
|
19
|
+
beyondRange: boolean;
|
|
20
|
+
updateToolPos(temBox: HTMLElement, scalePercent: any, wEditorToolBarWidth: any): {
|
|
21
|
+
curleft: string;
|
|
22
|
+
curtop: string;
|
|
23
|
+
};
|
|
24
|
+
init(tool: any, content: any, innerHtml: any): any;
|
|
25
|
+
clear(): void;
|
|
26
|
+
stringIze(obj: any): string;
|
|
27
|
+
parseElement(str: any): ChildNode;
|
|
28
|
+
setTooltip(): void;
|
|
29
|
+
disable(): void;
|
|
30
|
+
enable(): void;
|
|
31
|
+
mouseStateUpdate(currentBox: any): void;
|
|
32
|
+
backColorUpdate(currentRichTextBox: any): void;
|
|
33
|
+
hexToRgba(hex: any, opacity: any): string;
|
|
34
|
+
rgbToRgba(color: any, alp: any): string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GpLayer } from '../../LayerManager/GpLayer/GpLayer';
|
|
2
|
+
export default class BigFileManager {
|
|
3
|
+
attrList: string[];
|
|
4
|
+
gpList: Array<GpLayer>;
|
|
5
|
+
viewer: Cesium.Viewer;
|
|
6
|
+
constructor(viewer: Cesium.Viewer);
|
|
7
|
+
setListByData(dataList: Array<GpLayer>): void;
|
|
8
|
+
initListData(item: any): void;
|
|
9
|
+
createGpObjectNoLayer(params: any): GpLayer;
|
|
10
|
+
getLayer(params: any, layertype: string, serviceInfo?: any): Cesium.ImageryLayer;
|
|
11
|
+
cleanAll(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Graticule } from "../../Service/SceneOptions/Graticule";
|
|
2
|
+
export default class CesiumManager {
|
|
3
|
+
constructor(viewer: any, terrainUrl: any, globalTerrainUrl: any);
|
|
4
|
+
viewer: any;
|
|
5
|
+
terrainUrl: any;
|
|
6
|
+
globalTerrainUrl: any;
|
|
7
|
+
graticuleLayer: Graticule;
|
|
8
|
+
init(): void;
|
|
9
|
+
private readonly cloudOpacity;
|
|
10
|
+
river: Cesium.Primitive;
|
|
11
|
+
sea: Cesium.Primitive;
|
|
12
|
+
SetWater(enable: boolean): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* 设置地形
|
|
15
|
+
* @param type 0无地形;1默认地形;2全球地形
|
|
16
|
+
*/
|
|
17
|
+
SetTerrain(type: number): number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default class EagleManager {
|
|
2
|
+
constructor(viewer: any);
|
|
3
|
+
viewer: any;
|
|
4
|
+
eagleDiv: any;
|
|
5
|
+
lonDiv: any;
|
|
6
|
+
latDiv: any;
|
|
7
|
+
eagleCenterDiv: any;
|
|
8
|
+
isCenterMoved: boolean;
|
|
9
|
+
eagleEyeWidthNum: number;
|
|
10
|
+
eagleEyeHeightNum: number;
|
|
11
|
+
centerWidthNum: number;
|
|
12
|
+
centerHeightNum: number;
|
|
13
|
+
centerBottom: number;
|
|
14
|
+
centerLeft: number;
|
|
15
|
+
centerTop: number;
|
|
16
|
+
latTop: number;
|
|
17
|
+
longLeft: number;
|
|
18
|
+
longNum: number;
|
|
19
|
+
latNum: number;
|
|
20
|
+
centerTopNum: number;
|
|
21
|
+
EagleEyeStyle: any;
|
|
22
|
+
centerStyle: any;
|
|
23
|
+
initEagleDiv(): void;
|
|
24
|
+
updateDivStyle(): void;
|
|
25
|
+
showEagleDiv(show: boolean): void;
|
|
26
|
+
getMousePosition(event: MouseEvent): void;
|
|
27
|
+
setEagleCenterByTopLeft(top: number, left: number): void;
|
|
28
|
+
eagleDivStyle(): object;
|
|
29
|
+
lonDivStyle(): Object;
|
|
30
|
+
latDivStyle(): Object;
|
|
31
|
+
eagleCenterDivStyle(): Object;
|
|
32
|
+
calcLeft(longitude: number): number;
|
|
33
|
+
calcBottom(latitude: number): number;
|
|
34
|
+
setEagleCenterPosition(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HtmlBoxBase } from "../../PlottingTool/HtmlBox/html-box-base";
|
|
2
|
+
export default class HtmlDrawManager {
|
|
3
|
+
outsideHtml: HTMLElement;
|
|
4
|
+
containerDiv: HTMLElement;
|
|
5
|
+
boxList: HtmlBoxBase[];
|
|
6
|
+
constructor(viewer: Cesium.Viewer);
|
|
7
|
+
private init;
|
|
8
|
+
scalePercent: number;
|
|
9
|
+
calculateScale(): void;
|
|
10
|
+
setListByData(data: Array<HtmlBoxBase>): HtmlBoxBase[];
|
|
11
|
+
clearHtmlDiv(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import CesiumManager from "./CesiumManager";
|
|
2
|
+
import EagleManager from "./EagleManager";
|
|
3
|
+
import TerrainManager from "./TerrainManager";
|
|
4
|
+
export default class ImageEffectManager {
|
|
5
|
+
constructor(viewer: any, terrainUrl: any, globalTerrainUrl: any);
|
|
6
|
+
viewer: any;
|
|
7
|
+
page: any;
|
|
8
|
+
cesiumManager: CesiumManager;
|
|
9
|
+
terrainManager: TerrainManager;
|
|
10
|
+
eagleManager: EagleManager;
|
|
11
|
+
initStatus(page: any, flag?: boolean): void;
|
|
12
|
+
click(name: string, value: boolean): void;
|
|
13
|
+
fixLightFunc: any;
|
|
14
|
+
graticuleLayerShow: boolean;
|
|
15
|
+
waterShow: boolean;
|
|
16
|
+
terrainShow: boolean;
|
|
17
|
+
placeType: boolean;
|
|
18
|
+
imagetransform(name: string, value: any): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PageConfig, PageAttr } from "../../Models/all";
|
|
2
|
+
import { GpLayer } from "../../LayerManager/GpLayer/GpLayer";
|
|
3
|
+
export default class LayerManager {
|
|
4
|
+
constructor(geopptWebUrl: string, geopptServiceUrl: string, viewer: any);
|
|
5
|
+
viewer: any;
|
|
6
|
+
geopptWebUrl: any;
|
|
7
|
+
geopptServiceUrl: any;
|
|
8
|
+
layerConfig: any;
|
|
9
|
+
baseLayerList: GpLayer[];
|
|
10
|
+
otherLayerList: GpLayer[];
|
|
11
|
+
districtLayerList: GpLayer[];
|
|
12
|
+
customLayerList: GpLayer[];
|
|
13
|
+
currentConfig: PageConfig;
|
|
14
|
+
getConfig(): void;
|
|
15
|
+
pageToLayerList(currentPage: any): void;
|
|
16
|
+
defaultConfig: any;
|
|
17
|
+
/**
|
|
18
|
+
* 从原始文件中获取默认值
|
|
19
|
+
*/
|
|
20
|
+
getDefaultConfigByOriginal(layerJson: any): void;
|
|
21
|
+
/**
|
|
22
|
+
* 初始默认参数
|
|
23
|
+
*/
|
|
24
|
+
resetLayerConfig(): void;
|
|
25
|
+
initLayerAttr(layer: GpLayer, attr?: PageAttr): GpLayer;
|
|
26
|
+
/**
|
|
27
|
+
* 根据参数解析数据
|
|
28
|
+
*/
|
|
29
|
+
updateLayerList(newConfig: PageConfig, currentPage: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* 更新参数
|
|
32
|
+
* 针对其他影像和自定义影像。
|
|
33
|
+
*/
|
|
34
|
+
updateLayerByConfig(config: PageAttr): GpLayer;
|
|
35
|
+
getLayerById(id: string): GpLayer;
|
|
36
|
+
baseImageLayer: GpLayer | undefined;
|
|
37
|
+
setBaseMap(layer?: GpLayer | undefined): void;
|
|
38
|
+
/**
|
|
39
|
+
* 影像上球
|
|
40
|
+
* @param layer
|
|
41
|
+
* @param isBase 是否是基础图层
|
|
42
|
+
*/
|
|
43
|
+
showImage(layer: GpLayer, isBase?: boolean): void;
|
|
44
|
+
hideImage(layer: GpLayer): void;
|
|
45
|
+
getMapProviders(layer: GpLayer): any[];
|
|
46
|
+
getMapProvider(layer: GpLayer): any;
|
|
47
|
+
private resolveWmsWmtsParam;
|
|
48
|
+
/**层级计算 */
|
|
49
|
+
calculateIndex(imageLayers: Cesium.ImageryLayerCollection): number;
|
|
50
|
+
/**通过影像获取图层 */
|
|
51
|
+
getGpLayerByImageLayer(imageLayer: Cesium.ImageryLayer): GpLayer | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* 将数据格式化成GpLayer
|
|
54
|
+
* @param dataList
|
|
55
|
+
*/
|
|
56
|
+
formatData(dataList: Array<any>): GpLayer[];
|
|
57
|
+
isWebp: boolean;
|
|
58
|
+
formatLayerUnit(layer: GpLayer): GpLayer;
|
|
59
|
+
/**IC数据地址参数url转换 */
|
|
60
|
+
icUrlTransform(url: string): any;
|
|
61
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Music } from "../../Core/Music";
|
|
2
|
+
export default class MusicManager {
|
|
3
|
+
musicList: Array<Music>;
|
|
4
|
+
currentMusic: Music;
|
|
5
|
+
constructor();
|
|
6
|
+
recoverData(list: any): void;
|
|
7
|
+
removeRepeat(list: any): any;
|
|
8
|
+
makeMusic(params: any): Music;
|
|
9
|
+
clean(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
export declare class PageAnimationManager {
|
|
3
|
+
viewer: Cesium.Viewer;
|
|
4
|
+
animationList: ({
|
|
5
|
+
groupName: string;
|
|
6
|
+
groupList: {
|
|
7
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
animatePic: string;
|
|
10
|
+
}[];
|
|
11
|
+
} | {
|
|
12
|
+
groupName: string;
|
|
13
|
+
groupList: {
|
|
14
|
+
name: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}[];
|
|
17
|
+
})[];
|
|
18
|
+
isAutoSet: boolean;
|
|
19
|
+
autoSetValue: string;
|
|
20
|
+
autoSetTime: number;
|
|
21
|
+
pageAnimateTime: number;
|
|
22
|
+
blindNum: number;
|
|
23
|
+
private _isPageAnimationCompleted;
|
|
24
|
+
get isPageAnimationCompleted(): boolean;
|
|
25
|
+
set isPageAnimationCompleted(v: boolean);
|
|
26
|
+
pageAnimationCompleted$: Subject<any>;
|
|
27
|
+
animationEndCallBack: any;
|
|
28
|
+
constructor(viewer: Cesium.Viewer);
|
|
29
|
+
addAnimationToElement(element: any, page: any): void;
|
|
30
|
+
clearPreAddElement(): void;
|
|
31
|
+
private captureImage;
|
|
32
|
+
hideAnimationWrapper(): void;
|
|
33
|
+
showAnimationWrapper(): void;
|
|
34
|
+
removeAddedElement(): void;
|
|
35
|
+
endAnimation(): void;
|
|
36
|
+
addClassToPreAddElement(animationType: any): void;
|
|
37
|
+
restartAnimation(element: any, modelElement: any): void;
|
|
38
|
+
partialCapture(canvas: any, tempWidth: any, tempHeight: any, i: any): string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default class TerrainManager {
|
|
2
|
+
constructor(viewer: any);
|
|
3
|
+
viewer: any;
|
|
4
|
+
enable(value: boolean): void;
|
|
5
|
+
removeListener: any;
|
|
6
|
+
invokeCameraChanged(viewer: Cesium.Viewer): void;
|
|
7
|
+
getLevel(height: any): 1 | 10 | 15 | 5 | 50 | 30;
|
|
8
|
+
clearTerrain(scene: Cesium.Scene): void;
|
|
9
|
+
updateTerrain(scene: any, exaggeration?: number): void;
|
|
10
|
+
updateTerrain1(scene: any): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import BigFileManager from './BigFileManager';
|
|
2
|
+
import HtmlDrawManager from "./HtmlDrawManager";
|
|
3
|
+
import MusicManager from './MusicManager';
|
|
4
|
+
import SubtitleManager from './SubtitleManager';
|
|
5
|
+
import ImageEffectManager from './ImageEffectManager';
|
|
6
|
+
import LayerManager from './LayerManage';
|
|
7
|
+
import { pageEntity } from '../../Models/all';
|
|
8
|
+
import { PageAnimationManager } from './PageAnimationManager';
|
|
9
|
+
export default class SceneManager {
|
|
10
|
+
private fallBackPic;
|
|
11
|
+
private geopptServicePlaceHolder;
|
|
12
|
+
private placeHolderReg;
|
|
13
|
+
geopptWebUrl: any;
|
|
14
|
+
geopptServiceUrl: any;
|
|
15
|
+
layerConfig: any;
|
|
16
|
+
pages: pageEntity[];
|
|
17
|
+
gm: any;
|
|
18
|
+
hm: HtmlDrawManager;
|
|
19
|
+
sm: SubtitleManager;
|
|
20
|
+
bfm: BigFileManager;
|
|
21
|
+
mm: MusicManager;
|
|
22
|
+
lm: LayerManager;
|
|
23
|
+
viewer: Cesium.Viewer;
|
|
24
|
+
showLayer: boolean;
|
|
25
|
+
showImageEffect: boolean;
|
|
26
|
+
iem: ImageEffectManager;
|
|
27
|
+
pam: PageAnimationManager;
|
|
28
|
+
plotList: Array<any>;
|
|
29
|
+
private engine;
|
|
30
|
+
ani: any;
|
|
31
|
+
constructor(serviceManager: any, engine: any, showLayer?: boolean, showImageEffect?: boolean);
|
|
32
|
+
currentScene: any;
|
|
33
|
+
private fetchPage;
|
|
34
|
+
openScene(v: any): Promise<any>;
|
|
35
|
+
private changeSelect;
|
|
36
|
+
stopAnimatin(): Promise<void>;
|
|
37
|
+
loadPage(flag?: any, value?: any, isReplay?: any): Promise<void>;
|
|
38
|
+
private pageAnimationCompletedSubscription;
|
|
39
|
+
pageLoadCompleted(): void;
|
|
40
|
+
plotEnable(isEnable: any): void;
|
|
41
|
+
createOrEdit(viewer: Cesium.Viewer, json?: any): Promise<void>;
|
|
42
|
+
private convertPageImage;
|
|
43
|
+
private transformToGraphManager;
|
|
44
|
+
private add;
|
|
45
|
+
private getPage;
|
|
46
|
+
/**根据页面ID获取标绘元素*/
|
|
47
|
+
getByPage(id: any, isFromPublish?: boolean): Promise<any>;
|
|
48
|
+
currentPageIndex: number;
|
|
49
|
+
currentPage: any;
|
|
50
|
+
previousPage(): Promise<void>;
|
|
51
|
+
nextPage(): Promise<void>;
|
|
52
|
+
autoPlayMode: boolean;
|
|
53
|
+
playState: any;
|
|
54
|
+
stopRotate: boolean;
|
|
55
|
+
playAndPause(): void;
|
|
56
|
+
pause(autoplay?: boolean): void;
|
|
57
|
+
continue(autoplay?: boolean): void;
|
|
58
|
+
next(): void;
|
|
59
|
+
autoPlay(interval?: number): void;
|
|
60
|
+
private onAnimationChanged;
|
|
61
|
+
private setAutoChanged;
|
|
62
|
+
animationOnStop: (shouldA: any) => void;
|
|
63
|
+
private clearAutoChanged;
|
|
64
|
+
hasFinished(): boolean;
|
|
65
|
+
clean(): void;
|
|
66
|
+
}
|
|
67
|
+
export declare enum PlayState {
|
|
68
|
+
stoped = 0,
|
|
69
|
+
playing = 1,
|
|
70
|
+
paused = 2
|
|
71
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare class Canvas2Image {
|
|
2
|
+
constructor();
|
|
3
|
+
$support: {
|
|
4
|
+
canvas: boolean;
|
|
5
|
+
imageData: boolean;
|
|
6
|
+
dataURL: boolean;
|
|
7
|
+
btoa: boolean;
|
|
8
|
+
};
|
|
9
|
+
downloadMime: string;
|
|
10
|
+
scaleCanvas(canvas: any, width: any, height: any): HTMLCanvasElement;
|
|
11
|
+
getDataURL(canvas: any, type: any, width: any, height: any): any;
|
|
12
|
+
saveFile(strData: any): void;
|
|
13
|
+
genImage(strData: any): HTMLImageElement;
|
|
14
|
+
fixType(type: any): string;
|
|
15
|
+
encodeData(data: any): string;
|
|
16
|
+
getImageData(canvas: any): any;
|
|
17
|
+
makeURI(strData: any, type: any): string;
|
|
18
|
+
/**
|
|
19
|
+
* create bitmap image
|
|
20
|
+
* 按照规则生成图片响应头和响应体
|
|
21
|
+
*/
|
|
22
|
+
genBitmapImage: (oData: any) => string;
|
|
23
|
+
/**
|
|
24
|
+
* saveAsImage
|
|
25
|
+
* @param canvasElement
|
|
26
|
+
* @param {String} image type
|
|
27
|
+
* @param {Number} [optional] png width
|
|
28
|
+
* @param {Number} [optional] png height
|
|
29
|
+
*/
|
|
30
|
+
saveAsImage: (canvas: any, width: any, height: any, type: any) => void;
|
|
31
|
+
convertToImage: (canvas: any, width: any, height: any, type: any) => any;
|
|
32
|
+
scaleCanvasByResolution(canvas: any, width: any, height: any): HTMLCanvasElement;
|
|
33
|
+
}
|