cesiumjs-viewer-setup

Configure a CesiumJS Viewer with Ion token and scene defaults.

112|16|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/CesiumGS/cesiumjs-skills --skill cesiumjs-viewer-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cesiumjs-viewer-setup
Source: https://github.com/CesiumGS/cesiumjs-skills/tree/main/skills/cesiumjs-viewer-setup
Command: npx skills add https://github.com/CesiumGS/cesiumjs-skills --skill cesiumjs-viewer-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers bootstrap CesiumJS applications by configuring a ready-to-use Viewer, standard widgets, Ion access tokens, and scene defaults for quick start.

Core Features & Use Cases

  • Viewer bootstrap: Create a ready-made Viewer instance with common widgets and defaults.
  • Token and platform configuration: Set Ion tokens and pick platform services (Google Maps / ITwin) as needed.
  • Quick-start templates: Provide starter code for common app setups and scene configurations.

Quick Start

Initialize a new CesiumJS app by creating a Viewer with a container element and setting Ion.defaultAccessToken before any Cesium calls.

Frequently Asked Questions about cesiumjs-viewer-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a CesiumJS viewer with an Ion token?

To bootstrap a CesiumJS viewer, you must set a valid Ion default access token before making any Cesium calls, then initialize the Viewer instance with a specific container element id to render the 3D scene.

What's the best way to set up Cesium Ion tokens for a new web map application?

Setting up Cesium Ion tokens requires configuring the Ion default access token globally before initializing your viewer, which enables platform services like geocoders, terrain, and imagery defaults for your application.

Can I configure Cesium platform services like Google Maps or iTwin during viewer setup?

Yes, you can configure Cesium platform services like Google Maps or iTwin during viewer setup by specifying your preferences alongside the Ion token and scene defaults when bootstrapping the application.

What dependencies do I need to start a CesiumJS 3D map from scratch?

Starting a CesiumJS 3D map from scratch requires a container element id in your web page and a valid Cesium Ion access token to enable default terrain, imagery, and standard widget configurations.

Does the CesiumJS viewer initialization include default widgets and geocoders?

Yes, CesiumJS viewer initialization includes common default widgets and geocoders, allowing you to quickly start visualizing 3D geographic data without manually configuring individual UI components.