leiting-bim 2.1.35 → 2.1.37
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 +2818 -2687
- package/leiting-bim.umd.js +9 -9
- 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,34 @@
|
|
|
1
|
+
import { MeasurementOptions, MeasurementType, MeasurementsConfig } from './types';
|
|
2
|
+
export declare class MeasurementTool {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private actives;
|
|
6
|
+
private measurements;
|
|
7
|
+
private htmlLabelPool;
|
|
8
|
+
private recordHandlers;
|
|
9
|
+
private specifiedClear;
|
|
10
|
+
private deleteLabelPool;
|
|
11
|
+
private deleteLabelIds;
|
|
12
|
+
constructor({ Cesium, viewer }: {
|
|
13
|
+
Cesium: any;
|
|
14
|
+
viewer: any;
|
|
15
|
+
});
|
|
16
|
+
measure(type: MeasurementType, options: MeasurementOptions): void;
|
|
17
|
+
clear(): void;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
disableDefaultSelection({ disableLeftClick, disableDoubleClick }?: {
|
|
20
|
+
disableLeftClick?: boolean | undefined;
|
|
21
|
+
disableDoubleClick?: boolean | undefined;
|
|
22
|
+
}): void;
|
|
23
|
+
clearAll(): void;
|
|
24
|
+
getMeasurementsConfig(): MeasurementsConfig;
|
|
25
|
+
setMeasurementsConfig(config: MeasurementsConfig): void;
|
|
26
|
+
private _serializeMetrics;
|
|
27
|
+
private _toCartesian;
|
|
28
|
+
private _removeRecordVisual;
|
|
29
|
+
toggleSpecifiedClear(containerId?: string): void;
|
|
30
|
+
deleteMeasurement(recordId: string): void;
|
|
31
|
+
private _showDeleteLabels;
|
|
32
|
+
private _removeAllDeleteLabels;
|
|
33
|
+
private _computeRecordCenter;
|
|
34
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class AreaMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private labelEntity;
|
|
9
|
+
private positions;
|
|
10
|
+
private tempPoints;
|
|
11
|
+
private primitive;
|
|
12
|
+
private previewPrimitive;
|
|
13
|
+
private htmlLabelPool;
|
|
14
|
+
private htmlLabelId;
|
|
15
|
+
private previewLabelId;
|
|
16
|
+
private segmentLabelIds;
|
|
17
|
+
private angleLabelIds;
|
|
18
|
+
constructor(Cesium: any, viewer: any);
|
|
19
|
+
start(options: MeasurementOptions): void;
|
|
20
|
+
stop(): void;
|
|
21
|
+
clear(): void;
|
|
22
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class CircleMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private positions;
|
|
9
|
+
private currentRadius;
|
|
10
|
+
private labelEntity;
|
|
11
|
+
private previewLabel;
|
|
12
|
+
private ellipsePrimitive;
|
|
13
|
+
private isPrimitive;
|
|
14
|
+
private htmlLabelPool;
|
|
15
|
+
private htmlLabelId;
|
|
16
|
+
constructor(Cesium: any, viewer: any);
|
|
17
|
+
start(options: MeasurementOptions): void;
|
|
18
|
+
stop(): void;
|
|
19
|
+
clear(): void;
|
|
20
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
21
|
+
}
|
package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class CoordinateMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private labelEntity;
|
|
9
|
+
private htmlLabelPool;
|
|
10
|
+
private htmlLabelId;
|
|
11
|
+
constructor(Cesium: any, viewer: any);
|
|
12
|
+
start(options: MeasurementOptions): void;
|
|
13
|
+
stop(): void;
|
|
14
|
+
clear(): void;
|
|
15
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
16
|
+
}
|
package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class HorizontalMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private positions;
|
|
8
|
+
private tempPoints;
|
|
9
|
+
private segmentEntities;
|
|
10
|
+
private segmentLabelIds;
|
|
11
|
+
private previewEntity;
|
|
12
|
+
private previewGroundEntity;
|
|
13
|
+
private hoverPos;
|
|
14
|
+
private htmlLabelPool;
|
|
15
|
+
private totalLabelId;
|
|
16
|
+
private previewLabelId;
|
|
17
|
+
private labelEntity;
|
|
18
|
+
private firstHeight;
|
|
19
|
+
private groundLineEntities;
|
|
20
|
+
constructor(Cesium: any, viewer: any);
|
|
21
|
+
start(options: MeasurementOptions): void;
|
|
22
|
+
stop(): void;
|
|
23
|
+
clear(): void;
|
|
24
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class PolylineDistanceMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private labelEntity;
|
|
9
|
+
private positions;
|
|
10
|
+
private tempPoints;
|
|
11
|
+
private segmentLabels;
|
|
12
|
+
private hoverPos;
|
|
13
|
+
private previewLabel;
|
|
14
|
+
private previewEntity;
|
|
15
|
+
private htmlLabelPool;
|
|
16
|
+
private totalLabelId;
|
|
17
|
+
private segmentLabelIds;
|
|
18
|
+
private previewLabelId;
|
|
19
|
+
constructor(Cesium: any, viewer: any);
|
|
20
|
+
start(options: MeasurementOptions): void;
|
|
21
|
+
stop(): void;
|
|
22
|
+
clear(): void;
|
|
23
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
24
|
+
}
|
package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class RectangleMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private startPoint;
|
|
8
|
+
private endPoint;
|
|
9
|
+
private entity;
|
|
10
|
+
private labelEntity;
|
|
11
|
+
private primitive;
|
|
12
|
+
private previewPrimitive;
|
|
13
|
+
private htmlLabelPool;
|
|
14
|
+
private htmlLabelId;
|
|
15
|
+
private segmentLabelIds;
|
|
16
|
+
private previewLabelId;
|
|
17
|
+
constructor(Cesium: any, viewer: any);
|
|
18
|
+
start(options: MeasurementOptions): void;
|
|
19
|
+
stop(): void;
|
|
20
|
+
clear(): void;
|
|
21
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
22
|
+
}
|
package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class RegularPolygonMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private positions;
|
|
9
|
+
private labelEntity;
|
|
10
|
+
private currentPoints;
|
|
11
|
+
private primitive;
|
|
12
|
+
private htmlLabelPool;
|
|
13
|
+
private htmlLabelId;
|
|
14
|
+
private segmentLabelIds;
|
|
15
|
+
private previewLabelId;
|
|
16
|
+
constructor(Cesium: any, viewer: any);
|
|
17
|
+
start(options: MeasurementOptions): void;
|
|
18
|
+
stop(): void;
|
|
19
|
+
clear(): void;
|
|
20
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
21
|
+
private buildRegularPolygonPoints;
|
|
22
|
+
private computeAreaByPlane;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class SpaceMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private labelEntity;
|
|
9
|
+
private positions;
|
|
10
|
+
private tempPoints;
|
|
11
|
+
private htmlLabelPool;
|
|
12
|
+
private htmlLabelId;
|
|
13
|
+
private previewEntity;
|
|
14
|
+
private previewLabelId;
|
|
15
|
+
constructor(Cesium: any, viewer: any);
|
|
16
|
+
start(options: MeasurementOptions): void;
|
|
17
|
+
stop(): void;
|
|
18
|
+
clear(): void;
|
|
19
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
20
|
+
}
|
package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class TerrainHeightMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private labelEntity;
|
|
8
|
+
private htmlLabelPool;
|
|
9
|
+
private htmlLabelId;
|
|
10
|
+
private topPoint;
|
|
11
|
+
private zeroPoint;
|
|
12
|
+
private lineEntity;
|
|
13
|
+
constructor(Cesium: any, viewer: any);
|
|
14
|
+
start(options: MeasurementOptions): void;
|
|
15
|
+
stop(): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class TriangleMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private positions;
|
|
8
|
+
private htmlLabelPool;
|
|
9
|
+
private htmlLabelId;
|
|
10
|
+
private segmentEntities;
|
|
11
|
+
private angleMarkerEntities;
|
|
12
|
+
private pointEntities;
|
|
13
|
+
private segmentLabelIds;
|
|
14
|
+
private angleLabelIds;
|
|
15
|
+
private previewLabelId;
|
|
16
|
+
private previewSegmentEntities;
|
|
17
|
+
private previewAngleMarkerEntities;
|
|
18
|
+
private previewPointEntity;
|
|
19
|
+
constructor(Cesium: any, viewer: any);
|
|
20
|
+
start(options: MeasurementOptions): void;
|
|
21
|
+
stop(): void;
|
|
22
|
+
clear(): void;
|
|
23
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
|
|
2
|
+
import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
|
|
3
|
+
export default class VerticalMeasure implements IMeasure {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private handler;
|
|
7
|
+
private entity;
|
|
8
|
+
private labelEntity;
|
|
9
|
+
private positions;
|
|
10
|
+
private htmlLabelPool;
|
|
11
|
+
private htmlLabelId;
|
|
12
|
+
private previewLabelId;
|
|
13
|
+
private baseCarto;
|
|
14
|
+
private baseUp;
|
|
15
|
+
private tempPoints;
|
|
16
|
+
private previewPointEntity;
|
|
17
|
+
private previewEntity;
|
|
18
|
+
constructor(Cesium: any, viewer: any);
|
|
19
|
+
start(options: MeasurementOptions): void;
|
|
20
|
+
stop(): void;
|
|
21
|
+
clear(): void;
|
|
22
|
+
rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { MeasurementTool } from './MeasurementTool';
|
|
2
|
+
export { default as HorizontalMeasure } from './handlers/HorizontalMeasure';
|
|
3
|
+
export { default as VerticalMeasure } from './handlers/VerticalMeasure';
|
|
4
|
+
export { default as TriangleMeasure } from './handlers/TriangleMeasure';
|
|
5
|
+
export { default as SpaceMeasure } from './handlers/SpaceMeasure';
|
|
6
|
+
export { default as AreaMeasure } from './handlers/AreaMeasure';
|
|
7
|
+
export { default as CircleMeasure } from './handlers/CircleMeasure';
|
|
8
|
+
export { default as PolylineDistanceMeasure } from './handlers/PolylineDistanceMeasure';
|
|
9
|
+
export { default as TerrainHeightMeasure } from './handlers/TerrainHeightMeasure';
|
|
10
|
+
export { default as CoordinateMeasure } from './handlers/CoordinateMeasure';
|
|
11
|
+
export { default as RectangleMeasure } from './handlers/RectangleMeasure';
|
|
12
|
+
export { default as RegularPolygonMeasure } from './handlers/RegularPolygonMeasure';
|
|
13
|
+
export * from './types';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type MeasurementType = 'horizontal' | 'vertical' | 'triangle' | 'space' | 'area' | 'circle' | 'polyline' | 'terrainHeight' | 'coordinate' | 'rectangle' | 'regularPolygon';
|
|
2
|
+
export interface MeasurementOptions {
|
|
3
|
+
color?: any;
|
|
4
|
+
lineColor?: any;
|
|
5
|
+
dashLineColor?: any;
|
|
6
|
+
pointColor?: any;
|
|
7
|
+
width?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
sides?: number;
|
|
10
|
+
labelText?: {
|
|
11
|
+
radius?: string;
|
|
12
|
+
area?: string;
|
|
13
|
+
circumference?: string;
|
|
14
|
+
lng?: string;
|
|
15
|
+
lat?: string;
|
|
16
|
+
height?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
heightLabel?: string;
|
|
19
|
+
sides?: string;
|
|
20
|
+
side?: string;
|
|
21
|
+
angle?: string;
|
|
22
|
+
};
|
|
23
|
+
overlayContainerId?: string;
|
|
24
|
+
angleMarkerRatio?: number;
|
|
25
|
+
onComplete?: (result: any) => void;
|
|
26
|
+
}
|
|
27
|
+
export interface IMeasure {
|
|
28
|
+
start(options: MeasurementOptions): void;
|
|
29
|
+
stop(): void;
|
|
30
|
+
clear(): void;
|
|
31
|
+
rehydrate?(record: MeasurementRecord, htmlLabelPool?: any): void;
|
|
32
|
+
}
|
|
33
|
+
export interface MeasurementRecord {
|
|
34
|
+
id: string;
|
|
35
|
+
type: MeasurementType;
|
|
36
|
+
options?: MeasurementOptions;
|
|
37
|
+
positions?: Array<[number, number, number]>;
|
|
38
|
+
data?: any;
|
|
39
|
+
}
|
|
40
|
+
export interface MeasurementsConfig {
|
|
41
|
+
measurements: MeasurementRecord[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EntityLayerManager } from '../entity/EntityLayer';
|
|
2
|
+
import { MaterialManager } from '../Material/MaterialManager';
|
|
3
|
+
export declare class PrimitiveManager {
|
|
4
|
+
private Cesium;
|
|
5
|
+
private viewer;
|
|
6
|
+
private layerMap;
|
|
7
|
+
private hideLayerMap;
|
|
8
|
+
entityLayerManager: EntityLayerManager;
|
|
9
|
+
private PrimitiveThemeMap;
|
|
10
|
+
materialManager: MaterialManager;
|
|
11
|
+
constructor(options: {
|
|
12
|
+
Cesium: any;
|
|
13
|
+
viewer: any;
|
|
14
|
+
materialManager: MaterialManager;
|
|
15
|
+
entityLayerManager: EntityLayerManager;
|
|
16
|
+
});
|
|
17
|
+
private createGeometryInstance;
|
|
18
|
+
private carateThemePrimitive;
|
|
19
|
+
initTheme(item: any): void;
|
|
20
|
+
convertCadPatternToCesiumDash(pattern: Array<number>, patternLength: number): {
|
|
21
|
+
dashPattern: number;
|
|
22
|
+
dashLength: number;
|
|
23
|
+
};
|
|
24
|
+
processBatch(data: Array<{
|
|
25
|
+
layerId: string;
|
|
26
|
+
dataList: any[];
|
|
27
|
+
}>): Promise<void>;
|
|
28
|
+
private createPolyline;
|
|
29
|
+
private createPolygon;
|
|
30
|
+
private getMaterial;
|
|
31
|
+
updateGeometryInstance(_item: any): void;
|
|
32
|
+
deleteGeometryInstance(data: Array<{
|
|
33
|
+
layerId: string;
|
|
34
|
+
ids: string[];
|
|
35
|
+
}>): void;
|
|
36
|
+
addGeometryInstance(_item: any): void;
|
|
37
|
+
private createAppearance;
|
|
38
|
+
private updatePrimitive;
|
|
39
|
+
hideByLayerAndId(data: Array<{
|
|
40
|
+
layerId: string;
|
|
41
|
+
ids: string[];
|
|
42
|
+
}>): void;
|
|
43
|
+
showByLayerAndId(data: Array<{
|
|
44
|
+
layerId: string;
|
|
45
|
+
ids: string[];
|
|
46
|
+
}>): void;
|
|
47
|
+
hasGeometryInstance(layerId: string, id: string): boolean;
|
|
48
|
+
getGeometryInstanceInfo(layerId: string, id: string): any;
|
|
49
|
+
focusOnGeometryInstance(layerId: string, id: string): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IRoamTool, ViewRoamOptions, Waypoint } from './types';
|
|
2
|
+
export declare class CameraRoamTool implements IRoamTool {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private options;
|
|
6
|
+
private entity;
|
|
7
|
+
private viewEntities;
|
|
8
|
+
private startTime;
|
|
9
|
+
private stopTime;
|
|
10
|
+
private isPaused;
|
|
11
|
+
private lastTime;
|
|
12
|
+
constructor({ Cesium, viewer }: {
|
|
13
|
+
Cesium: any;
|
|
14
|
+
viewer: any;
|
|
15
|
+
});
|
|
16
|
+
get Viewer(): any;
|
|
17
|
+
get CesiumInstance(): any;
|
|
18
|
+
start(options: ViewRoamOptions): void;
|
|
19
|
+
preview(options: ViewRoamOptions): void;
|
|
20
|
+
private _setupEntities;
|
|
21
|
+
private onTick;
|
|
22
|
+
stop(): void;
|
|
23
|
+
pause(): void;
|
|
24
|
+
resume(): void;
|
|
25
|
+
clear(): void;
|
|
26
|
+
captureCurrentView(): Waypoint;
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IRoamTool, PathRoamOptions } from './types';
|
|
2
|
+
export declare class PathRoamTool implements IRoamTool {
|
|
3
|
+
private Cesium;
|
|
4
|
+
private viewer;
|
|
5
|
+
private entity;
|
|
6
|
+
private positionProperty;
|
|
7
|
+
private startTime;
|
|
8
|
+
private stopTime;
|
|
9
|
+
private options;
|
|
10
|
+
private cameraOffset;
|
|
11
|
+
constructor({ Cesium, viewer }: {
|
|
12
|
+
Cesium: any;
|
|
13
|
+
viewer: any;
|
|
14
|
+
});
|
|
15
|
+
get Viewer(): any;
|
|
16
|
+
get CesiumInstance(): any;
|
|
17
|
+
start(options: PathRoamOptions): void;
|
|
18
|
+
stop(): void;
|
|
19
|
+
clear(): void;
|
|
20
|
+
private normalizePositions;
|
|
21
|
+
private buildTimes;
|
|
22
|
+
private onTick;
|
|
23
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export type EasingType = 'linear' | 'easeInOut' | ((t: number) => number);
|
|
2
|
+
export interface Waypoint {
|
|
3
|
+
lon?: number;
|
|
4
|
+
lat?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
destination?: any;
|
|
7
|
+
heading?: number;
|
|
8
|
+
pitch?: number;
|
|
9
|
+
roll?: number;
|
|
10
|
+
orientation?: any;
|
|
11
|
+
duration?: number;
|
|
12
|
+
transition?: number;
|
|
13
|
+
stay?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ViewRoamOptions {
|
|
16
|
+
waypoints: Waypoint[];
|
|
17
|
+
speed?: number;
|
|
18
|
+
startTime?: any;
|
|
19
|
+
loop?: boolean;
|
|
20
|
+
showPath?: boolean;
|
|
21
|
+
showStops?: boolean;
|
|
22
|
+
modelUrl?: string;
|
|
23
|
+
modelScale?: number;
|
|
24
|
+
modelAnimate?: boolean;
|
|
25
|
+
onWaypoint?: (index: number, waypoint: Waypoint) => void;
|
|
26
|
+
onComplete?: () => void;
|
|
27
|
+
onTick?: (time: any, position: any, orientation: any) => void;
|
|
28
|
+
}
|
|
29
|
+
export interface ViewRoamConfig {
|
|
30
|
+
waypoints: Waypoint[];
|
|
31
|
+
loop?: boolean;
|
|
32
|
+
easing?: EasingType;
|
|
33
|
+
transitionMode?: 'flyTo' | 'lerp';
|
|
34
|
+
fps?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface PathRoamOptions {
|
|
37
|
+
positions: Array<[number, number, number?]> | any[];
|
|
38
|
+
speed?: number;
|
|
39
|
+
loop?: boolean;
|
|
40
|
+
clampToGround?: boolean;
|
|
41
|
+
followCamera?: boolean;
|
|
42
|
+
lookAtOffset?: any;
|
|
43
|
+
showPath?: boolean;
|
|
44
|
+
pathColor?: any;
|
|
45
|
+
pathWidth?: number;
|
|
46
|
+
pointColor?: any;
|
|
47
|
+
pointPixelSize?: number;
|
|
48
|
+
modelUrl?: string;
|
|
49
|
+
modelScale?: number;
|
|
50
|
+
modelAnimate?: boolean;
|
|
51
|
+
initialView?: {
|
|
52
|
+
destination: any;
|
|
53
|
+
orientation?: {
|
|
54
|
+
heading: number;
|
|
55
|
+
pitch: number;
|
|
56
|
+
roll: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
onTick?: (time: any, position: any) => void;
|
|
60
|
+
onComplete?: () => void;
|
|
61
|
+
}
|
|
62
|
+
export interface IRoamTool {
|
|
63
|
+
start(options: any): void;
|
|
64
|
+
stop(): void;
|
|
65
|
+
clear(): void;
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function convertGeoJsonToEntityData(geoJson: any): any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateUUID(): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './components/BufferedHierarchicalAggregator';
|
|
2
|
+
export * from './components/HtmlOverlayLabelPool';
|
|
3
|
+
export * from './components/MarkerEvent';
|
|
4
|
+
export { DrawTool } from './components/draw/DrawTool';
|
|
5
|
+
export { TooltipManager } from './components/TooltipManager';
|
|
6
|
+
export * from './components/gltf/index';
|
|
7
|
+
export { MaterialManager, getDynamicImgMaterial, getPolylineFlowMaterialProperty, getWallMaterial, } from './components/Material/index';
|
|
8
|
+
export { EntityLayerManager } from './components/entity/EntityLayer';
|
|
9
|
+
export { convertGeoJsonToEntityData } from './components/utils/convertGeoJsonToEntityData';
|
|
10
|
+
export { PrimitiveManager } from './components/primitive/PrimitiveManager';
|
|
11
|
+
export * from './components/measurement/index';
|
|
12
|
+
export * from './components/roaming/index';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@report-components/cesium-core",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"main": "dist/cesium-core.umd.js",
|
|
5
|
+
"module": "dist/cesium-core.mjs",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/cesium-core.mjs",
|
|
10
|
+
"require": "./dist/cesium-core.umd.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "vite build"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"typescript": "^5.8.3",
|
|
21
|
+
"vite": "^6.3.5",
|
|
22
|
+
"@types/lodash-es": "^4.17.12",
|
|
23
|
+
"lodash-es": "^4.17.21",
|
|
24
|
+
"vite-plugin-dts": "^4.5.4"
|
|
25
|
+
}
|
|
26
|
+
}
|