cesiumjs-camera
CesiumJS Camera & Navigation
Baseline: CesiumJS v1.139 -- ES module imports (
import { ... } from "cesium";)
Camera Fundamentals
Access via viewer.camera. The camera has a position (Cartesian3 in world
coords), orientation vectors (direction, up, right), and a frustum.
All angles are radians.
Read-only computed properties: positionWC, positionCartographic,
directionWC, upWC, rightWC, heading (0 = north, clockwise), pitch
(negative = down), roll, transform, viewMatrix, inverseViewMatrix.
Events: moveStart / moveEnd fire when movement begins/ends. changed
fires when the camera moves by more than percentageChanged (default 0.5).
City views need 3D buildings. For skyline, street-level, or urban panorama views, add
Cesium.createOsmBuildingsAsync()(or Google Photorealistic 3D Tiles). Without 3D Tiles, cities render as flat satellite imagery -- no
More from cesiumgs/cesiumjs-skills
using-cesiumjs-skills
Use when starting any conversation involving CesiumJS development - provides orientation on available domain skills and how they activate
15cesiumjs-spatial-math
CesiumJS spatial math - Cartesian3, Cartographic, Matrix4, Quaternion, Transforms, Ellipsoid, BoundingSphere, projections, coordinate conversions. Use when converting between coordinate systems, computing positions on the ellipsoid, performing spatial intersection tests, building model matrices, or working with geographic projections.
15cesiumjs-viewer-setup
CesiumJS viewer setup - Viewer, CesiumWidget, widgets, Ion token, Scene configuration, SceneMode, factory helpers, geocoders, platform services. Use when initializing a CesiumJS application, configuring viewer widgets, setting Ion access tokens, creating default terrain or imagery, or bootstrapping a 3D globe.
15cesiumjs-imagery
CesiumJS imagery layers - ImageryProvider, ImageryLayer, ImageryLayerCollection, WMS, WMTS, Bing, OpenStreetMap, ArcGIS, Mapbox, tile discard policies. Use when adding or swapping base map layers, configuring imagery providers, layering multiple map sources, or creating split-screen imagery comparisons.
14cesiumjs-core-utilities
CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper functions, feature detection. Use when fetching remote data, managing HTTP requests, working with colors, handling events, debugging errors, or using utility functions like defined, clone, or buildModuleUrl.
14cesiumjs-primitives
CesiumJS primitives and geometry - Primitive, GeometryInstance, Appearance, Billboard/Label/PointPrimitive collections, built-in geometry shapes, ground primitives, classification. Use when rendering performance-critical static geometry, creating custom shapes, batching draw calls, or using low-level billboard, label, and point collections.
14