This commit is contained in:
liqi 2025-05-10 14:38:06 +08:00
parent 31982ee111
commit 7c9935dc7d
2 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,8 @@ const allPositionPitch = -90; // 全部防区跳转俯仰角
const currTime = 15; // 左侧无人机消失时间 const currTime = 15; // 左侧无人机消失时间
const uavSize = 8; // 无人机大小
window.mapConfig = { window.mapConfig = {
isCamera: isCamera, isCamera: isCamera,
cameraLon: cameraLon, cameraLon: cameraLon,
@ -18,5 +20,6 @@ window.mapConfig = {
allPositionLat: allPositionLat, allPositionLat: allPositionLat,
allPositionAlt: allPositionAlt, allPositionAlt: allPositionAlt,
allPositionPitch: allPositionPitch, allPositionPitch: allPositionPitch,
currTime: currTime currTime: currTime,
uavSize: uavSize
}; };

View File

@ -381,7 +381,7 @@ export function mapUavFiex(options) {
// verticalOrigin: Cesium.VerticalOrigin.BOTTOM // verticalOrigin: Cesium.VerticalOrigin.BOTTOM
// }, // },
model: { model: {
scale: 8, scale: window.config.uavSize || 8,
url: "/uav/scene.gltf", url: "/uav/scene.gltf",
// 航向 // 航向
heading: 0, heading: 0,