npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mapgis/cesium

v17.10.6

Published

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

Readme

Build Status npm Docs

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.

CesiumJS Homepage

CesiumJS Features Checklist

:rocket: Get Started

Visit the Downloads page or use the npm module:

npm install cesium

Have questions? Ask them on the community forum.

Interested in contributing? See CONTRIBUTING.md. :heart:

:snowflake: Mission

Our mission is to create the leading 3D globe and map for static and time-dynamic content, with the best possible performance, precision, visual quality, platform support, community, and ease of use.

:green_book: License

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

:earth_americas: Where Does the 3D Content Come From?

CesiumJS can stream 3D content such as terrain, imagery, and 3D Tiles from the commercial Cesium ion platform and other content sources. You are free to use any combination of content sources with CesiumJS that you please. Using Cesium ion helps support CesiumJS development. :heart:

:clap: Featured Demos

步骤

  1. 安装 nodejs 内网地址:"\192.168.11.11\Share3D\共享工具\编程工具\Web\node-v10.15.3-x64.msi"

  2. 安装依赖库

npm  install
  1. 组织编译
npm run build
  1. 生成合并但未压缩库(自己调试用)
npm run release
  1. 生成 合并压缩混淆(对外发行版)
npm run minifyRelease
  1. 生成说明文档
npm run generateDocumentation
  1. shader 代码中 uniform 变量数量说明
以如下电脑参数为例,使用uniform变量时,整体数量上限约为170,表现为
uniform sampler2D colorTexture;    代表一个uniform变量
uniform float u_factor;            代表一个uniform变量
uniform vec2 u_positionArray[64];  数组长度为64,代表64个uniform变量
使用限制中的uniform变量数量时,170情况下会显现出较明显的卡顿,100~128之间会有一点卡顿,64左右较为正常。

电脑参数如下:
Windows版本:Windows 7 旗舰版
处理器:Inter(R) Core(TM) i5-4590 CPU @3.30GHz 3.30GHz
安装内存(RAM):8.00GB
系统类型:64位操作系统
显示适配器:Inter(R) HD Graphics 4600  /  Oray Display Mirror Driver

@mapgis/cesium 版本说明

正式版

@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.0 基于官方 Cesium v1.84.0 进行了定制和扩展开发。

Beta 版

@mapgis/cesium v17.3.11 更新说明:

更新说明:

修复问题:

  1. fix(26394): M3D 1.0 点云数据设置样式后报错
  2. fix(26647): PTSYB-一张图-3Dtiles 模型压平失效

@mapgis/cesium v17.3.10 更新说明:

更新说明:

修复问题:

  1. fix(26465): JJ-PTSYB-一张图-地下管线场景服务无法显示

@mapgis/cesium v17.3.9 更新说明:

更新说明:

修复问题:

  1. fix(25781): JJ-PTSYB-一张图-更新 cesium 后三维模型无法显示

@mapgis/cesium v17.3.8 更新说明:

更新说明:

修复问题:

  1. fix(24702):修复 ViewportQuad 与 GroundPrimitive 同时使用时被裁剪的问题
  2. fix(25509): 修复 CuttingTool 无法剖切 3D Tiles 的问题

@mapgis/cesium v17.3.7 更新说明:

更新说明:

修复问题:

  1. fix(24142): M3D 1.0 的 M3D 服务与 SceneServer 部分数据无法解析
  2. fix(24495): M3D 后处理 czm_selected 拾取方法失效
  3. fix(24702): 绘制 ViewportQuad 对象时,GroundPrimitive 被裁剪现象

@mapgis/cesium v17.3.6 更新说明:

更新说明:

更新需求:

  1. feat(2753): 完善 igs 服务中 layerInfo 路径获取逻辑

修复问题:

  1. fix(23785): 修复栅格体元渲染卡死问题;提升数据精度,缓解渲染缺失问题;

@mapgis/cesium v17.3.5 更新说明:

更新说明:

修复问题:

  1. fix(6983): JJ-DK-unionClippingRegions 为 true 时 cutTool.createModelCuttingPolygon 动态剖切封闭侧面异常。

@mapgis/cesium v17.3.4 更新说明:

更新说明:

更新需求:

  1. feat(2753):可视化-支持栅格体元数据,栅格体元前端绘制,增强适配。

@mapgis/cesium v17.3.3 更新说明:

更新说明:

更新需求:

  1. feat(2753): 可视化-支持栅格体元数据,栅格体元前端绘制

@mapgis/cesium v17.3.2 更新说明:

更新说明:

更新需求:

  1. feat(2778): 优化获取地形高程的回调函数调用位置

@mapgis/cesium v17.3.1 更新说明:

修复问题:

  1. fix(6643): 解决瓦片属性内容重复发送请求的问题
  2. fix(6640): DK-PolygonGeometry 开启卷帘无效

@mapgis/cesium v17.3.0 更新说明:

更新需求:

  1. feat(2778): 地形开挖工具采样插值方法由点的个数修改为距离

修复问题:

  1. fix(6632): 地形剖切封边,无法封闭场景图层中的地形图层.

@mapgis/cesium v17.1.19 更新说明:

修复问题:

  1. fix(6300): PTSYB-坡向分析,箭头从低处往高处指

@mapgis/cesium v17.1.18 更新说明:

