@mapgis/cesium
TypeScript icon, indicating that this package has built-in type declarations

17.4.1 • Public • Published

CesiumJS

Build Status npm Docs

Cesium

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

Built on open formats, CesiumJS is designed for robust interoperability and scaling for massive datasets.


Examples 🌏 Docs 🌎 Website 🌍 Forum 🌏 User Stories


🚀 Get started

Visit the Downloads page to download a pre-built copy of CesiumJS.

npm & yarn

If you’re building your application using a module bundler such as Webpack, Parcel, or Rollup, you can install CesiumJS via the cesium npm package:

npm install cesium --save

Then, import CesiumJS in your app code. Import individual modules to benefit from tree shaking optimizations through most build tools:

import { Viewer } from "cesium";
import "cesium/Build/Cesium/Widgets/widgets.css";

const viewer = new Viewer("cesiumContainer");

In addition to the cesium package, CesiumJS is also distributed as scoped npm packages for better dependency management:

What next?

See our Quickstart Guide for more information on getting a CesiumJS app up and running.

Instructions for serving local data are in the CesiumJS Offline Guide.

Interested in contributing? See CONTRIBUTING.md. ❤️

📗 License

Apache 2.0. CesiumJS is free for both commercial and non-commercial use.

🌎 Where does the Global 3D Content come from?

The Cesium platform follows an open-core business model with open source runtime engines such as CesiumJS and optional commercial subscription to Cesium ion.

CesiumJS can stream 3D content such as terrain, imagery, and 3D Tiles from the commercial Cesium ion platform alongside open standards from other offline or online services. We provide Cesium ion as the quickest option for all users to get up and running, but you are free to use any combination of content sources with CesiumJS that you please.

Bring your own data for tiling, hosting, and streaming from Cesium ion. Using Cesium ion helps support CesiumJS development.

✅ Features

  • Stream in 3D Tiles and other standard formats from Cesium ion or another source
  • Visualize and analyze on a high-precision WGS84 globe
  • Share with users on desktop or mobile

See more in the CesiumJS Features Checklist.

@mapgis/cesium 版本说明

正式版

@mapgis/cesium v17.4.1

  1. 功能新增
  • 修复已知问题,Cesium升级接口增强

正式版

@mapgis/cesium v17.4.0

  1. 功能新增
  • Cesium引擎库由1.84升级至1.122
  • 支持M3D2.1格式的栅格体元数据接入、配色方案设置、时态切换、透明度设置
  1. 功能优化
  • 卷帘分析增加对MaterialAppearance、EllipsoidSurfaceAppearance 类型图元的支持
  • 优化M3D2.0的爆炸分析
  • 优化绘制辅助剖切面(体)后的控制显隐的效果

正式版

@mapgis/cesium v17.2.4

更新说明:

  1. 功能优化
  • 优化模型爆炸后的拾取结果
  • 优化绘制辅助剖切面(体)后的控制显隐的效果

@mapgis/cesium v17.2.3

更新说明:

  1. 功能优化
  • 优化地形场景中积水仿真计算结果
  • 优化地形剖切封边效果

@mapgis/cesium v17.2.2

更新说明:

  1. 功能优化
  • MaterialAppearance、EllipsoidSurfaceAppearance 类型 Appearance 支持卷帘效果

@mapgis/cesium v17.2.1

更新说明:

  1. 功能优化
  • 修复已知问题

@mapgis/cesium v17.2.0

更新说明:

  1. 功能新增
  • 支持加载自定义裁图原点、自定义裁图方向的瓦片服务
  • 可视域分析功能支持可视区域范围量化计算
  • 支持图片标注显示层级高于可视域分析结果
  • 实现多 DEM 服务聚合显示
  • 动态剖切支持按属性筛被剖切的内容
  1. 功能优化
  • 可视域分析效果优化
  • 优化多种场景下拾取世界坐标的结果
  • 优化开启水面倒影时淹没分析的效果
  • 优化动态剖切剖面的拾取效果
  • 优化单体化专题图 renderer 的效果

@mapgis/cesium v17.0.0

更新说明:

  1. 功能新增
  • 支持 MeshOpt 压缩模式
  • 支持接入新版 BIM 模型缓存服务
  • 支持 IGS M3DServer 新特性
  • 支持二维图件与模型融合展示
  • 支持同时进行多个可视域分析
  • 全球风场数据可视化
  • 实现基于无人机场景下的全景图形的拼接与展示
  • 支持接入 M3D2.1 模型缓存服务
  • 行业标绘增加对于贴场景高程模式的支持
  1. 功能优化
  • 优化几何体裁剪效果,支持裁剪区域反转,支持多边形几何体裁剪
  • 优化专题图渲染效果,提升对 Cesium 的样式兼容性

备注:

@mapgis/cesium v17.0.x - v17.2.x 基于官方 Cesium v1.84.0 进行了定制和扩展开发。 @mapgis/cesium v17.4.x 基于官方 Cesium v1.122.0 进行了定制和扩展开发。

Package Sidebar

Install

npm i @mapgis/cesium

Weekly Downloads

18

Version

17.4.1

License

Apache-2.0

Unpacked Size

81 MB

Total Files

1114

Last publish

Collaborators

  • lidafengnpm
  • zhangying_zy
  • parndeedlit
  • gyj12
  • xionglaoda
  • mayuanye
  • c296149548
  • wxl974002443
  • zhangchunzhou
  • wangshuai-ws