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 uavSize = 8; // 无人机大小
window.mapConfig = {
isCamera: isCamera,
cameraLon: cameraLon,
@ -18,5 +20,6 @@ window.mapConfig = {
allPositionLat: allPositionLat,
allPositionAlt: allPositionAlt,
allPositionPitch: allPositionPitch,
currTime: currTime
currTime: currTime,
uavSize: uavSize
};

View File

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