← 返回
开发者工具 中文

cesium

Build, debug, and optimize CesiumJS 3D globe apps, including viewer setup, terrain/imagery, 3D Tiles, GeoJSON/CZML loading, camera control, picking, entity s...
构建、调试和优化 CesiumJS 三维地球仪应用,包括视图设置、地形/影像、3D Tiles、GeoJSON/CZML 加载、相机控制、拾取、实体系统。
jvy
开发者工具 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 575
下载
💾 43
安装
1
版本
#latest

概述

Cesium

Implement CesiumJS solutions with minimal assumptions and production-safe defaults.

Workflow

  1. Confirm runtime assumptions first: framework (vanilla/Vite/React), CesiumJS version, and whether Cesium Ion is available.
  2. Start with the smallest runnable viewer setup before adding terrain, 3D Tiles, or heavy data layers.
  3. Keep token handling out of source code; use environment variables and project config wiring.
  4. Add data layers incrementally and verify camera framing after each step.
  5. For rendering/perf issues, reduce scene complexity first, then tune request/render settings.

Implementation guardrails

  • Prefer explicit imports from cesium and avoid hidden globals.
  • Use requestRenderMode for mostly static scenes to reduce GPU/CPU usage.
  • Dispose resources in teardown paths (viewer.destroy()) in SPA route changes/unmounts.
  • For large datasets, prefer 3D Tiles over huge entity collections when possible.
  • Keep picking logic resilient: handle undefined picks and mixed primitive/entity results.

Debugging checklist

  • Blank globe: verify CSS container height/width and render loop not blocked.
  • Missing terrain/tiles: verify network access, token, and dataset permissions.
  • Misplaced data: verify CRS and coordinate order (lon, lat, height).
  • Memory/GPU pressure: profile number of entities/primitives and texture-heavy layers.

Reference docs in this skill

  • Read {baseDir}/references/patterns.md when generating or fixing Cesium code.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 00:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,933
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,758
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,966