2025-04-12 15:15:32 +00:00
|
|
|
const isCamera = false; // 是否开启相机限制
|
2025-04-13 08:23:44 +00:00
|
|
|
const cameraLon = 116.3974; // 相机经度
|
|
|
|
|
const cameraLat = 39.9042; // 相机纬度
|
|
|
|
|
const cameraRadius = 40000; // 相机半径
|
2025-08-20 14:07:33 +00:00
|
|
|
const zoom = 12; // 地图缩放级别
|
2025-04-26 04:18:47 +00:00
|
|
|
const allPositionLon = 117.278262; // 全部防区跳转经度
|
|
|
|
|
const allPositionLat = 39.036963; // 全部防区跳转纬度
|
|
|
|
|
const allPositionAlt = 4000; // 全部防区跳转高度
|
2025-04-18 12:53:01 +00:00
|
|
|
const allPositionPitch = -90; // 全部防区跳转俯仰角
|
2025-04-12 15:15:32 +00:00
|
|
|
|
2025-06-29 12:02:30 +00:00
|
|
|
const currTime = 60; // 左侧无人机消失时间
|
2025-04-26 08:37:01 +00:00
|
|
|
|
2025-05-12 03:47:01 +00:00
|
|
|
const uavSize = 50; // 无人机大小
|
2025-05-19 07:07:43 +00:00
|
|
|
const uaColor = "#ffffff"; // 无人机颜色
|
2025-05-10 06:38:06 +00:00
|
|
|
|
2025-04-12 15:15:32 +00:00
|
|
|
window.mapConfig = {
|
|
|
|
|
isCamera: isCamera,
|
|
|
|
|
cameraLon: cameraLon,
|
|
|
|
|
cameraLat: cameraLat,
|
2025-04-13 08:23:44 +00:00
|
|
|
cameraRadius: cameraRadius,
|
|
|
|
|
allPositionLon: allPositionLon,
|
|
|
|
|
allPositionLat: allPositionLat,
|
|
|
|
|
allPositionAlt: allPositionAlt,
|
2025-08-20 14:07:33 +00:00
|
|
|
zoom: zoom,
|
2025-04-26 08:37:01 +00:00
|
|
|
allPositionPitch: allPositionPitch,
|
2025-05-10 06:38:06 +00:00
|
|
|
currTime: currTime,
|
2025-05-19 07:07:43 +00:00
|
|
|
uavSize: uavSize,
|
2025-08-20 14:07:33 +00:00
|
|
|
uaColor: uaColor,
|
|
|
|
|
vectorLayer: "vec", //白色底图
|
|
|
|
|
ciatorLayer: "cia", //默认注记
|
|
|
|
|
// 地图地址配置
|
|
|
|
|
mapUrl:
|
|
|
|
|
"http://t{0-7}.tianditu.gov.cn/${layerType}_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=${layerType}&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=${tiandituKey}"
|
2025-04-12 15:15:32 +00:00
|
|
|
};
|