How ms010209/angular-cesium-test works
AngularTest is a browser-based Cesium globe application. The user opens the map and can inspect coordinates or invoke distance, area, and radius measurements; the component also initializes terrain and exposes map controls and status information. Most behavior is concentrated in one component, so its domain responsibilities are shown as separate nodes sharing that source path. The excerpts show the measurement and viewer behavior, but not the full template or all control implementations.
Main entry points: app.component.ts Cesium viewer · app.routes.ts Root route · main.ts App bootstrap · app.config.ts Router config
Components 15
Application startup
- App bootstrap
src/main.ts - Root route
src/app/app.routes.ts - Router config
src/app/app.config.ts - Cesium settings
src/environments/environment.ts
Globe interaction
- Map screen
src/app/app.component.ts - Cesium viewer
src/app/app.component.ts - Coordinate probe
src/app/app.component.ts - Map controls
src/app/app.component.ts - Map status
src/app/app.component.ts
Map tools
- Distance measure
src/app/app.component.ts - Area measure
src/app/app.component.ts - Radius measure
src/app/app.component.ts
Other components
- Map user
- Cesium library
- World terrain
Connections 19
- App bootstrap → Map screen: bootstraps
src/main.ts - Router config → Root route: provides routes
src/app/app.config.ts - Root route → Map screen: routes to
src/app/app.routes.ts - Map user → Map screen: opens
- Map screen → Cesium viewer: initializes
src/app/app.component.ts - Cesium viewer → Cesium library: uses
src/app/app.component.ts - Cesium viewer → World terrain: requests terrain
src/app/app.component.ts - Cesium settings → Map screen: provides settings
src/app/app.component.ts - Map user → Coordinate probe: moves pointer
- Coordinate probe → Cesium viewer: picks position
src/app/app.component.ts - Map user → Distance measure: selects measure
- Map user → Area measure: selects measure
- Map user → Radius measure: selects measure
- Distance measure → Cesium viewer: adds entities
src/app/app.component.ts - Area measure → Cesium viewer: adds entities
src/app/app.component.ts - Radius measure → Cesium viewer: adds entities
src/app/app.component.ts - Map user → Map controls: uses controls
- Map controls → Cesium viewer: moves camera
src/app/app.component.ts - Map status → Cesium viewer: reads scale
src/app/app.component.ts