leiting-bim 2.1.48 → 2.1.52
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/package.json +16 -2
- package/plugins/cesium-core/dist/cesium-core.mjs +587 -535
- package/plugins/cesium-core/dist/cesium-core.mjs.map +1 -0
- package/plugins/cesium-core/dist/cesium-core.umd.js +19 -18
- package/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -0
- package/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +76 -73
- package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js +1 -0
- package/plugins/cesium-vue/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
- package/plugins/cesium-vue/dist/components/basic-audio.js +3 -2
- package/plugins/cesium-vue/dist/components/basic-audio.js.map +1 -0
- package/plugins/cesium-vue/dist/components/basic-video.js +3 -2
- package/plugins/cesium-vue/dist/components/basic-video.js.map +1 -0
- package/plugins/cesium-vue/dist/components/card-carousel.js +2 -1
- package/plugins/cesium-vue/dist/components/card-carousel.js.map +1 -0
- package/plugins/cesium-vue/dist/components/card-content.js +13 -12
- package/plugins/cesium-vue/dist/components/card-content.js.map +1 -0
- package/plugins/cesium-vue/dist/components/card-page.js +2 -1
- package/plugins/cesium-vue/dist/components/card-page.js.map +1 -0
- package/plugins/cesium-vue/dist/components/carousel-img.js +6 -5
- package/plugins/cesium-vue/dist/components/carousel-img.js.map +1 -0
- package/plugins/cesium-vue/dist/components/echarts-pro.js +2 -1
- package/plugins/cesium-vue/dist/components/echarts-pro.js.map +1 -0
- package/plugins/cesium-vue/dist/components/marker-bubble.js +5 -4
- package/plugins/cesium-vue/dist/components/marker-bubble.js.map +1 -0
- package/plugins/cesium-vue/dist/components/marker-default.js +6 -5
- package/plugins/cesium-vue/dist/components/marker-default.js.map +1 -0
- package/plugins/cesium-vue/dist/components/marker-html.js +6 -5
- package/plugins/cesium-vue/dist/components/marker-html.js.map +1 -0
- package/plugins/cesium-vue/dist/components/marker-manage.js +112 -94
- package/plugins/cesium-vue/dist/components/marker-manage.js.map +1 -0
- package/plugins/cesium-vue/dist/components/marker-text.js +6 -5
- package/plugins/cesium-vue/dist/components/marker-text.js.map +1 -0
- package/plugins/cesium-vue/dist/components/measurement.js +4 -3
- package/plugins/cesium-vue/dist/components/measurement.js.map +1 -0
- package/plugins/cesium-vue/dist/components/position-picker/index.d.ts +58 -0
- package/plugins/cesium-vue/dist/components/position-picker.d.ts +6 -0
- package/plugins/cesium-vue/dist/components/position-picker.js +243 -0
- package/plugins/cesium-vue/dist/components/position-picker.js.map +1 -0
- package/plugins/cesium-vue/dist/create-DynflqE1.js +1 -0
- package/plugins/cesium-vue/dist/create-DynflqE1.js.map +1 -0
- package/plugins/cesium-vue/dist/{index-B03tSn8_.js → index-C0pspk3x.js} +3 -2
- package/plugins/cesium-vue/dist/index-C0pspk3x.js.map +1 -0
- package/plugins/cesium-vue/dist/index-CUs_hd1V.js +1 -0
- package/plugins/cesium-vue/dist/index-CUs_hd1V.js.map +1 -0
- package/plugins/cesium-vue/dist/index.d.ts +3 -1
- package/plugins/cesium-vue/dist/index.js +31 -27
- package/plugins/cesium-vue/dist/index.js.map +1 -0
- package/plugins/cesium-vue/package.json +4 -0
- package/plugins/theme-chalk/dist/debug.log +1 -0
- package/plugins/.gitmodules +0 -4
- package/plugins/README.md +0 -2
- package/plugins/build.cjs +0 -63
- package/plugins/cesium-core/pnpm-lock.yaml +0 -872
- package/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +0 -546
- package/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +0 -489
- package/plugins/cesium-core/src/components/MarkerEvent.ts +0 -92
- package/plugins/cesium-core/src/components/Material/MaterialManager.ts +0 -129
- package/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +0 -116
- package/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +0 -236
- package/plugins/cesium-core/src/components/Material/index.ts +0 -3
- package/plugins/cesium-core/src/components/TooltipManager.ts +0 -52
- package/plugins/cesium-core/src/components/draw/DrawTool.ts +0 -55
- package/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +0 -159
- package/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +0 -113
- package/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +0 -70
- package/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +0 -112
- package/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +0 -115
- package/plugins/cesium-core/src/components/draw/types.ts +0 -28
- package/plugins/cesium-core/src/components/entity/EntityLayer.ts +0 -453
- package/plugins/cesium-core/src/components/gltf/GLTFManage.ts +0 -799
- package/plugins/cesium-core/src/components/gltf/index.ts +0 -1
- package/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +0 -416
- package/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +0 -552
- package/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +0 -289
- package/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +0 -139
- package/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +0 -427
- package/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +0 -356
- package/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +0 -516
- package/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +0 -472
- package/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +0 -250
- package/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +0 -185
- package/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +0 -561
- package/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +0 -361
- package/plugins/cesium-core/src/components/measurement/index.ts +0 -13
- package/plugins/cesium-core/src/components/measurement/types.ts +0 -57
- package/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +0 -556
- package/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +0 -286
- package/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +0 -174
- package/plugins/cesium-core/src/components/roaming/index.ts +0 -3
- package/plugins/cesium-core/src/components/roaming/types.ts +0 -71
- package/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +0 -98
- package/plugins/cesium-core/src/components/utils/uuid.ts +0 -7
- package/plugins/cesium-core/src/index.ts +0 -17
- package/plugins/cesium-core/src/test/measurement/index.html +0 -166
- package/plugins/cesium-core/src/test/roaming/c.gltf +0 -1
- package/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/cesium-core/src/test/roaming/index.html +0 -51
- package/plugins/cesium-core/src/test/roaming/path.html +0 -448
- package/plugins/cesium-core/src/test/roaming/view.html +0 -520
- package/plugins/cesium-core/stats.html +0 -4949
- package/plugins/cesium-core/tsconfig.json +0 -14
- package/plugins/cesium-core/vite.config.ts +0 -35
- 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 +0 -6
- package/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +0 -119
- package/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +0 -6
- package/plugins/cesium-vue/src/components/basic-video/index.ts +0 -7
- package/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +0 -58
- package/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +0 -14
- package/plugins/cesium-vue/src/components/card-carousel/index.ts +0 -7
- package/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +0 -124
- package/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +0 -60
- package/plugins/cesium-vue/src/components/card-content/index.ts +0 -7
- package/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +0 -41
- package/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +0 -22
- package/plugins/cesium-vue/src/components/card-page/index.ts +0 -7
- package/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +0 -102
- package/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +0 -37
- package/plugins/cesium-vue/src/components/carousel-img/index.ts +0 -7
- package/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +0 -84
- package/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +0 -8
- package/plugins/cesium-vue/src/components/echarts-pro/index.ts +0 -7
- package/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +0 -107
- package/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +0 -12
- package/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +0 -55
- package/plugins/cesium-vue/src/components/marker-bubble/index.ts +0 -7
- package/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +0 -235
- package/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +0 -35
- package/plugins/cesium-vue/src/components/marker-default/index.ts +0 -7
- package/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +0 -19
- package/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +0 -12
- package/plugins/cesium-vue/src/components/marker-html/index.ts +0 -7
- package/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +0 -21
- package/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +0 -12
- package/plugins/cesium-vue/src/components/marker-manage/index.ts +0 -9
- package/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +0 -106
- package/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +0 -8
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +0 -466
- package/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +0 -148
- package/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +0 -45
- package/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +0 -75
- package/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +0 -154
- package/plugins/cesium-vue/src/components/marker-text/index.ts +0 -7
- package/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +0 -14
- package/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +0 -10
- package/plugins/cesium-vue/src/components/measurement/index.ts +0 -7
- package/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +0 -183
- package/plugins/cesium-vue/src/components/measurement/src/measurement.ts +0 -20
- package/plugins/cesium-vue/src/index.ts +0 -89
- package/plugins/cesium-vue/stats.html +0 -4949
- package/plugins/cesium-vue/tsconfig.json +0 -18
- package/plugins/cesium-vue/vite.config.ts +0 -62
- package/plugins/plugins/README.md +0 -2
- package/plugins/plugins/build.cjs +0 -63
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs +0 -5881
- package/plugins/plugins/cesium-core/dist/cesium-core.mjs.map +0 -1
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js +0 -77
- package/plugins/plugins/cesium-core/dist/cesium-core.umd.js.map +0 -1
- package/plugins/plugins/cesium-core/dist/components/BufferedHierarchicalAggregator.d.ts +0 -73
- package/plugins/plugins/cesium-core/dist/components/HtmlOverlayLabelPool.d.ts +0 -152
- package/plugins/plugins/cesium-core/dist/components/MarkerEvent.d.ts +0 -38
- package/plugins/plugins/cesium-core/dist/components/Material/MaterialManager.d.ts +0 -49
- package/plugins/plugins/cesium-core/dist/components/Material/help/PolylineFlowMaterialProperty.d.ts +0 -10
- package/plugins/plugins/cesium-core/dist/components/Material/help/dynamicImgMaterial.d.ts +0 -16
- package/plugins/plugins/cesium-core/dist/components/Material/index.d.ts +0 -3
- package/plugins/plugins/cesium-core/dist/components/TooltipManager.d.ts +0 -11
- package/plugins/plugins/cesium-core/dist/components/draw/DrawTool.d.ts +0 -10
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/CircleDrawer.d.ts +0 -16
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/LineDrawer.d.ts +0 -14
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PointDrawer.d.ts +0 -12
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/PolygonDrawer.d.ts +0 -14
- package/plugins/plugins/cesium-core/dist/components/draw/handlers/RectangleDrawer.d.ts +0 -13
- package/plugins/plugins/cesium-core/dist/components/draw/types.d.ts +0 -29
- package/plugins/plugins/cesium-core/dist/components/entity/EntityLayer.d.ts +0 -65
- package/plugins/plugins/cesium-core/dist/components/gltf/GLTFManage.d.ts +0 -141
- package/plugins/plugins/cesium-core/dist/components/gltf/index.d.ts +0 -1
- package/plugins/plugins/cesium-core/dist/components/measurement/MeasurementTool.d.ts +0 -34
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/AreaMeasure.d.ts +0 -23
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CircleMeasure.d.ts +0 -21
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/CoordinateMeasure.d.ts +0 -16
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/HorizontalMeasure.d.ts +0 -25
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/PolylineDistanceMeasure.d.ts +0 -24
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RectangleMeasure.d.ts +0 -22
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/RegularPolygonMeasure.d.ts +0 -23
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/SpaceMeasure.d.ts +0 -20
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TerrainHeightMeasure.d.ts +0 -18
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/TriangleMeasure.d.ts +0 -24
- package/plugins/plugins/cesium-core/dist/components/measurement/handlers/VerticalMeasure.d.ts +0 -23
- package/plugins/plugins/cesium-core/dist/components/measurement/index.d.ts +0 -13
- package/plugins/plugins/cesium-core/dist/components/measurement/types.d.ts +0 -42
- package/plugins/plugins/cesium-core/dist/components/primitive/PrimitiveManager.d.ts +0 -50
- package/plugins/plugins/cesium-core/dist/components/roaming/CameraRoamTool.d.ts +0 -27
- package/plugins/plugins/cesium-core/dist/components/roaming/PathRoamTool.d.ts +0 -23
- package/plugins/plugins/cesium-core/dist/components/roaming/index.d.ts +0 -3
- package/plugins/plugins/cesium-core/dist/components/roaming/types.d.ts +0 -66
- package/plugins/plugins/cesium-core/dist/components/utils/convertGeoJsonToEntityData.d.ts +0 -1
- package/plugins/plugins/cesium-core/dist/components/utils/uuid.d.ts +0 -1
- package/plugins/plugins/cesium-core/dist/index.d.ts +0 -12
- package/plugins/plugins/cesium-core/package.json +0 -26
- package/plugins/plugins/cesium-core/pnpm-lock.yaml +0 -872
- package/plugins/plugins/cesium-core/src/components/BufferedHierarchicalAggregator.ts +0 -546
- package/plugins/plugins/cesium-core/src/components/HtmlOverlayLabelPool.ts +0 -489
- package/plugins/plugins/cesium-core/src/components/MarkerEvent.ts +0 -92
- package/plugins/plugins/cesium-core/src/components/Material/MaterialManager.ts +0 -129
- package/plugins/plugins/cesium-core/src/components/Material/help/PolylineFlowMaterialProperty.ts +0 -116
- package/plugins/plugins/cesium-core/src/components/Material/help/dynamicImgMaterial.ts +0 -236
- package/plugins/plugins/cesium-core/src/components/Material/index.ts +0 -3
- package/plugins/plugins/cesium-core/src/components/TooltipManager.ts +0 -52
- package/plugins/plugins/cesium-core/src/components/draw/DrawTool.ts +0 -55
- package/plugins/plugins/cesium-core/src/components/draw/handlers/CircleDrawer.ts +0 -159
- package/plugins/plugins/cesium-core/src/components/draw/handlers/LineDrawer.ts +0 -113
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PointDrawer.ts +0 -70
- package/plugins/plugins/cesium-core/src/components/draw/handlers/PolygonDrawer.ts +0 -112
- package/plugins/plugins/cesium-core/src/components/draw/handlers/RectangleDrawer.ts +0 -115
- package/plugins/plugins/cesium-core/src/components/draw/types.ts +0 -28
- package/plugins/plugins/cesium-core/src/components/entity/EntityLayer.ts +0 -453
- package/plugins/plugins/cesium-core/src/components/gltf/GLTFManage.ts +0 -799
- package/plugins/plugins/cesium-core/src/components/gltf/index.ts +0 -1
- package/plugins/plugins/cesium-core/src/components/measurement/MeasurementTool.ts +0 -416
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/AreaMeasure.ts +0 -451
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CircleMeasure.ts +0 -267
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/CoordinateMeasure.ts +0 -139
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/HorizontalMeasure.ts +0 -418
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/PolylineDistanceMeasure.ts +0 -352
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RectangleMeasure.ts +0 -388
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/RegularPolygonMeasure.ts +0 -379
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/SpaceMeasure.ts +0 -246
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TerrainHeightMeasure.ts +0 -185
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/TriangleMeasure.ts +0 -541
- package/plugins/plugins/cesium-core/src/components/measurement/handlers/VerticalMeasure.ts +0 -360
- package/plugins/plugins/cesium-core/src/components/measurement/index.ts +0 -13
- package/plugins/plugins/cesium-core/src/components/measurement/types.ts +0 -57
- package/plugins/plugins/cesium-core/src/components/primitive/PrimitiveManager.ts +0 -556
- package/plugins/plugins/cesium-core/src/components/roaming/CameraRoamTool.ts +0 -286
- package/plugins/plugins/cesium-core/src/components/roaming/PathRoamTool.ts +0 -174
- package/plugins/plugins/cesium-core/src/components/roaming/index.ts +0 -3
- package/plugins/plugins/cesium-core/src/components/roaming/types.ts +0 -71
- package/plugins/plugins/cesium-core/src/components/utils/convertGeoJsonToEntityData.ts +0 -98
- package/plugins/plugins/cesium-core/src/components/utils/uuid.ts +0 -7
- package/plugins/plugins/cesium-core/src/index.ts +0 -17
- package/plugins/plugins/cesium-core/src/test/measurement/index.html +0 -166
- package/plugins/plugins/cesium-core/src/test/roaming/c.gltf +0 -1
- package/plugins/plugins/cesium-core/src/test/roaming/f87cc3ea918a4b76bff2c88a3655eb1f.bin +0 -0
- package/plugins/plugins/cesium-core/src/test/roaming/index.html +0 -51
- package/plugins/plugins/cesium-core/src/test/roaming/path.html +0 -448
- package/plugins/plugins/cesium-core/src/test/roaming/view.html +0 -520
- package/plugins/plugins/cesium-core/stats.html +0 -4949
- package/plugins/plugins/cesium-core/tsconfig.json +0 -14
- package/plugins/plugins/cesium-core/vite.config.ts +0 -35
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts +0 -18
- package/plugins/plugins/cesium-vue/dist/components/basic-audio/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts +0 -92
- package/plugins/plugins/cesium-vue/dist/components/basic-video/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts +0 -82
- package/plugins/plugins/cesium-vue/dist/components/camera-roam/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts +0 -152
- package/plugins/plugins/cesium-vue/dist/components/card-carousel/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts +0 -21
- package/plugins/plugins/cesium-vue/dist/components/card-content/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts +0 -69
- package/plugins/plugins/cesium-vue/dist/components/card-page/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts +0 -21
- package/plugins/plugins/cesium-vue/dist/components/carousel-img/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts +0 -68
- package/plugins/plugins/cesium-vue/dist/components/echarts-pro/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts +0 -78
- package/plugins/plugins/cesium-vue/dist/components/marker-bubble/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts +0 -48
- package/plugins/plugins/cesium-vue/dist/components/marker-default/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts +0 -48
- package/plugins/plugins/cesium-vue/dist/components/marker-html/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts +0 -164
- package/plugins/plugins/cesium-vue/dist/components/marker-manage/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts +0 -30
- package/plugins/plugins/cesium-vue/dist/components/marker-text/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts +0 -78
- package/plugins/plugins/cesium-vue/dist/components/measurement/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts +0 -82
- package/plugins/plugins/cesium-vue/dist/components/path-roam/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts +0 -67
- package/plugins/plugins/cesium-vue/dist/components/test/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/index.css +0 -1
- package/plugins/plugins/cesium-vue/dist/index.d.ts +0 -30
- package/plugins/plugins/cesium-vue/dist/index.d.ts.map +0 -1
- package/plugins/plugins/cesium-vue/dist/index.js +0 -10087
- package/plugins/plugins/cesium-vue/dist/index.js.map +0 -1
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs +0 -46
- package/plugins/plugins/cesium-vue/dist/index.umd.cjs.map +0 -1
- package/plugins/plugins/cesium-vue/package.json +0 -48
- 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 +0 -11
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/BasicAudio.vue +0 -110
- package/plugins/plugins/cesium-vue/src/components/basic-audio/src/basicAudio.ts +0 -6
- package/plugins/plugins/cesium-vue/src/components/basic-video/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/BasicVideo.vue +0 -99
- package/plugins/plugins/cesium-vue/src/components/basic-video/src/basicVideo.ts +0 -13
- package/plugins/plugins/cesium-vue/src/components/camera-roam/index.ts +0 -4
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/CameraRoam.vue +0 -434
- package/plugins/plugins/cesium-vue/src/components/camera-roam/src/cameraRoam.ts +0 -28
- package/plugins/plugins/cesium-vue/src/components/card-carousel/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/CardCarousel.vue +0 -124
- package/plugins/plugins/cesium-vue/src/components/card-carousel/src/cardCarousel.ts +0 -60
- package/plugins/plugins/cesium-vue/src/components/card-content/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/card-content/src/CardContent.vue +0 -41
- package/plugins/plugins/cesium-vue/src/components/card-content/src/cardContent.ts +0 -22
- package/plugins/plugins/cesium-vue/src/components/card-page/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/card-page/src/CardPage.vue +0 -102
- package/plugins/plugins/cesium-vue/src/components/card-page/src/cardPage.ts +0 -37
- package/plugins/plugins/cesium-vue/src/components/carousel-img/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/CarouselImg.vue +0 -15
- package/plugins/plugins/cesium-vue/src/components/carousel-img/src/carouselImg.ts +0 -6
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/EchartsPro.vue +0 -107
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/echartsPro.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/echarts-pro/src/hook/useECharts.ts +0 -55
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/MarkerBubble.vue +0 -235
- package/plugins/plugins/cesium-vue/src/components/marker-bubble/src/markerBubble.ts +0 -35
- package/plugins/plugins/cesium-vue/src/components/marker-default/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/MarkerDefault.vue +0 -19
- package/plugins/plugins/cesium-vue/src/components/marker-default/src/markerDefault.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-html/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/MarkerHtml.vue +0 -21
- package/plugins/plugins/cesium-vue/src/components/marker-html/src/markerHtml.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-manage/index.ts +0 -14
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/components/MarkerManage.vue +0 -106
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/config/theme.ts +0 -8
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManage.ts +0 -466
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/core/MarkerManagerCore.ts +0 -148
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/hook/useMarkerManage.ts +0 -45
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/type/markerManage.ts +0 -75
- package/plugins/plugins/cesium-vue/src/components/marker-manage/src/utils/themeTool.ts +0 -154
- package/plugins/plugins/cesium-vue/src/components/marker-text/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/MarkerText.vue +0 -14
- package/plugins/plugins/cesium-vue/src/components/marker-text/src/markerText.ts +0 -10
- package/plugins/plugins/cesium-vue/src/components/measurement/index.ts +0 -12
- package/plugins/plugins/cesium-vue/src/components/measurement/src/Measurement.vue +0 -183
- package/plugins/plugins/cesium-vue/src/components/measurement/src/measurement.ts +0 -20
- package/plugins/plugins/cesium-vue/src/components/path-roam/index.ts +0 -4
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/PathRoam.vue +0 -429
- package/plugins/plugins/cesium-vue/src/components/path-roam/src/pathRoam.ts +0 -28
- package/plugins/plugins/cesium-vue/src/components/test/CardMarker.vue +0 -150
- package/plugins/plugins/cesium-vue/src/components/test/CesiumMarker.vue +0 -34
- package/plugins/plugins/cesium-vue/src/components/test/CesiumViewer.vue +0 -77
- package/plugins/plugins/cesium-vue/src/components/test/MyLabel.vue +0 -25
- package/plugins/plugins/cesium-vue/src/components/test/index.ts +0 -28
- package/plugins/plugins/cesium-vue/src/index.ts +0 -83
- package/plugins/plugins/cesium-vue/stats.html +0 -4949
- package/plugins/plugins/cesium-vue/tsconfig.json +0 -18
- package/plugins/plugins/cesium-vue/vite.config.ts +0 -56
- package/plugins/plugins/theme-chalk/dist/theme-chalk.css +0 -819
- package/plugins/plugins/theme-chalk/index.less +0 -11
- package/plugins/plugins/theme-chalk/package.json +0 -27
- package/plugins/plugins/theme-chalk/src/basicAudio.less +0 -41
- package/plugins/plugins/theme-chalk/src/basicVideo.less +0 -17
- package/plugins/plugins/theme-chalk/src/cameraRoam.less +0 -239
- package/plugins/plugins/theme-chalk/src/cardCarousel.less +0 -71
- package/plugins/plugins/theme-chalk/src/cardContent.less +0 -73
- package/plugins/plugins/theme-chalk/src/cardPage.less +0 -61
- package/plugins/plugins/theme-chalk/src/carouselImg.less +0 -34
- package/plugins/plugins/theme-chalk/src/marker.less +0 -107
- package/plugins/plugins/theme-chalk/src/markerManage.less +0 -25
- package/plugins/plugins/theme-chalk/src/measurement.less +0 -106
- package/plugins/plugins/theme-chalk/src/mixins/config.less +0 -4
- package/plugins/plugins/theme-chalk/src/mixins/mixins.less +0 -64
- package/plugins/plugins/theme-chalk/src/pathRoam.less +0 -198
- package/plugins/plugins/utils/create.ts +0 -45
- package/plugins/plugins/utils/package.json +0 -12
- package/plugins/plugins/utils/uuid.ts +0 -43
- package/plugins/plugins/utils/with-install.ts +0 -10
- package/plugins/theme-chalk/index.less +0 -11
- package/plugins/theme-chalk/src/basicAudio.less +0 -44
- package/plugins/theme-chalk/src/basicVideo.less +0 -17
- package/plugins/theme-chalk/src/cameraRoam.less +0 -239
- package/plugins/theme-chalk/src/cardCarousel.less +0 -71
- package/plugins/theme-chalk/src/cardContent.less +0 -73
- package/plugins/theme-chalk/src/cardPage.less +0 -61
- package/plugins/theme-chalk/src/carouselImg.less +0 -66
- package/plugins/theme-chalk/src/marker.less +0 -107
- package/plugins/theme-chalk/src/markerManage.less +0 -25
- package/plugins/theme-chalk/src/measurement.less +0 -106
- package/plugins/theme-chalk/src/mixins/config.less +0 -4
- package/plugins/theme-chalk/src/mixins/mixins.less +0 -64
- package/plugins/theme-chalk/src/pathRoam.less +0 -198
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Cesium 视点漫游 (模拟飞行)</title>
|
|
7
|
-
<link
|
|
8
|
-
rel="stylesheet"
|
|
9
|
-
href="https://unpkg.com/cesium@1.120.0/Build/Cesium/Widgets/widgets.css"
|
|
10
|
-
/>
|
|
11
|
-
<style>
|
|
12
|
-
:root {
|
|
13
|
-
--bg-color: rgba(30, 30, 30, 0.85);
|
|
14
|
-
--text-color: #e0e0e0;
|
|
15
|
-
--accent-color: #3b82f6;
|
|
16
|
-
--accent-hover: #2563eb;
|
|
17
|
-
--danger-color: #ef4444;
|
|
18
|
-
--border-color: rgba(255, 255, 255, 0.1);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
html,
|
|
22
|
-
body {
|
|
23
|
-
margin: 0;
|
|
24
|
-
height: 100%;
|
|
25
|
-
font-family:
|
|
26
|
-
system-ui,
|
|
27
|
-
-apple-system,
|
|
28
|
-
sans-serif;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
#app {
|
|
33
|
-
position: absolute;
|
|
34
|
-
inset: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Control Panel */
|
|
38
|
-
#control-panel {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 20px;
|
|
41
|
-
left: 20px;
|
|
42
|
-
width: 320px;
|
|
43
|
-
z-index: 100;
|
|
44
|
-
background-color: var(--bg-color);
|
|
45
|
-
backdrop-filter: blur(12px);
|
|
46
|
-
-webkit-backdrop-filter: blur(12px);
|
|
47
|
-
color: var(--text-color);
|
|
48
|
-
border-radius: 12px;
|
|
49
|
-
border: 1px solid var(--border-color);
|
|
50
|
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
transition: opacity 0.3s;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.panel-header {
|
|
58
|
-
padding: 12px 16px;
|
|
59
|
-
background: rgba(255, 255, 255, 0.05);
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
font-size: 16px;
|
|
62
|
-
border-bottom: 1px solid var(--border-color);
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: space-between;
|
|
65
|
-
align-items: center;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.panel-content {
|
|
69
|
-
padding: 12px;
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
gap: 16px;
|
|
73
|
-
max-height: 80vh;
|
|
74
|
-
overflow-y: auto;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.control-section {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
gap: 8px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.section-title {
|
|
84
|
-
font-size: 12px;
|
|
85
|
-
text-transform: uppercase;
|
|
86
|
-
color: #9ca3af;
|
|
87
|
-
letter-spacing: 0.5px;
|
|
88
|
-
font-weight: 600;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* Inputs */
|
|
92
|
-
.input-group {
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
gap: 4px;
|
|
96
|
-
}
|
|
97
|
-
.input-group label {
|
|
98
|
-
font-size: 12px;
|
|
99
|
-
color: #9ca3af;
|
|
100
|
-
}
|
|
101
|
-
input[type='number'],
|
|
102
|
-
input[type='text'] {
|
|
103
|
-
width: 100%;
|
|
104
|
-
padding: 6px 10px;
|
|
105
|
-
background: rgba(0, 0, 0, 0.3);
|
|
106
|
-
border: 1px solid var(--border-color);
|
|
107
|
-
border-radius: 6px;
|
|
108
|
-
color: var(--text-color);
|
|
109
|
-
font-size: 13px;
|
|
110
|
-
outline: none;
|
|
111
|
-
box-sizing: border-box;
|
|
112
|
-
}
|
|
113
|
-
input[type='number']:focus,
|
|
114
|
-
input[type='text']:focus {
|
|
115
|
-
border-color: var(--accent-color);
|
|
116
|
-
}
|
|
117
|
-
.checkbox-group {
|
|
118
|
-
display: flex;
|
|
119
|
-
align-items: center;
|
|
120
|
-
gap: 8px;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
font-size: 13px;
|
|
123
|
-
}
|
|
124
|
-
input[type='checkbox'] {
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.row {
|
|
129
|
-
display: flex;
|
|
130
|
-
gap: 8px;
|
|
131
|
-
align-items: center;
|
|
132
|
-
}
|
|
133
|
-
.row.grid-2 {
|
|
134
|
-
display: grid;
|
|
135
|
-
grid-template-columns: 1fr 1fr;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
button {
|
|
139
|
-
padding: 6px 12px;
|
|
140
|
-
border: 1px solid var(--border-color);
|
|
141
|
-
background: rgba(255, 255, 255, 0.05);
|
|
142
|
-
color: var(--text-color);
|
|
143
|
-
border-radius: 6px;
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
font-size: 13px;
|
|
146
|
-
transition: all 0.2s;
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
justify-content: center;
|
|
150
|
-
gap: 6px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
button:hover {
|
|
154
|
-
background: rgba(255, 255, 255, 0.1);
|
|
155
|
-
border-color: rgba(255, 255, 255, 0.2);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
button.primary {
|
|
159
|
-
background: var(--accent-color);
|
|
160
|
-
border-color: transparent;
|
|
161
|
-
color: white;
|
|
162
|
-
}
|
|
163
|
-
button.primary:hover {
|
|
164
|
-
background: var(--accent-hover);
|
|
165
|
-
}
|
|
166
|
-
button.danger {
|
|
167
|
-
color: var(--danger-color);
|
|
168
|
-
border-color: rgba(239, 68, 68, 0.3);
|
|
169
|
-
}
|
|
170
|
-
button.danger:hover {
|
|
171
|
-
background: rgba(239, 68, 68, 0.1);
|
|
172
|
-
}
|
|
173
|
-
button.icon-btn {
|
|
174
|
-
font-size: 16px;
|
|
175
|
-
padding: 6px 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/* Viewpoint List */
|
|
179
|
-
.view-list {
|
|
180
|
-
max-height: 150px;
|
|
181
|
-
overflow-y: auto;
|
|
182
|
-
background: rgba(0, 0, 0, 0.2);
|
|
183
|
-
border: 1px solid var(--border-color);
|
|
184
|
-
border-radius: 6px;
|
|
185
|
-
list-style: none;
|
|
186
|
-
padding: 0;
|
|
187
|
-
margin: 0;
|
|
188
|
-
}
|
|
189
|
-
.view-item {
|
|
190
|
-
padding: 6px 10px;
|
|
191
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
192
|
-
display: flex;
|
|
193
|
-
justify-content: space-between;
|
|
194
|
-
align-items: center;
|
|
195
|
-
font-size: 12px;
|
|
196
|
-
cursor: pointer;
|
|
197
|
-
transition: background 0.2s;
|
|
198
|
-
}
|
|
199
|
-
.view-item:last-child {
|
|
200
|
-
border-bottom: none;
|
|
201
|
-
}
|
|
202
|
-
.view-item:hover {
|
|
203
|
-
background: rgba(255, 255, 255, 0.05);
|
|
204
|
-
}
|
|
205
|
-
.view-item .info {
|
|
206
|
-
display: flex;
|
|
207
|
-
flex-direction: column;
|
|
208
|
-
}
|
|
209
|
-
.view-item .actions {
|
|
210
|
-
display: flex;
|
|
211
|
-
gap: 4px;
|
|
212
|
-
}
|
|
213
|
-
.view-item .btn-del {
|
|
214
|
-
padding: 2px 6px;
|
|
215
|
-
font-size: 10px;
|
|
216
|
-
color: var(--danger-color);
|
|
217
|
-
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
218
|
-
background: transparent;
|
|
219
|
-
}
|
|
220
|
-
.view-item .btn-del:hover {
|
|
221
|
-
background: rgba(239, 68, 68, 0.1);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.status-bar {
|
|
225
|
-
padding: 10px 16px;
|
|
226
|
-
background: rgba(0, 0, 0, 0.3);
|
|
227
|
-
border-top: 1px solid var(--border-color);
|
|
228
|
-
font-size: 12px;
|
|
229
|
-
color: #9ca3af;
|
|
230
|
-
display: flex;
|
|
231
|
-
justify-content: space-between;
|
|
232
|
-
align-items: center;
|
|
233
|
-
}
|
|
234
|
-
.status-value {
|
|
235
|
-
color: var(--accent-color);
|
|
236
|
-
font-weight: 600;
|
|
237
|
-
}
|
|
238
|
-
</style>
|
|
239
|
-
</head>
|
|
240
|
-
<body>
|
|
241
|
-
<div id="control-panel">
|
|
242
|
-
<div class="panel-header">
|
|
243
|
-
<span>📷 视点漫游 (模拟飞行)</span>
|
|
244
|
-
</div>
|
|
245
|
-
|
|
246
|
-
<div class="panel-content">
|
|
247
|
-
<!-- Parameters -->
|
|
248
|
-
<div class="control-section">
|
|
249
|
-
<div class="section-title">参数配置</div>
|
|
250
|
-
<div class="row grid-2">
|
|
251
|
-
<div class="input-group">
|
|
252
|
-
<label>速度 (speed)</label>
|
|
253
|
-
<input type="number" id="inpSpeed" value="500" min="1" />
|
|
254
|
-
</div>
|
|
255
|
-
<div class="input-group">
|
|
256
|
-
<label>模型缩放 (scale)</label>
|
|
257
|
-
<input type="number" id="inpScale" value="1.0" step="0.1" />
|
|
258
|
-
</div>
|
|
259
|
-
</div>
|
|
260
|
-
<div class="input-group">
|
|
261
|
-
<label>模型 URL (可选)</label>
|
|
262
|
-
<input
|
|
263
|
-
type="text"
|
|
264
|
-
id="inpModelUrl"
|
|
265
|
-
placeholder="例如: https://cesium.com/public/Cesium_Air.glb"
|
|
266
|
-
value="http://localhost:5176/src/test/roaming/c.gltf"
|
|
267
|
-
/>
|
|
268
|
-
</div>
|
|
269
|
-
<div class="row">
|
|
270
|
-
<label class="checkbox-group">
|
|
271
|
-
<input type="checkbox" id="chkShowPath" checked />
|
|
272
|
-
<span>显示路径</span>
|
|
273
|
-
</label>
|
|
274
|
-
<label class="checkbox-group">
|
|
275
|
-
<input type="checkbox" id="chkShowStops" checked />
|
|
276
|
-
<span>显示视点图标</span>
|
|
277
|
-
</label>
|
|
278
|
-
</div>
|
|
279
|
-
</div>
|
|
280
|
-
|
|
281
|
-
<!-- Playback -->
|
|
282
|
-
<div class="control-section">
|
|
283
|
-
<div class="section-title">播放控制</div>
|
|
284
|
-
<div class="row grid-2">
|
|
285
|
-
<button id="btnToggle" class="primary icon-btn" title="开始/暂停">▶</button>
|
|
286
|
-
<button id="btnStop" class="danger icon-btn" title="停止">⏹</button>
|
|
287
|
-
</div>
|
|
288
|
-
</div>
|
|
289
|
-
|
|
290
|
-
<!-- Viewpoint Management -->
|
|
291
|
-
<div class="control-section">
|
|
292
|
-
<div class="section-title">视点列表管理</div>
|
|
293
|
-
<button id="btnSaveView" class="primary" style="width: 100%"
|
|
294
|
-
>📸 保存当前视角到列表</button
|
|
295
|
-
>
|
|
296
|
-
|
|
297
|
-
<ul id="viewList" class="view-list">
|
|
298
|
-
<!-- Items will be injected here -->
|
|
299
|
-
<li style="padding: 10px; text-align: center; color: #666">暂无视点</li>
|
|
300
|
-
</ul>
|
|
301
|
-
</div>
|
|
302
|
-
</div>
|
|
303
|
-
|
|
304
|
-
<div class="status-bar">
|
|
305
|
-
<span id="statusText">状态: <span class="status-value">就绪</span></span>
|
|
306
|
-
<span id="countText">视点: 0</span>
|
|
307
|
-
</div>
|
|
308
|
-
</div>
|
|
309
|
-
|
|
310
|
-
<div id="app"></div>
|
|
311
|
-
|
|
312
|
-
<script src="https://unpkg.com/cesium@1.120.0/Build/Cesium/Cesium.js"></script>
|
|
313
|
-
<script>
|
|
314
|
-
var _origDefine = window.define;
|
|
315
|
-
window.define = undefined;
|
|
316
|
-
</script>
|
|
317
|
-
<script src="../../../dist/cesium-core.umd.js"></script>
|
|
318
|
-
<script>
|
|
319
|
-
window.define = _origDefine;
|
|
320
|
-
</script>
|
|
321
|
-
|
|
322
|
-
<script>
|
|
323
|
-
Cesium.Ion.defaultAccessToken =
|
|
324
|
-
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjZGI0MzM1ZS1hMjY4LTRlYzgtYjg1MC03NmI2ZjUxMmM5ZTUiLCJpZCI6OTUzODIsImlhdCI6MTY1MzYyMTM4OX0.ygoPAb1FvQkQGtziq5nTsWT-u7dCheu5hcG0p9TQFpU';
|
|
325
|
-
|
|
326
|
-
const viewer = new Cesium.Viewer('app', {
|
|
327
|
-
baseLayerPicker: false,
|
|
328
|
-
geocoder: false,
|
|
329
|
-
homeButton: false,
|
|
330
|
-
sceneModePicker: false,
|
|
331
|
-
navigationHelpButton: false,
|
|
332
|
-
animation: true,
|
|
333
|
-
timeline: true,
|
|
334
|
-
terrainProvider: null,
|
|
335
|
-
});
|
|
336
|
-
|
|
337
|
-
// Load Terrain
|
|
338
|
-
(async () => {
|
|
339
|
-
try {
|
|
340
|
-
const terrainProvider = await Cesium.ArcGISTiledElevationTerrainProvider.fromUrl(
|
|
341
|
-
'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer',
|
|
342
|
-
);
|
|
343
|
-
viewer.terrainProvider = terrainProvider;
|
|
344
|
-
} catch (err) {
|
|
345
|
-
console.error('ArcGIS Terrain Failed', err);
|
|
346
|
-
viewer.terrainProvider = new Cesium.EllipsoidTerrainProvider();
|
|
347
|
-
}
|
|
348
|
-
})();
|
|
349
|
-
|
|
350
|
-
const cameraRoam = new CesiumCore.CameraRoamTool({ Cesium, viewer });
|
|
351
|
-
|
|
352
|
-
// State
|
|
353
|
-
let waypoints = [];
|
|
354
|
-
let isPlaying = false;
|
|
355
|
-
let isPaused = false;
|
|
356
|
-
|
|
357
|
-
// UI Elements
|
|
358
|
-
const viewListEl = document.getElementById('viewList');
|
|
359
|
-
const countText = document.getElementById('countText');
|
|
360
|
-
const statusText = document.getElementById('statusText');
|
|
361
|
-
const btnToggle = document.getElementById('btnToggle');
|
|
362
|
-
|
|
363
|
-
// Functions
|
|
364
|
-
function updatePreview() {
|
|
365
|
-
if (isPlaying) return;
|
|
366
|
-
if (waypoints.length < 2) {
|
|
367
|
-
// If less than 2 points, we can't really make a path, but maybe show points?
|
|
368
|
-
// The current tool clears everything on setup.
|
|
369
|
-
// We can just try to preview if >= 2.
|
|
370
|
-
// Or if 1 point, maybe show just that point?
|
|
371
|
-
// The tool requires >=2 for path.
|
|
372
|
-
cameraRoam.clear();
|
|
373
|
-
return;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
const speed = Number(document.getElementById('inpSpeed').value) || 500;
|
|
377
|
-
const modelUrl = document.getElementById('inpModelUrl').value.trim();
|
|
378
|
-
const modelScale = Number(document.getElementById('inpScale').value) || 1.0;
|
|
379
|
-
const showPath = document.getElementById('chkShowPath').checked;
|
|
380
|
-
const showStops = document.getElementById('chkShowStops').checked;
|
|
381
|
-
|
|
382
|
-
cameraRoam.preview({
|
|
383
|
-
waypoints: waypoints,
|
|
384
|
-
speed: speed,
|
|
385
|
-
modelUrl: modelUrl || undefined,
|
|
386
|
-
modelScale: modelScale,
|
|
387
|
-
modelAnimate: modelAnimate,
|
|
388
|
-
showPath: showPath,
|
|
389
|
-
showStops: showStops,
|
|
390
|
-
loop: false,
|
|
391
|
-
});
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
function renderList() {
|
|
395
|
-
viewListEl.innerHTML = '';
|
|
396
|
-
if (waypoints.length === 0) {
|
|
397
|
-
viewListEl.innerHTML =
|
|
398
|
-
'<li style="padding: 10px; text-align: center; color: #666;">暂无视点</li>';
|
|
399
|
-
countText.innerText = '视点: 0';
|
|
400
|
-
// Clear preview
|
|
401
|
-
cameraRoam.clear();
|
|
402
|
-
return;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
waypoints.forEach((w, index) => {
|
|
406
|
-
const li = document.createElement('li');
|
|
407
|
-
li.className = 'view-item';
|
|
408
|
-
|
|
409
|
-
// Format coords for display
|
|
410
|
-
const dest = w.destination;
|
|
411
|
-
const shortPos = `[${dest.x.toFixed(0)}, ${dest.y.toFixed(0)}, ${dest.z.toFixed(0)}]`;
|
|
412
|
-
|
|
413
|
-
li.innerHTML = `
|
|
414
|
-
<div class="info" title="点击跳转">
|
|
415
|
-
<span style="font-weight: 600;">视点 ${index + 1}</span>
|
|
416
|
-
<span style="font-size: 10px; color: #999;">${shortPos}</span>
|
|
417
|
-
</div>
|
|
418
|
-
<div class="actions">
|
|
419
|
-
<button class="btn-del" onclick="removeView(${index})">删除</button>
|
|
420
|
-
</div>
|
|
421
|
-
`;
|
|
422
|
-
|
|
423
|
-
// Click to teleport (preview)
|
|
424
|
-
li.querySelector('.info').onclick = () => {
|
|
425
|
-
if (isPlaying) return;
|
|
426
|
-
viewer.camera.setView({
|
|
427
|
-
destination: new Cesium.Cartesian3(dest.x, dest.y, dest.z),
|
|
428
|
-
orientation: {
|
|
429
|
-
heading: w.orientation.heading,
|
|
430
|
-
pitch: w.orientation.pitch,
|
|
431
|
-
roll: w.orientation.roll,
|
|
432
|
-
},
|
|
433
|
-
});
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
viewListEl.appendChild(li);
|
|
437
|
-
});
|
|
438
|
-
countText.innerText = '视点: ' + waypoints.length;
|
|
439
|
-
|
|
440
|
-
// Update 3D Preview
|
|
441
|
-
updatePreview();
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
window.removeView = (index) => {
|
|
445
|
-
if (isPlaying) return;
|
|
446
|
-
waypoints.splice(index, 1);
|
|
447
|
-
renderList();
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
// Add Current View
|
|
451
|
-
document.getElementById('btnSaveView').onclick = () => {
|
|
452
|
-
const w = cameraRoam.captureCurrentView();
|
|
453
|
-
waypoints.push(w);
|
|
454
|
-
renderList();
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
// Playback Controls
|
|
458
|
-
btnToggle.onclick = () => {
|
|
459
|
-
if (!isPlaying) {
|
|
460
|
-
// Start
|
|
461
|
-
if (waypoints.length < 2) {
|
|
462
|
-
alert('至少需要2个视点才能开始漫游');
|
|
463
|
-
return;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
const speed = Number(document.getElementById('inpSpeed').value) || 500;
|
|
467
|
-
const modelUrl = document.getElementById('inpModelUrl').value.trim();
|
|
468
|
-
const modelScale = Number(document.getElementById('inpScale').value) || 1.0;
|
|
469
|
-
const showPath = document.getElementById('chkShowPath').checked;
|
|
470
|
-
const showStops = document.getElementById('chkShowStops').checked;
|
|
471
|
-
|
|
472
|
-
cameraRoam.start({
|
|
473
|
-
waypoints: waypoints,
|
|
474
|
-
speed: speed,
|
|
475
|
-
modelUrl: modelUrl || undefined,
|
|
476
|
-
modelScale: modelScale,
|
|
477
|
-
modelAnimate: modelAnimate,
|
|
478
|
-
showPath: showPath,
|
|
479
|
-
showStops: showStops,
|
|
480
|
-
loop: false,
|
|
481
|
-
onComplete: () => {
|
|
482
|
-
statusText.innerHTML = '状态: <span class="status-value">完成</span>';
|
|
483
|
-
isPlaying = false;
|
|
484
|
-
isPaused = false;
|
|
485
|
-
btnToggle.innerText = '▶';
|
|
486
|
-
btnToggle.title = '开始';
|
|
487
|
-
},
|
|
488
|
-
});
|
|
489
|
-
|
|
490
|
-
isPlaying = true;
|
|
491
|
-
btnToggle.innerText = '⏸';
|
|
492
|
-
btnToggle.title = '暂停';
|
|
493
|
-
statusText.innerHTML = '状态: <span class="status-value">飞行中</span>';
|
|
494
|
-
} else {
|
|
495
|
-
// Pause/Resume
|
|
496
|
-
if (isPaused) {
|
|
497
|
-
cameraRoam.resume();
|
|
498
|
-
isPaused = false;
|
|
499
|
-
btnToggle.innerText = '⏸';
|
|
500
|
-
statusText.innerHTML = '状态: <span class="status-value">飞行中</span>';
|
|
501
|
-
} else {
|
|
502
|
-
cameraRoam.pause();
|
|
503
|
-
isPaused = true;
|
|
504
|
-
btnToggle.innerText = '▶';
|
|
505
|
-
statusText.innerHTML = '状态: <span class="status-value">已暂停</span>';
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
};
|
|
509
|
-
|
|
510
|
-
document.getElementById('btnStop').onclick = () => {
|
|
511
|
-
cameraRoam.stop();
|
|
512
|
-
cameraRoam.clear();
|
|
513
|
-
isPlaying = false;
|
|
514
|
-
isPaused = false;
|
|
515
|
-
btnToggle.innerText = '▶';
|
|
516
|
-
statusText.innerHTML = '状态: <span class="status-value">已停止</span>';
|
|
517
|
-
};
|
|
518
|
-
</script>
|
|
519
|
-
</body>
|
|
520
|
-
</html>
|