leiting-bim 2.1.36 → 2.1.39
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/leiting-bim.es.js +1 -1
- package/leiting-bim.umd.js +11 -11
- package/leitingbim.css +1 -1
- package/package.json +1 -1
- package/plugins/.gitmodules +4 -0
- package/plugins/README.md +2 -0
- package/plugins/build.cjs +63 -0
- package/plugins/cesium-core/dist/cesium-core.mjs +6217 -0
- package/plugins/cesium-core/dist/cesium-core.umd.js +76 -0
- package/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
- package/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
- package/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
- package/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
- package/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
- package/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
- package/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
- package/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
- package/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
- package/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
- package/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
- package/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
- package/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
- package/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
- package/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
- package/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
- package/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
- package/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
- package/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +28 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +22 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +27 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +25 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +30 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +28 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +21 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +30 -0
- package/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
- package/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
- package/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
- package/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
- package/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
- package/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
- package/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
- package/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
- package/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
- package/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
- package/plugins/cesium-core/dist/index.d.ts +12 -0
- package/plugins/cesium-core/package.json +27 -0
- package/plugins/cesium-core/pnpm-lock.yaml +872 -0
- package/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
- package/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
- package/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
- package/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
- package/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
- package/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
- package/plugins/cesium-core/src/components/Material/index.ts +3 -0
- package/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
- package/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
- package/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
- package/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
- package/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
- package/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
- package/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
- package/plugins/cesium-core/src/components/draw/types.ts +28 -0
- package/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
- package/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
- package/plugins/cesium-core/src/components/gltf/index.ts +1 -0
- package/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
- package/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +552 -0
- package/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +289 -0
- package/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
- package/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +427 -0
- package/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +356 -0
- package/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +516 -0
- package/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +472 -0
- package/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +250 -0
- package/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
- package/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +561 -0
- package/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +361 -0
- package/plugins/cesium-core/src/components/measurement/index.ts +13 -0
- package/plugins/cesium-core/src/components/measurement/types.ts +57 -0
- package/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
- package/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
- package/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
- package/plugins/cesium-core/src/components/roaming/index.ts +3 -0
- package/plugins/cesium-core/src/components/roaming/types.ts +71 -0
- package/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
- package/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
- package/plugins/cesium-core/src/index.ts +17 -0
- package/plugins/cesium-core/src/test/measurement/index.html +166 -0
- package/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
- package/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/cesium-core/src/test/roaming/index.html +51 -0
- package/plugins/cesium-core/src/test/roaming/path.html +448 -0
- package/plugins/cesium-core/src/test/roaming/view.html +520 -0
- package/plugins/cesium-core/stats.html +4949 -0
- package/plugins/cesium-core/tsconfig.json +14 -0
- package/plugins/cesium-core/vite.config.ts +35 -0
- package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +13 -0
- package/plugins/cesium-vue/dist/components/basic-audio.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/basic-audio.js +1295 -0
- package/plugins/cesium-vue/dist/components/basic-video/index.d.ts +98 -0
- package/plugins/cesium-vue/dist/components/basic-video.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/basic-video.js +67 -0
- package/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +147 -0
- package/plugins/cesium-vue/dist/components/card-carousel.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-carousel.js +143 -0
- package/plugins/cesium-vue/dist/components/card-content/index.d.ts +16 -0
- package/plugins/cesium-vue/dist/components/card-content.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-content.js +74 -0
- package/plugins/cesium-vue/dist/components/card-page/index.d.ts +64 -0
- package/plugins/cesium-vue/dist/components/card-page.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/card-page.js +111 -0
- package/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +34 -0
- package/plugins/cesium-vue/dist/components/carousel-img.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/carousel-img.js +72 -0
- package/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +63 -0
- package/plugins/cesium-vue/dist/components/echarts-pro.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/echarts-pro.js +7 -0
- package/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +73 -0
- package/plugins/cesium-vue/dist/components/marker-bubble.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-bubble.js +123 -0
- package/plugins/cesium-vue/dist/components/marker-default/index.d.ts +43 -0
- package/plugins/cesium-vue/dist/components/marker-default.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-default.js +39 -0
- package/plugins/cesium-vue/dist/components/marker-html/index.d.ts +43 -0
- package/plugins/cesium-vue/dist/components/marker-html.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-html.js +40 -0
- package/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +159 -0
- package/plugins/cesium-vue/dist/components/marker-manage.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-manage.js +896 -0
- package/plugins/cesium-vue/dist/components/marker-text/index.d.ts +25 -0
- package/plugins/cesium-vue/dist/components/marker-text.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/marker-text.js +30 -0
- package/plugins/cesium-vue/dist/components/measurement/index.d.ts +73 -0
- package/plugins/cesium-vue/dist/components/measurement.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/measurement.js +170 -0
- package/plugins/cesium-vue/dist/create-DynflqE1.js +31 -0
- package/plugins/cesium-vue/dist/index-B03tSn8_.js +45855 -0
- package/plugins/cesium-vue/dist/index-CUs_hd1V.js +403 -0
- package/plugins/cesium-vue/dist/index.d.ts +44 -0
- package/plugins/cesium-vue/dist/index.js +82 -0
- package/plugins/cesium-vue/package.json +106 -0
- package/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
- package/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
- package/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
- package/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
- package/plugins/cesium-vue/src/components/basic-audio/index.ts +6 -0
- package/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +119 -0
- package/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
- package/plugins/cesium-vue/src/components/basic-video/index.ts +7 -0
- package/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +58 -0
- package/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +14 -0
- package/plugins/cesium-vue/src/components/card-carousel/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
- package/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
- package/plugins/cesium-vue/src/components/card-content/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
- package/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
- package/plugins/cesium-vue/src/components/card-page/index.ts +7 -0
- package/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
- package/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
- package/plugins/cesium-vue/src/components/carousel-img/index.ts +7 -0
- package/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +84 -0
- package/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +8 -0
- package/plugins/cesium-vue/src/components/echarts-pro/index.ts +7 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
- package/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
- package/plugins/cesium-vue/src/components/marker-bubble/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
- package/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
- package/plugins/cesium-vue/src/components/marker-default/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
- package/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
- package/plugins/cesium-vue/src/components/marker-html/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
- package/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
- package/plugins/cesium-vue/src/components/marker-manage/index.ts +9 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
- package/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
- package/plugins/cesium-vue/src/components/marker-text/index.ts +7 -0
- package/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
- package/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
- package/plugins/cesium-vue/src/components/measurement/index.ts +7 -0
- package/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
- package/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
- package/plugins/cesium-vue/src/index.ts +89 -0
- package/plugins/cesium-vue/stats.html +4949 -0
- package/plugins/cesium-vue/tsconfig.json +18 -0
- package/plugins/cesium-vue/vite.config.ts +62 -0
- package/plugins/plugins/README.md +2 -0
- package/plugins/plugins/build.cjs +63 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs +5881 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs.map +1 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js +77 -0
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -0
- package/plugins/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +73 -0
- package/plugins/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +152 -0
- package/plugins/plugins/cesium-core/dist/components/MarkerEvent.d.ts +38 -0
- package/plugins/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +49 -0
- package/plugins/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +10 -0
- package/plugins/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/Material/index.d.ts +3 -0
- package/plugins/plugins/cesium-core/dist/components/TooltipManager.d.ts +11 -0
- package/plugins/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +10 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +14 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +12 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +14 -0
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +13 -0
- package/plugins/plugins/cesium-core/dist/components/draw/types.d.ts +29 -0
- package/plugins/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +65 -0
- package/plugins/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +141 -0
- package/plugins/plugins/cesium-core/dist/components/gltf/index.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +34 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +21 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +16 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +25 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +24 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +22 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +20 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +18 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +24 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/index.d.ts +13 -0
- package/plugins/plugins/cesium-core/dist/components/measurement/types.d.ts +42 -0
- package/plugins/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +50 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +27 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +23 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/index.d.ts +3 -0
- package/plugins/plugins/cesium-core/dist/components/roaming/types.d.ts +66 -0
- package/plugins/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/components/utils/uuid.d.ts +1 -0
- package/plugins/plugins/cesium-core/dist/index.d.ts +12 -0
- package/plugins/plugins/cesium-core/package.json +26 -0
- package/plugins/plugins/cesium-core/pnpm-lock.yaml +872 -0
- package/plugins/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +546 -0
- package/plugins/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +489 -0
- package/plugins/plugins/cesium-core/src/components/MarkerEvent.ts +92 -0
- package/plugins/plugins/cesium-core/src/components/Material/MaterialManager.ts +129 -0
- package/plugins/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +116 -0
- package/plugins/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +236 -0
- package/plugins/plugins/cesium-core/src/components/Material/index.ts +3 -0
- package/plugins/plugins/cesium-core/src/components/TooltipManager.ts +52 -0
- package/plugins/plugins/cesium-core/src/components/draw/DrawTool.ts +55 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +159 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +113 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +70 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +112 -0
- package/plugins/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +115 -0
- package/plugins/plugins/cesium-core/src/components/draw/types.ts +28 -0
- package/plugins/plugins/cesium-core/src/components/entity/EntityLayer.ts +453 -0
- package/plugins/plugins/cesium-core/src/components/gltf/GLTFManage.ts +799 -0
- package/plugins/plugins/cesium-core/src/components/gltf/index.ts +1 -0
- package/plugins/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +416 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +451 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +267 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +139 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +418 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +352 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +388 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +379 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +246 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +185 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +541 -0
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +360 -0
- package/plugins/plugins/cesium-core/src/components/measurement/index.ts +13 -0
- package/plugins/plugins/cesium-core/src/components/measurement/types.ts +57 -0
- package/plugins/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +556 -0
- package/plugins/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +286 -0
- package/plugins/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +174 -0
- package/plugins/plugins/cesium-core/src/components/roaming/index.ts +3 -0
- package/plugins/plugins/cesium-core/src/components/roaming/types.ts +71 -0
- package/plugins/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +98 -0
- package/plugins/plugins/cesium-core/src/components/utils/uuid.ts +7 -0
- package/plugins/plugins/cesium-core/src/index.ts +17 -0
- package/plugins/plugins/cesium-core/src/test/measurement/index.html +166 -0
- package/plugins/plugins/cesium-core/src/test/roaming/c.gltf +1 -0
- package/plugins/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/plugins/cesium-core/src/test/roaming/index.html +51 -0
- package/plugins/plugins/cesium-core/src/test/roaming/path.html +448 -0
- package/plugins/plugins/cesium-core/src/test/roaming/view.html +520 -0
- package/plugins/plugins/cesium-core/stats.html +4949 -0
- package/plugins/plugins/cesium-core/tsconfig.json +14 -0
- package/plugins/plugins/cesium-core/vite.config.ts +35 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +18 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts +92 -0
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts +82 -0
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +152 -0
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts +21 -0
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts +69 -0
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +21 -0
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +68 -0
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +78 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts +48 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts +48 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +164 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts +30 -0
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts +78 -0
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts +82 -0
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts +67 -0
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.css +1 -0
- package/plugins/plugins/cesium-vue/dist/index.d.ts +30 -0
- package/plugins/plugins/cesium-vue/dist/index.d.ts.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.js +10087 -0
- package/plugins/plugins/cesium-vue/dist/index.js.map +1 -0
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs +46 -0
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs.map +1 -0
- package/plugins/plugins/cesium-vue/package.json +48 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-001.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-002.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-003.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-004.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-005.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-006.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-007.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-008.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-009.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-010.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-011.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/icons/icon-012.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/img/Card3-BG.png +0 -0
- package/plugins/plugins/cesium-vue/src/assets/img/card_bg3.png +0 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/index.ts +11 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +110 -0
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +6 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +99 -0
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +13 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/index.ts +4 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/CameraRoam.vue +434 -0
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/cameraRoam.ts +28 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +124 -0
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +60 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +41 -0
- package/plugins/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +22 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +102 -0
- package/plugins/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +37 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +15 -0
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +6 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +107 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +55 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +235 -0
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +35 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +19 -0
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +21 -0
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/index.ts +14 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +106 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +8 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +466 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +148 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +45 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +75 -0
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +154 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +14 -0
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +10 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/index.ts +12 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +183 -0
- package/plugins/plugins/cesium-vue/src/components/measurement/src/measurement.ts +20 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/index.ts +4 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/PathRoam.vue +429 -0
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/pathRoam.ts +28 -0
- package/plugins/plugins/cesium-vue/src/components/test/CardMarker.vue +150 -0
- package/plugins/plugins/cesium-vue/src/components/test/CesiumMarker.vue +34 -0
- package/plugins/plugins/cesium-vue/src/components/test/CesiumViewer.vue +77 -0
- package/plugins/plugins/cesium-vue/src/components/test/MyLabel.vue +25 -0
- package/plugins/plugins/cesium-vue/src/components/test/index.ts +28 -0
- package/plugins/plugins/cesium-vue/src/index.ts +83 -0
- package/plugins/plugins/cesium-vue/stats.html +4949 -0
- package/plugins/plugins/cesium-vue/tsconfig.json +18 -0
- package/plugins/plugins/cesium-vue/vite.config.ts +56 -0
- package/plugins/plugins/theme-chalk/dist/theme-chalk.css +819 -0
- package/plugins/plugins/theme-chalk/index.less +11 -0
- package/plugins/plugins/theme-chalk/package.json +27 -0
- package/plugins/plugins/theme-chalk/src/basicAudio.less +41 -0
- package/plugins/plugins/theme-chalk/src/basicVideo.less +17 -0
- package/plugins/plugins/theme-chalk/src/cameraRoam.less +239 -0
- package/plugins/plugins/theme-chalk/src/cardCarousel.less +71 -0
- package/plugins/plugins/theme-chalk/src/cardContent.less +73 -0
- package/plugins/plugins/theme-chalk/src/cardPage.less +61 -0
- package/plugins/plugins/theme-chalk/src/carouselImg.less +34 -0
- package/plugins/plugins/theme-chalk/src/marker.less +107 -0
- package/plugins/plugins/theme-chalk/src/markerManage.less +25 -0
- package/plugins/plugins/theme-chalk/src/measurement.less +106 -0
- package/plugins/plugins/theme-chalk/src/mixins/config.less +4 -0
- package/plugins/plugins/theme-chalk/src/mixins/mixins.less +64 -0
- package/plugins/plugins/theme-chalk/src/pathRoam.less +198 -0
- package/plugins/plugins/utils/create.ts +45 -0
- package/plugins/plugins/utils/package.json +12 -0
- package/plugins/plugins/utils/uuid.ts +43 -0
- package/plugins/plugins/utils/with-install.ts +10 -0
- package/plugins/theme-chalk/dist/theme-chalk.css +852 -0
- package/plugins/theme-chalk/index.less +11 -0
- package/plugins/theme-chalk/package.json +27 -0
- package/plugins/theme-chalk/src/basicAudio.less +44 -0
- package/plugins/theme-chalk/src/basicVideo.less +17 -0
- package/plugins/theme-chalk/src/cameraRoam.less +239 -0
- package/plugins/theme-chalk/src/cardCarousel.less +71 -0
- package/plugins/theme-chalk/src/cardContent.less +73 -0
- package/plugins/theme-chalk/src/cardPage.less +61 -0
- package/plugins/theme-chalk/src/carouselImg.less +66 -0
- package/plugins/theme-chalk/src/marker.less +107 -0
- package/plugins/theme-chalk/src/markerManage.less +25 -0
- package/plugins/theme-chalk/src/measurement.less +106 -0
- package/plugins/theme-chalk/src/mixins/config.less +4 -0
- package/plugins/theme-chalk/src/mixins/mixins.less +64 -0
- package/plugins/theme-chalk/src/pathRoam.less +198 -0
- package/plugins/utils/create.ts +45 -0
- package/plugins/utils/package.json +12 -0
- package/plugins/utils/uuid.ts +43 -0
- package/plugins/utils/with-install.ts +10 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { HtmlOverlayLabelPool } from './HtmlOverlayLabelPool';
|
|
2
|
+
interface PointData {
|
|
3
|
+
id: string;
|
|
4
|
+
lon: number;
|
|
5
|
+
lat: number;
|
|
6
|
+
height: number;
|
|
7
|
+
name: string;
|
|
8
|
+
data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
interface AggregatorOptions {
|
|
14
|
+
labelPool: HtmlOverlayLabelPool;
|
|
15
|
+
threshold?: number;
|
|
16
|
+
displayLimit?: number;
|
|
17
|
+
maxLevel?: number;
|
|
18
|
+
debugCurrentGrids?: boolean;
|
|
19
|
+
clusterTheme?: string;
|
|
20
|
+
pointTheme?: string;
|
|
21
|
+
centralPointMode?: string;
|
|
22
|
+
minGlobalPointCount?: number;
|
|
23
|
+
groupByTheme?: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface GridLevel {
|
|
26
|
+
level: number;
|
|
27
|
+
size: number;
|
|
28
|
+
minViewWidth: number;
|
|
29
|
+
}
|
|
30
|
+
export { PointData, GridLevel, AggregatorOptions };
|
|
31
|
+
export declare class BufferedHierarchicalAggregator {
|
|
32
|
+
private Cesium;
|
|
33
|
+
private viewer;
|
|
34
|
+
labelPool: HtmlOverlayLabelPool;
|
|
35
|
+
private threshold;
|
|
36
|
+
private displayLimit;
|
|
37
|
+
private maxLevel;
|
|
38
|
+
private debugCurrentGrids;
|
|
39
|
+
private levels;
|
|
40
|
+
private points;
|
|
41
|
+
private gridLayers;
|
|
42
|
+
private debugGrids;
|
|
43
|
+
private _updateFn;
|
|
44
|
+
private clusterTheme;
|
|
45
|
+
private pointTheme;
|
|
46
|
+
private centralPointMode;
|
|
47
|
+
private minGlobalPointCount;
|
|
48
|
+
private groupByTheme;
|
|
49
|
+
private tilingScheme;
|
|
50
|
+
private levelIndexByTileLevel;
|
|
51
|
+
private _updateTimer;
|
|
52
|
+
private _updateDelay;
|
|
53
|
+
private _tilesRetryCount;
|
|
54
|
+
private _tilesRetryMax;
|
|
55
|
+
constructor(Cesium: any, viewer: any, options: AggregatorOptions);
|
|
56
|
+
setGroupByTheme(groupByTheme: boolean, rebuild?: boolean, update?: boolean): void;
|
|
57
|
+
setMinGlobalPointCount(count: number, update?: boolean): void;
|
|
58
|
+
setThreshold(threshold: number, update?: boolean): void;
|
|
59
|
+
setDebugCurrentGrids(debug: boolean, update?: boolean): void;
|
|
60
|
+
private _createLevels;
|
|
61
|
+
addPoints(points: PointData[]): void;
|
|
62
|
+
appendPoints(newPoints: PointData[], isUpdate?: boolean): void;
|
|
63
|
+
private _scheduleUpdate;
|
|
64
|
+
updatePoint(newData: Partial<PointData>): void;
|
|
65
|
+
removePointsById(ids: string[]): void;
|
|
66
|
+
private _buildLevels;
|
|
67
|
+
private _addPointToGrid;
|
|
68
|
+
private _update;
|
|
69
|
+
refresh(): void;
|
|
70
|
+
private _drawDebugGrid;
|
|
71
|
+
private _clearDebugGrids;
|
|
72
|
+
destroy(): void;
|
|
73
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { MarkerEventKey, MarkerEventBus } from './MarkerEvent';
|
|
2
|
+
/**
|
|
3
|
+
* 单个标签实例
|
|
4
|
+
*/
|
|
5
|
+
interface LabelInstance {
|
|
6
|
+
id: string;
|
|
7
|
+
el: HTMLDivElement;
|
|
8
|
+
theme: string;
|
|
9
|
+
data?: any;
|
|
10
|
+
notCreateElement?: boolean;
|
|
11
|
+
unload?: any;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 主题配置项
|
|
15
|
+
*/
|
|
16
|
+
interface ThemeOptions {
|
|
17
|
+
/**
|
|
18
|
+
* 创建标签 DOM 内容的方法
|
|
19
|
+
*/
|
|
20
|
+
createElement: (el: HTMLDivElement, context: {
|
|
21
|
+
id: string;
|
|
22
|
+
theme: string;
|
|
23
|
+
data: any;
|
|
24
|
+
}, options: ThemeOptions) => any;
|
|
25
|
+
/**
|
|
26
|
+
* 可选配置,如偏移量
|
|
27
|
+
*/
|
|
28
|
+
options?: {
|
|
29
|
+
offset?: {
|
|
30
|
+
x?: number;
|
|
31
|
+
y?: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 标签添加时的参数
|
|
37
|
+
*/
|
|
38
|
+
interface LabelOptions {
|
|
39
|
+
id: string;
|
|
40
|
+
lon: number;
|
|
41
|
+
lat: number;
|
|
42
|
+
height?: number;
|
|
43
|
+
theme: string;
|
|
44
|
+
show?: boolean;
|
|
45
|
+
notCreateElement?: boolean;
|
|
46
|
+
style?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export { LabelOptions, LabelInstance, ThemeOptions };
|
|
51
|
+
/**
|
|
52
|
+
* 自定义事件与 DOM 事件的映射
|
|
53
|
+
*/
|
|
54
|
+
export declare const DOM_EVENT_MAP: Record<MarkerEventKey, keyof HTMLElementEventMap>;
|
|
55
|
+
/**
|
|
56
|
+
* 用于管理 Cesium HTML 标签的池,支持主题渲染、事件分发、动态更新等功能
|
|
57
|
+
*/
|
|
58
|
+
export declare class HtmlOverlayLabelPool {
|
|
59
|
+
private viewer;
|
|
60
|
+
private Cesium;
|
|
61
|
+
private container;
|
|
62
|
+
private labels;
|
|
63
|
+
private activeIds;
|
|
64
|
+
private _updateFn;
|
|
65
|
+
private themes;
|
|
66
|
+
eventBus: MarkerEventBus;
|
|
67
|
+
openWheel: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* 构造函数
|
|
70
|
+
* @param Cesium Cesium 命名空间
|
|
71
|
+
* @param viewer Cesium Viewer 实例
|
|
72
|
+
* @param containerId HTML 容器 ID(默认:"html-label-container")
|
|
73
|
+
* @param eventBus 可选:自定义事件总线
|
|
74
|
+
*/
|
|
75
|
+
constructor(Cesium: any, viewer: any, containerId?: string, eventBus?: MarkerEventBus, openWheel?: boolean);
|
|
76
|
+
/**
|
|
77
|
+
* 创建标签容器
|
|
78
|
+
*/
|
|
79
|
+
private _createContainer;
|
|
80
|
+
/**
|
|
81
|
+
* 注册标签主题
|
|
82
|
+
*/
|
|
83
|
+
registerTheme(themeName: string, options: ThemeOptions): void;
|
|
84
|
+
/**
|
|
85
|
+
* 添加单个标签
|
|
86
|
+
*/
|
|
87
|
+
add(data: any, options: LabelOptions): void;
|
|
88
|
+
/**
|
|
89
|
+
* 批量添加标签
|
|
90
|
+
*/
|
|
91
|
+
addBatch(items: Array<{
|
|
92
|
+
data: any;
|
|
93
|
+
options: LabelOptions;
|
|
94
|
+
}>): void;
|
|
95
|
+
/**
|
|
96
|
+
* 根据 ID 批量移除标签
|
|
97
|
+
*/
|
|
98
|
+
removeByIds(ids: string[]): void;
|
|
99
|
+
unloadByLabel(label: LabelInstance): void;
|
|
100
|
+
/**
|
|
101
|
+
* 移除所有标签
|
|
102
|
+
*/
|
|
103
|
+
removeAll(): void;
|
|
104
|
+
/**
|
|
105
|
+
* 更新标签的数据并刷新内容
|
|
106
|
+
*/
|
|
107
|
+
update(id: string, newData: any): void;
|
|
108
|
+
/**
|
|
109
|
+
* 根据 ID 批量隐藏标签
|
|
110
|
+
*/
|
|
111
|
+
hideByIds(ids: string[]): void;
|
|
112
|
+
/**
|
|
113
|
+
* 隐藏所有标签
|
|
114
|
+
*/
|
|
115
|
+
hideAll(): void;
|
|
116
|
+
/**
|
|
117
|
+
* 条件过滤隐藏标签
|
|
118
|
+
*/
|
|
119
|
+
hideFilter(filter: (data: any) => boolean): void;
|
|
120
|
+
/**
|
|
121
|
+
* 根据 ID 显示标签
|
|
122
|
+
*/
|
|
123
|
+
showByIds(ids: string[]): void;
|
|
124
|
+
/**
|
|
125
|
+
* 检查标签是否存在
|
|
126
|
+
*/
|
|
127
|
+
has(id: string): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* 清空活跃 ID 列表(不影响 DOM)
|
|
130
|
+
*/
|
|
131
|
+
reset(): void;
|
|
132
|
+
/**
|
|
133
|
+
* 清理当前未活跃的标签(隐藏而不移除 DOM)
|
|
134
|
+
*/
|
|
135
|
+
cleanup(): void;
|
|
136
|
+
/**
|
|
137
|
+
* 经纬度 -> 自动地形高度修正 -> Cartesian3 -> 屏幕坐标
|
|
138
|
+
*/
|
|
139
|
+
toWindowPositionByLonLat(lon: number, lat: number): Promise<any>;
|
|
140
|
+
/**
|
|
141
|
+
* 坐标转换:经纬度 -> 屏幕像素坐标
|
|
142
|
+
*/
|
|
143
|
+
toWindowCoordinates(position: any): any;
|
|
144
|
+
/**
|
|
145
|
+
* 每帧刷新所有活跃标签的位置
|
|
146
|
+
*/
|
|
147
|
+
private _update;
|
|
148
|
+
/**
|
|
149
|
+
* 销毁标签池,清理监听器和 DOM
|
|
150
|
+
*/
|
|
151
|
+
destroy(): void;
|
|
152
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare enum MarkerEventKey {
|
|
2
|
+
Click = "marker:click",
|
|
3
|
+
DoubleClick = "marker:dblclick",
|
|
4
|
+
RightClick = "marker:rightclick",
|
|
5
|
+
MouseEnter = "marker:mouseenter",
|
|
6
|
+
MouseLeave = "marker:mouseleave",
|
|
7
|
+
MouseDown = "marker:mousedown",
|
|
8
|
+
MouseUp = "marker:mouseup"
|
|
9
|
+
}
|
|
10
|
+
interface ListenerItem<T = any> {
|
|
11
|
+
name: string;
|
|
12
|
+
fn: (data: T, event: Event) => void;
|
|
13
|
+
once?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export { ListenerItem };
|
|
16
|
+
export declare class MarkerEventBus {
|
|
17
|
+
private listenerMap;
|
|
18
|
+
/**
|
|
19
|
+
* 添加监听器
|
|
20
|
+
* @param key 事件 key
|
|
21
|
+
* @param listener 监听器项
|
|
22
|
+
* @param overwrite 是否覆盖同名监听器
|
|
23
|
+
* @returns 是否成功添加
|
|
24
|
+
*/
|
|
25
|
+
addListener(key: MarkerEventKey, listener: ListenerItem, overwrite?: boolean): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 移除某个 key 的所有监听器
|
|
28
|
+
*/
|
|
29
|
+
removeListenerByKey(key: MarkerEventKey): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 移除某个 key 下的指定名字的监听器
|
|
32
|
+
*/
|
|
33
|
+
removeListenerByKeyAndName(key: MarkerEventKey, name: string): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 运行监听器
|
|
36
|
+
*/
|
|
37
|
+
runListener<T = any>(key: MarkerEventKey, data: T, e: Event): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface RegisterOptions {
|
|
2
|
+
themeKey: string;
|
|
3
|
+
material: any;
|
|
4
|
+
force?: boolean;
|
|
5
|
+
category?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class MaterialManager {
|
|
8
|
+
private categoryMap;
|
|
9
|
+
private CategoryGet;
|
|
10
|
+
constructor();
|
|
11
|
+
registerCategoryGet(category: string, fn: Function): void;
|
|
12
|
+
/**
|
|
13
|
+
* 注册材质
|
|
14
|
+
*/
|
|
15
|
+
register(options: RegisterOptions): void;
|
|
16
|
+
/**
|
|
17
|
+
* 获取材质
|
|
18
|
+
*/
|
|
19
|
+
get({ themeKey, category, options, }: {
|
|
20
|
+
themeKey: string;
|
|
21
|
+
category?: string;
|
|
22
|
+
options?: any;
|
|
23
|
+
}): any | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* 是否存在
|
|
26
|
+
*/
|
|
27
|
+
has(themeKey: string, category?: string): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 移除材质
|
|
30
|
+
*/
|
|
31
|
+
remove(themeKey: string, category?: string): void;
|
|
32
|
+
/**
|
|
33
|
+
* 获取某分类下的所有 keys
|
|
34
|
+
*/
|
|
35
|
+
keys(category?: string): string[];
|
|
36
|
+
/**
|
|
37
|
+
* 清空某个分类
|
|
38
|
+
*/
|
|
39
|
+
clearCategory(category?: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* 清空所有
|
|
42
|
+
*/
|
|
43
|
+
clearAll(): void;
|
|
44
|
+
/**
|
|
45
|
+
* 获取所有分类
|
|
46
|
+
*/
|
|
47
|
+
categories(): string[];
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface PolylineFlowMaterialOptions {
|
|
2
|
+
color?: any;
|
|
3
|
+
duration?: number;
|
|
4
|
+
materialType?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 注册 polyline 流动材质并返回对应的 MaterialProperty
|
|
8
|
+
*/
|
|
9
|
+
export declare function getPolylineFlowMaterialProperty(Cesium: any, options: PolylineFlowMaterialOptions): any;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface DynamicImgMaterialOptions {
|
|
2
|
+
color?: any;
|
|
3
|
+
duration?: number;
|
|
4
|
+
image: string;
|
|
5
|
+
count: number;
|
|
6
|
+
freely?: 'vertical' | 'horizontal';
|
|
7
|
+
direction: string;
|
|
8
|
+
isCustomColor?: boolean;
|
|
9
|
+
materialType?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 注册动态图片材质并返回 TrailLineMaterialProperty 实例
|
|
13
|
+
*/
|
|
14
|
+
export declare function getDynamicImgMaterial(Cesium: any, options: DynamicImgMaterialOptions): any;
|
|
15
|
+
export declare function getWallMaterial(Cesium: any, options: any): any;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DrawType, DrawOptions } from './types';
|
|
2
|
+
export declare class DrawTool {
|
|
3
|
+
private viewer;
|
|
4
|
+
private Cesium;
|
|
5
|
+
private activeDrawer;
|
|
6
|
+
constructor(Cesium: any, viewer: any);
|
|
7
|
+
draw(type: DrawType, options: DrawOptions): void;
|
|
8
|
+
clear(): void;
|
|
9
|
+
cancel(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DrawOptions, IDrawer } from '../types';
|
|
2
|
+
export default class CircleDrawer implements IDrawer {
|
|
3
|
+
private viewer;
|
|
4
|
+
private Cesium;
|
|
5
|
+
private handler;
|
|
6
|
+
private entity;
|
|
7
|
+
private positions;
|
|
8
|
+
private _isDrawing;
|
|
9
|
+
private currentRadius;
|
|
10
|
+
constructor(CesiumInstance: any, viewerInstance: any);
|
|
11
|
+
startDrawing(options: DrawOptions): void;
|
|
12
|
+
private drawPreviewCircle;
|
|
13
|
+
private drawFinalCircle;
|
|
14
|
+
stopDrawing(): void;
|
|
15
|
+
clear(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DrawOptions, IDrawer } from '../types';
|
|
2
|
+
export default class LineDrawer implements IDrawer {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private handler;
|
|
6
|
+
private positions;
|
|
7
|
+
private entity;
|
|
8
|
+
private tooltip;
|
|
9
|
+
private tempPoints;
|
|
10
|
+
constructor(Cesium: any, viewer: any);
|
|
11
|
+
startDrawing(options: DrawOptions): void;
|
|
12
|
+
stopDrawing(): void;
|
|
13
|
+
clear(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DrawOptions, IDrawer } from '../types';
|
|
2
|
+
export default class PointDrawer implements IDrawer {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private handler;
|
|
6
|
+
private entity;
|
|
7
|
+
private tooltip;
|
|
8
|
+
constructor(Cesium: any, viewer: any);
|
|
9
|
+
startDrawing(options: DrawOptions): void;
|
|
10
|
+
stopDrawing(): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DrawOptions, IDrawer } from '../types';
|
|
2
|
+
export default class PolygonDrawer implements IDrawer {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private handler;
|
|
6
|
+
private positions;
|
|
7
|
+
private entity;
|
|
8
|
+
private tooltip;
|
|
9
|
+
private tempPoints;
|
|
10
|
+
constructor(Cesium: any, viewer: any);
|
|
11
|
+
startDrawing(options: DrawOptions): void;
|
|
12
|
+
stopDrawing(): void;
|
|
13
|
+
clear(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DrawOptions, IDrawer } from '../types';
|
|
2
|
+
export default class RectangleDrawer implements IDrawer {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private handler;
|
|
6
|
+
private startPoint;
|
|
7
|
+
private endPoint;
|
|
8
|
+
private entity;
|
|
9
|
+
constructor(Cesium: any, viewer: any);
|
|
10
|
+
startDrawing(options: DrawOptions): void;
|
|
11
|
+
stopDrawing(): void;
|
|
12
|
+
clear(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type DrawType = 'point' | 'line' | 'rectangle' | 'circle' | 'square' | 'polygon';
|
|
2
|
+
export interface DrawOptions {
|
|
3
|
+
clampToGround?: boolean;
|
|
4
|
+
color?: any;
|
|
5
|
+
width?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
onComplete?: (entity: any) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface IDrawer {
|
|
10
|
+
startDrawing(options: DrawOptions): void;
|
|
11
|
+
stopDrawing(): void;
|
|
12
|
+
clear(): void;
|
|
13
|
+
}
|
|
14
|
+
export interface DrawResult {
|
|
15
|
+
entity: any;
|
|
16
|
+
position?: Number[];
|
|
17
|
+
lnglat?: {
|
|
18
|
+
lng: number;
|
|
19
|
+
lat: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
positions?: Number[];
|
|
23
|
+
lnglats?: {
|
|
24
|
+
lng: number;
|
|
25
|
+
lat: number;
|
|
26
|
+
height: number;
|
|
27
|
+
}[];
|
|
28
|
+
clear: Function;
|
|
29
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { BufferedHierarchicalAggregator } from '../BufferedHierarchicalAggregator';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../HtmlOverlayLabelPool';
|
|
3
|
+
import { MaterialManager } from '../Material/MaterialManager';
|
|
4
|
+
interface EntityGroupOptions {
|
|
5
|
+
id: string;
|
|
6
|
+
entities?: any[];
|
|
7
|
+
primitives?: any[];
|
|
8
|
+
dataItem?: any;
|
|
9
|
+
aggregator?: BufferedHierarchicalAggregator;
|
|
10
|
+
cardPool: HtmlOverlayLabelPool;
|
|
11
|
+
}
|
|
12
|
+
export declare class EntityGroup {
|
|
13
|
+
id: string;
|
|
14
|
+
entities: any[];
|
|
15
|
+
primitives: any[];
|
|
16
|
+
dataItem: any;
|
|
17
|
+
aggregator?: BufferedHierarchicalAggregator;
|
|
18
|
+
cardPool: HtmlOverlayLabelPool;
|
|
19
|
+
constructor(options: EntityGroupOptions);
|
|
20
|
+
setVisible(visible: boolean): void;
|
|
21
|
+
removeAll(viewer: any, immediately?: boolean): any;
|
|
22
|
+
}
|
|
23
|
+
export declare class EntityLayer {
|
|
24
|
+
id: string;
|
|
25
|
+
groupMap: Map<string, EntityGroup>;
|
|
26
|
+
Cesium: any;
|
|
27
|
+
viewer: any;
|
|
28
|
+
materialManager: MaterialManager;
|
|
29
|
+
aggregator: BufferedHierarchicalAggregator;
|
|
30
|
+
cardPool: HtmlOverlayLabelPool;
|
|
31
|
+
constructor(id: string, Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
|
|
32
|
+
/** ====== 下面是抽出的创建函数 ====== */
|
|
33
|
+
private createPolyline;
|
|
34
|
+
private createWall;
|
|
35
|
+
private createPolygon;
|
|
36
|
+
private createBillboardPoints;
|
|
37
|
+
private createCard;
|
|
38
|
+
/** ====== 主入口:仅保留循环,内部调用独立函数 ====== */
|
|
39
|
+
addGroup(dataItem: any, isAppendPoints?: boolean): any;
|
|
40
|
+
addGroups(dataItemList: any): Promise<void>;
|
|
41
|
+
removeGroup(groupId: string): void;
|
|
42
|
+
removeGroups(groupIds: string[]): void;
|
|
43
|
+
updateGroup(dataItem: any): void;
|
|
44
|
+
updateGroups(dataItemList: Array<any>): Promise<void>;
|
|
45
|
+
setGroupVisible(groupId: string, visible: boolean): void;
|
|
46
|
+
clearAllGroups(): void;
|
|
47
|
+
}
|
|
48
|
+
export declare class EntityLayerManager {
|
|
49
|
+
Cesium: any;
|
|
50
|
+
viewer: any;
|
|
51
|
+
layerMap: Map<string, EntityLayer>;
|
|
52
|
+
materialManager: MaterialManager;
|
|
53
|
+
aggregator: BufferedHierarchicalAggregator;
|
|
54
|
+
cardPool: HtmlOverlayLabelPool;
|
|
55
|
+
constructor(Cesium: any, viewer: any, materialManager: MaterialManager, aggregator: BufferedHierarchicalAggregator, cardPool: HtmlOverlayLabelPool);
|
|
56
|
+
addLayer(layerId: string): void;
|
|
57
|
+
removeLayer(layerId: string): void;
|
|
58
|
+
getLayer(layerId: string): EntityLayer | undefined;
|
|
59
|
+
addGroupsToLayer(layerId: string, dataList: any[]): Promise<void>;
|
|
60
|
+
updateGroupToLayer(layerId: string, dataList: any[]): void;
|
|
61
|
+
setGroupVisible(layerId: string, groupId: string, visible: boolean): void;
|
|
62
|
+
removeGroup(layerId: string, groupId: string): void;
|
|
63
|
+
removeGroups(layerId: string, groupIds: string[]): void;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export declare enum EditMode {
|
|
2
|
+
Rotate = "rotate",
|
|
3
|
+
Move = "move",
|
|
4
|
+
Scale = "scale",
|
|
5
|
+
MoveHeight = "moveHeight",
|
|
6
|
+
Empty = ""
|
|
7
|
+
}
|
|
8
|
+
export declare enum GLTFManageEventKey {
|
|
9
|
+
Scale = "addScale",
|
|
10
|
+
Rotate = "rotate",
|
|
11
|
+
Translation = "translation",
|
|
12
|
+
Remove = "removeById",
|
|
13
|
+
Add = "add"
|
|
14
|
+
}
|
|
15
|
+
export declare class GLTFManage {
|
|
16
|
+
primitives: Map<string, any>;
|
|
17
|
+
eventListener: Map<string, Object[]>;
|
|
18
|
+
Cesium: any;
|
|
19
|
+
viewer: any;
|
|
20
|
+
handler: any;
|
|
21
|
+
rotationRing: any;
|
|
22
|
+
translationSquare: any;
|
|
23
|
+
heightArrow: any;
|
|
24
|
+
editMode: EditMode;
|
|
25
|
+
dragEndCallbackMap: Map<string, any>;
|
|
26
|
+
constructor(options: {
|
|
27
|
+
Cesium: any;
|
|
28
|
+
viewer: any;
|
|
29
|
+
});
|
|
30
|
+
/**
|
|
31
|
+
* @description: 初始化模型
|
|
32
|
+
* @param {Array<any>} models 模型数据列表
|
|
33
|
+
* @return {*}
|
|
34
|
+
*/
|
|
35
|
+
init(models: Array<any>, show?: boolean): void;
|
|
36
|
+
get(id: string): any;
|
|
37
|
+
/**
|
|
38
|
+
* @description: 添加模型
|
|
39
|
+
* @param {*} info 模型信息
|
|
40
|
+
* @return {*}
|
|
41
|
+
*/
|
|
42
|
+
add(info: any, show?: boolean): void;
|
|
43
|
+
flyTo(id: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* @description: 根据模型的 ID 移除模型
|
|
46
|
+
* @param {string} id 模型的 ID
|
|
47
|
+
* @return {*}
|
|
48
|
+
*/
|
|
49
|
+
removeById(id: string): void;
|
|
50
|
+
show(id: string): void;
|
|
51
|
+
hide(id: string): void;
|
|
52
|
+
/**
|
|
53
|
+
* @description: 修改模型的缩放因子
|
|
54
|
+
* @param {*} info 模型信息
|
|
55
|
+
* @param {number} num 缩放因子
|
|
56
|
+
* @return {*}
|
|
57
|
+
*/
|
|
58
|
+
addScale(info: any, num?: number): void;
|
|
59
|
+
/**
|
|
60
|
+
* @description: 修改模型的缩放因子
|
|
61
|
+
* @param {*} info 模型信息
|
|
62
|
+
* @param {number} num 缩放因子
|
|
63
|
+
* @return {*}
|
|
64
|
+
*/
|
|
65
|
+
setScale(id: any, scale?: number): void;
|
|
66
|
+
setEditMode(mode: EditMode): void;
|
|
67
|
+
lockCamera(): void;
|
|
68
|
+
unlockCamera(): void;
|
|
69
|
+
toCartographic(cartesian: any): {
|
|
70
|
+
longitude: any;
|
|
71
|
+
latitude: any;
|
|
72
|
+
};
|
|
73
|
+
calculateHeading(from: any, to: any): number;
|
|
74
|
+
/**
|
|
75
|
+
* @description: 获取模型的 Heading, Pitch, Roll
|
|
76
|
+
* @param {any} modelMatrix 模型的变换矩阵
|
|
77
|
+
* @return {*}
|
|
78
|
+
*/
|
|
79
|
+
getModelHeadingPitchRoll(modelMatrix: any): any;
|
|
80
|
+
/**
|
|
81
|
+
* @description: 添加事件监听
|
|
82
|
+
* @param {string} key
|
|
83
|
+
* @param {Function} f
|
|
84
|
+
* @param {any} options
|
|
85
|
+
* @return {*}
|
|
86
|
+
*/
|
|
87
|
+
addEventListener(key: string, f: Function, options?: any): {
|
|
88
|
+
f: Function;
|
|
89
|
+
options: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @description: 移除事件监听
|
|
93
|
+
* @param {string} key
|
|
94
|
+
* @param {any} instantiation
|
|
95
|
+
* @return {*}
|
|
96
|
+
*/
|
|
97
|
+
removeEventListener(key: string, instantiation: any): void;
|
|
98
|
+
/**
|
|
99
|
+
* @description: 执行监听
|
|
100
|
+
* @param {*} key
|
|
101
|
+
* @param {any} parameter
|
|
102
|
+
* @return {*}
|
|
103
|
+
*/
|
|
104
|
+
runEventListener(key: string, parameter: any): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* @description: 初始化拖拽模型编辑功能(平移)
|
|
107
|
+
* @return {*}
|
|
108
|
+
*/
|
|
109
|
+
initEditBox(getEditState: Function): void;
|
|
110
|
+
createRotationRing(model: any): void;
|
|
111
|
+
createTranslationSquare(model: any): void;
|
|
112
|
+
createHeightArrow(model: any): void;
|
|
113
|
+
translate(geometry: any, offset: any): void;
|
|
114
|
+
removeTool(): void;
|
|
115
|
+
updatedTool(newModelMatrix: any): void;
|
|
116
|
+
/**
|
|
117
|
+
* @description: 平移模型
|
|
118
|
+
* @param {*} draggedModel
|
|
119
|
+
* @param {*} startModelMatrix
|
|
120
|
+
* @param {*} movement
|
|
121
|
+
* @return {*}
|
|
122
|
+
*/
|
|
123
|
+
moveModel(draggedModel: any, startModelMatrix: any, movement: any): void;
|
|
124
|
+
/**
|
|
125
|
+
* @description: 平移模型高度
|
|
126
|
+
* @param {*} draggedModel
|
|
127
|
+
* @param {*} startModelMatrix
|
|
128
|
+
* @param {*} movement
|
|
129
|
+
* @return {*}
|
|
130
|
+
*/
|
|
131
|
+
moveModelHeight(draggedModel: any, startModelMatrix: any, movement: any, startMousePosition: any): void;
|
|
132
|
+
/**
|
|
133
|
+
* @description: 旋转模型
|
|
134
|
+
* @param {*} draggedModel
|
|
135
|
+
* @param {*} startModelMatrix
|
|
136
|
+
* @param {*} angleDelta
|
|
137
|
+
* @return {*}
|
|
138
|
+
*/
|
|
139
|
+
rotateModel(draggedModel: any, startModelMatrix: any, angleDelta: number): void;
|
|
140
|
+
cleanup(): void;
|
|
141
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GLTFManage';
|