A demo of wind on cesium globe 🌏
A demo of wind on cesium globe 🌏,here is 👉 Live Demo
本项目基于 https://github.com/Esri/wind-js 移植到 Cesium。在二维、三维下均可正常运行。
有关风场动画的运行原理和相关算法请参考 https://github.com/Esri/wind-js 和 https://github.com/cambecc/earth 这两个项目。
git clone https://github.com/vensing/cesium-wind.git
使用 vscode 打开本项目,安装 Live Server
插件,选中 index.html 右键 Open with live server,即自动跳转到默认浏览器加载。
或者也可以放到 web 服务器中,作为静态页面加载。
pointer-events: none;
禁用画布拖动事件否则无法拖拽 Cesium 地图:
#wind{
position: absolute;
top: 0;
left: 0;
z-index: 3;
pointer-events: none;
}