From c06cb61f67a4d8d6d4a42bb1dcf72198ace0f8a7 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 01 Sep 2025 19:12:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/v5.0/5.0.5' into feature/v5.0/5.0.5
---
src/components/map-container/mapContainer.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/map-container/mapContainer.vue b/src/components/map-container/mapContainer.vue
index 839228b..297350b 100644
--- a/src/components/map-container/mapContainer.vue
+++ b/src/components/map-container/mapContainer.vue
@@ -4,9 +4,9 @@
* @LastEditors: shuishen 1109946754@qq.com
* @LastEditTime: 2025-04-28 11:34:40
* @FilePath: \drone-web-manage\src\components\map-container\mapContainer.vue
- * @Description:
- *
- * Copyright (c) 2024 by shuishen, All Rights Reserved.
+ * @Description:
+ *
+ * Copyright (c) 2024 by shuishen, All Rights Reserved.
-->
<template>
<div class="map-container">
@@ -59,7 +59,7 @@
async function initMap () {
if (viewer) return
- publicCesiumInstance = new PublicCesium({ dom: 'viewer-container' })
+ publicCesiumInstance = new PublicCesium({ dom: 'viewer-container',layerMode: 4 })
viewer = publicCesiumInstance.getViewer()
initViewer(viewer)
@@ -105,7 +105,7 @@
// 定位到点位
const points = [[lng, lat]] // 确保格式为二维数组
- flyVisual(points, viewer, 4)
+ flyVisual({ positionsData:points, viewer,multiple: 10 })
}
/**
@@ -160,4 +160,4 @@
width: 100%;
height: 100%;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3