This commit is contained in:
liqi 2025-05-12 11:47:01 +08:00
parent 7c9935dc7d
commit 90b5c83f9f
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -353,7 +353,6 @@ export function mapUavFiex(options) {
graphicLayer = new mars3d.layer.GraphicLayer({ id: "uavFiex" });
map.addLayer(graphicLayer);
}
if (options.length === 0) {
graphicLayer.remove();
} else {
@ -381,7 +380,7 @@ export function mapUavFiex(options) {
// verticalOrigin: Cesium.VerticalOrigin.BOTTOM
// },
model: {
scale: window.config.uavSize || 8,
scale: window.mapConfig.uavSize || 8,
url: "/uav/scene.gltf",
// 航向
heading: 0,