修复问题:

  1. fix(6232): 修复隐藏三维球体时,getCartesian3Position 方法无法返回正确点坐标的问题

@mapgis/cesium v17.1.17 更新说明:

修复问题:

  1. fix(6274): PTSYB-添加 Graphic 时如果离模型太近会卡死

@mapgis/cesium v17.1.16 更新说明:

修复问题:

  1. fix(6232): PTSYB-测量工具选点时会出现点击后不响应的情况
  2. fix(6255): PTSYB-爆炸分析勾选其他模型或者重新勾选功能失效

@mapgis/cesium v17.1.15 更新说明:

更新需求:

  1. feat(2917): DK-前端动态剖切支持按属性筛被剖切的内容

修复问题:

  1. fix(6199): 解决单体化专题图设置 renderer 失效的问题
  2. fix(6214): 优化 M3D 2.0 属性的数字强制转换逻辑
  3. fix(6232): PTSYB-测量工具选点时会出现点击后不响应的情况

@mapgis/cesium v17.1.14 更新说明:

修复问题:

  1. fix(5580): DK-新版缓存模型加载后卡住
  2. fix(6190): PTSYB-天际线分析加载长时间没有结果

@mapgis/cesium v17.1.13 更新说明:

更新需求:

  1. feat(2917): DK-前端动态剖切支持按属性筛被剖切的内容

修复问题:

  1. fix(6018): JJ-SZ-在 6240*2160 的大屏下,同时加载天地图和矢量瓦片,天地图加载卡顿很严重
  2. fix(6092): 一张图:剖面分析--交互线颜色体现不出来
  3. fix(6162): 剖面分析-分析后没结果,提示正在分析中,请稍等
  4. fix(6171): PTSYB-场景漫游:设置的参数重新播放时,没有按当前参数显示, 仍是默认回到初始状态
  5. fix(6189): PTSYB-地形管理打开后,选择地形显示错误

@mapgis/cesium v17.1.12 更新说明:

修复问题:

  1. fix(5952): 解决 Viewer.getCartesian3Position 方法在 SCENE2D 模式和 COLUMBUS_VIEW 模式下无法准确拾取点坐标的问题
  2. fix(6037): 解决 水面反射洪水淹没上涨速度与实际不符的问题

@mapgis/cesium v17.1.11 更新说明:

修复问题:

  1. fix(6081): 解决 M3D 2.1 未生成.att 属性文件时无法使用 tid 进行高亮拾取问题

@mapgis/cesium v17.1.10 更新说明:

修复问题:

  1. fix(5977): 修复 DK-切换方向光之后阴影分析结果异常
  2. fix(6059): 解决 M3D 2.1 加载 I3DM 无法正常加载的问题

@mapgis/cesium v17.1.9 更新说明:

修复问题:

  1. feat(5952):PTSYB-倾斜模式和平面模式开启测量工具,所有测量起点默认在马尔代夫附近,且有时不显示选点过程中的线

@mapgis/cesium v17.1.8 更新说明:

更新需求:

  1. feat(2595):优化功能 DK-前端支持加载自定义原点位置的 MapGIS 瓦片服务及 ArcGIS 瓦片服务

@mapgis/cesium v17.1.7 更新说明:

修复问题:

  1. fix(5996): JJ-SZ-Billboard 避让一开始不能显示图标,必须要移动地图或进行缩放图片才显示

@mapgis/cesium v17.1.6 更新说明:

更新需求:

  1. 在前端实现多 DEM 服务图层的显示(编号 2583)
  2. ArcGisMapServerImageryProvider 增加 headers 和 extensions 参数

修复问题:

  1. 新增修改可视域分析辅助视锥网颜色的接口(编号 5942)
  2. 解决新版缓存模型加载后卡住的问题(编号 5580)
  3. PTSYB-倾斜模式和平面模式开启测量工具,所有测量起点默认在马尔代夫附近,且有时不显示选点过程中的线(编号 5952)

@mapgis/cesium v17.1.5 更新说明:

修复问题:

  1. 修复扫描项目漏洞扫问题
  2. 优化移除压平分析区的逻辑 (编号 5866)

@mapgis/cesium v17.1.4 更新说明:

更新需求:

  1. 添加可视域分析右键视角旋转防抖(编号 2972)
  2. 添加支持自定义原点、裁图方向、非二次幂的裁图(编号 2595)
  3. 优化可视域区域抖动相关问题 (编号 2972)
  4. 新增可视域分析结果自定义渲染通道功能(编号 3080)

修复问题:

  1. DK-【OGC WFS 加载】单个要素的 WFS 服务跳转不显示 (编号 5668)
  2. DK-地质体动态剖切得到的剖面无法进行属性拾取(编号 5723)
  3. 优化阴影率分析 sunLightEffect 方法
  4. 解决 3DTiles 无法接受场景投射阴影问题(编号 5873)
  5. 解决根据 ID 进行模型压平失效问题(编号 5866)

@mapgis/cesium v17.1.2 更新说明:

修复问题:

  1. J-PTSYB-M3D 专题图无法根据 OID 设置正确效果(编号 5795)

@mapgis/cesium v17.1.1 更新说明:

更新需求:

  1. 解决主相机或可视相机结果纹理未生成时进行可视域分析异常的问题(编号 2972)