cesium-extends
cesium-extends copied to clipboard
CesiumJS 的扩展库,提供事件订阅、大数据geojson加载、geojson样式、tooltip、popup、缩放控制、绘图工具、测量工具、双屏联动、指南针、热力图等功能
cesium-extends 是一个从DDE-Earth中抽离的、用于 CesiumJS 的扩展库,它与前端框架无关,提供了一些常用的功能和组件,方便开发者快速构建 Cesium 应用。
安装
使用 npm 安装:
npm install cesium-extends --save
功能
cesium-extends 提供了以下功能:
- 事件订阅
@cesium-extends/subscriber
- primitive 方式加速渲染 geojson
@cesium-extends/primitive-geojson
- 丰富的 geojson 样式渲染
@cesium-extends/geojson-render
- tooltip
@cesium-extends/tooltip
- 弹出框
@cesium-extends/popup
- 指南针
@cesium-extends/compass
- 缩放控制
@cesium-extends/zoom-control
- 绘图工具
@cesium-extends/drawer
- 测量工具
@cesium-extends/measure
- 双屏联动工具
@cesium-extends/sync-viewer
- 热力图
@cesium-extends/heat
- ...
详细信息及 demo,请参阅 API 文档。
示例
![]() |
![]() |
![]() |
![]() |
License
This project is licensed under the MIT License - see the LICENSE file for details.