WebGIS航线编辑器(无人机航线规划)

无人机航点、航线规划,实现全自动航点飞行作业及飞行航拍。禁飞区、作业区功能保障飞行安全。

GIS引擎加载

const viewer = new Cesium.Viewer("cesiumContainer", {

imageryProvider: new Cesium.IonImageryProvider({ assetId: 3872 }),

});

const imageryLayers = viewer.imageryLayers;

const nightLayer = imageryLayers.get(0);
const dayLayer = imageryLayers.addImageryProvider(
new Cesium.IonImageryProvider({
assetId: 3875,
})
);
imageryLayers.lowerToBottom(dayLayer);

GIS航线

多相机联动

GIS多相机联动

航线加载

复制代码
const czml = [
  {
    id: "document",
    name: "CZML Geometries: Polyline",
    version: "1.0",
  },
  {
    id: "redLine",
    name: "Red line clamped to terain",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 35, 0, -125, 35, 0],
      },
      material: {
        solidColor: {
          color: {
            rgba: [255, 0, 0, 255],
          },
        },
      },
      width: 5,
      clampToGround: true,
    },
  },
  {
    id: "blueLine",
    name: "Glowing blue line on the surface",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 37, 0, -125, 37, 0],
      },
      material: {
        polylineGlow: {
          color: {
            rgba: [100, 149, 237, 255],
          },
          glowPower: 0.2,
          taperPower: 0.5,
        },
      },
      width: 10,
    },
  },
  {
    id: "orangeLine",
    name:
      "Orange line with black outline at height and following the surface",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 39, 250000, -125, 39, 250000],
      },
      material: {
        polylineOutline: {
          color: {
            rgba: [255, 165, 0, 255],
          },
          outlineColor: {
            rgba: [0, 0, 0, 255],
          },
          outlineWidth: 2,
        },
      },
      width: 5,
    },
  },
  {
    id: "purpleLine",
    name: "Purple arrow at height",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 43, 500000, -125, 43, 500000],
      },
      material: {
        polylineArrow: {
          color: {
            rgba: [148, 0, 211, 255],
          },
        },
      },
      arcType: "NONE",
      width: 10,
    },
  },
  {
    id: "dashedLine",
    name: "Blue dashed line",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 45, 500000, -125, 45, 500000],
      },
      material: {
        polylineDash: {
          color: {
            rgba: [0, 255, 255, 255],
          },
        },
      },
      width: 4,
    },
  },
];

const dataSourcePromise = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSourcePromise);

感兴趣的可以留言或发邮件 1985692469@qq.com,欢迎一起交流!

相关推荐
翻滚吧键盘8 分钟前
vue绑定一个返回对象的计算属性
前端·javascript·vue.js
秃了也弱了。27 分钟前
Chrome谷歌浏览器插件ModHeader,修改请求头,开发神器
前端·chrome
乆夨(jiuze)1 小时前
记录H5内嵌到flutter App的一个问题,引发后面使用fastClick,引发后面input输入框单击无效问题。。。
前端·javascript·vue.js
忧郁的蛋~1 小时前
HTML表格导出为Excel文件的实现方案
前端·html·excel
小彭努力中1 小时前
141.在 Vue 3 中使用 OpenLayers Link 交互:把地图中心点 / 缩放级别 / 旋转角度实时写进 URL,并同步解析显示
前端·javascript·vue.js·交互
然我1 小时前
别再只用 base64!HTML5 的 Blob 才是二进制处理的王者,面试常考
前端·面试·html
NanLing2 小时前
【纯前端推理】纯端侧 AI 对象检测:用浏览器就能跑的深度学习模型
前端
呆呆的心2 小时前
前端必学:从盒模型到定位,一篇搞定页面布局核心 🧩
前端·css
小飞悟2 小时前
前端高手才知道的秘密:Blob 居然这么强大!
前端·javascript·html
小old弟2 小时前
用Sass循环实现炫彩文字跑马灯效果
前端