SkillsReviewed · CesiumGS

CesiumJS Imagery

CesiumJS Imagery is an assistant skill for developers adding map layers to CesiumJS, but its examples need code review and map-service setup. It targets CesiumJS 1.144 and covers raster imagery providers, layer appearance, split comparisons, time-dependent imagery and imagery draped over 3D Tiles.

Researched 16 Nov 2026

In short.

CesiumJS Imagery is an assistant skill for developers building CesiumJS map layers, but its version-specific examples need adaptation and suitable imagery-service access. It explains how providers fetch image tiles, layers control their appearance and collections determine their order. Coverage includes basemap replacement, split comparisons, time-dependent WMTS and imagery on 3D Tiles. Static inspection reveals an undefined Cesium namespace in the quick start and an inconsistent explanation of the base-layer cutout example. Nothing was executed; compatibility, service availability, rendered results and performance were not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises skills/cesiumjs-imagery at revision 5f4792c09c4496f214ba9679cac6d7b3b014dcdd, whose supplied contents consist of SKILL.md, together with the repository-root LICENSE as a related notice. Other repository skills, CesiumJS implementation code, linked resources and provider terms are outside the supplied evidence. Nothing was executed. Assistant compatibility, endpoint availability, rendered behavior, feature-query results and performance remain unassessed.

The overview

identity

The resource is skills/cesiumjs-imagery/SKILL.md in CesiumGS/cesiumjs-skills. Its metadata names it cesiumjs-imagery and describes when an assistant should use it for imagery-provider configuration, basemap changes, multiple map sources and split comparisons. It is an instruction file with JavaScript examples, rather than a standalone application or an executable CesiumJS extension.

The exact source revision is 5f4792c09c4496f214ba9679cac6d7b3b014dcdd. The original file is available at [https://raw.githubusercontent.com/CesiumGS/cesiumjs-skills/5f4792c09c4496f214ba9679cac6d7b3b014dcdd/skills/cesiumjs-imagery/SKILL.md].

assessment

This is a useful reference for an assistant drafting imagery code in an existing CesiumJS application. Its practical detail includes named-place coordinates, camera heights, light-basemap choices, overlay transparency and provider error handling.

Treat the snippets as starting points requiring review. The document supplies substantial API guidance, but it does not establish that generated code will work unchanged in a particular project. No execution results, performance measurements or assistant-quality comparisons are supplied.

users

The strongest fit is a JavaScript developer using a coding assistant to replace a basemap, combine imagery sources, build a comparison view or display changing raster data. Beginners get explanations of the three main imagery abstractions and concrete framing examples. Experienced developers get provider factories, collection events, feature-query options and tile-discard policies.

The material assumes a CesiumJS development context. It does not teach JavaScript fundamentals or provide a complete application scaffold.

capabilities

The skill documents OpenStreetMap, URL-template, WMS, WMTS, ArcGIS, Bing, Mapbox, Cesium ion and single-image providers. It covers adding, removing and reordering layers; changing opacity and color appearance; split comparisons; rectangular cutouts; color-to-alpha transparency; debugging overlays; and provider errors.

More advanced examples address time-dependent WMTS, imagery draped over 3D Tiles and feature-information queries. These are documented implementation patterns, not demonstrated runtime results.

Using it

requirements

Assistant use requires a host that can load the instruction file; supported hosts and their installation procedures are not specified. Applying its examples requires a CesiumJS application, an HTML viewer container, the necessary Cesium imports and access to the chosen imagery endpoint.

The document targets CesiumJS 1.144. Some examples require credentials or entitlements: ion assets require appropriate access, while Bing, Mapbox and an ArcGIS basemap example show key or token configuration. A complete browser, dependency and older-version compatibility matrix is not provided.

mechanism

The assistant receives domain instructions and code patterns from the Markdown file. In the resulting application, an ImageryProvider obtains raster tile images, an ImageryLayer controls their display and an ImageryLayerCollection orders the layers. The document identifies index 0 as the base layer and describes rendering from bottom to top.

Examples use asynchronous provider factories where appropriate. The assistant drafts or adapts code; CesiumJS and the imagery services perform rendering and tile delivery.

setup

Load the captured SKILL.md using the assistant host's supported mechanism; no particular installation command is established by this file. In the application, prepare the Cesium viewer container, import the required classes and configure a provider appropriate to the available service access.

The quick start uses an OpenStreetMap base and a NASA GIBS overlay, then positions the camera immediately with setView. Its camera call needs import correction in a module-only application. The document disables several widgets for static imagery, but explicitly keeps timeline and animation controls for time-dependent examples.

example

An example task is a top-down comparison over Japan with an OpenStreetMap base and NASA city-lights imagery on the left. The document supplies a Japan camera reference of longitude 138.0, latitude 36.5 and height 2,500,000 metres, with a pitch of minus 90 degrees.

Its split pattern assigns SplitDirection.LEFT to the overlay and sets viewer.scene.splitPosition to 0.5. That describes a fixed halfway comparison. A draggable divider would require additional interface code, which the split example does not supply. This example was not executed.

Assessment & evidence

limitations

The quick start uses named imports but calls Cesium.Cartesian3.fromDegrees without defining a Cesium namespace. In a module-only application, that reference needs an appropriate namespace import or a named Cartesian3 import with an adjusted call. This is a visible code inconsistency, not an observed runtime failure.

The cutout example applies cutoutRectangle to layer 0 while describing imagery beneath it. The same document defines layer 0 as the bottom imagery layer, so the claimed reveal of underlying imagery is not established by that arrangement.

Endpoint availability, feature-query responses and compatibility were not assessed. Performance advice, including typical simultaneous layer counts and filtering-speed claims, has no accompanying measurements.

reasoning

The provider, layer and collection distinction gives developers a clear way to separate source configuration from visual controls and ordering. Coordinate tables and explicit camera placement also address a practical problem: a technically loaded map can still frame the wrong place or make an overlay hard to see.

This structure could reduce repeated API lookup and make assistant requests more precise. Those are inferred benefits; the supplied evidence does not measure productivity or error reduction. Suitability depends on the project's CesiumJS version, provider access and willingness to review snippets.

alternatives

The file points to cesiumjs-viewer-setup for viewer construction and ion setup, and cesiumjs-terrain-environment for globe, terrain and lighting work. Their contents are not supplied, so their completeness and suitability are unknown.

Within this skill, OpenStreetMap and URL-template examples offer approaches that avoid the ion-specific entitlement requirement. Ion examples address tasks using accessible ion assets. These are provider choices rather than demonstrated equivalents in coverage, price or reliability.

evidence

The supplied source contains the complete 21,005-byte SKILL.md and the 11,357-byte repository LICENSE at revision 5f4792c09c4496f214ba9679cac6d7b3b014dcdd. The recorded SHA-256 of SKILL.md is d15c02bee8372505d98267854a202deb6187e2eb8fdbcf6908c34fdbdd657e57.

The skill supports conclusions about its written guidance, examples and visible inconsistencies. The license supports the stated redistribution conditions. Neither file supplies executed results, screenshots, service responses or benchmarks.

Access & freshness

costs

The accompanying Apache 2.0 license grants no-charge, royalty-free copyright permissions for the licensed material. That does not establish the total cost of using a coding assistant, hosting the application or accessing imagery services.

No service prices, usage allowances or billing examples are supplied. Some providers require credentials or entitlements. Public or no-token examples do not establish unlimited free use, so operating costs remain unknown.

rights

The accompanying repository LICENSE supplies Apache License 2.0 terms permitting use, modification and redistribution subject to its conditions. Redistribution requires a license copy; modified files need prominent change notices, and applicable notices must be retained. NOTICE attribution requirements apply if such a file accompanies the work. No separate NOTICE file is supplied here.

The license does not grant general trademark rights and provides the work without warranties. It does not establish rights to third-party map tiles or imagery services. Provider access, attribution and data-use terms require separate confirmation. The captured license is at [https://raw.githubusercontent.com/CesiumGS/cesiumjs-skills/5f4792c09c4496f214ba9679cac6d7b3b014dcdd/LICENSE].

freshness

The source snapshot was captured on 2026-11-16 at 11:12:40.773 UTC. The document labels itself CesiumJS 1.144, attributes WMTS feature-query and OffscreenCanvas support to 1.140+, and describes feature-info fallback for imagery on tilesets as a 1.144 change.

Those version statements come from the skill and were not independently verified. Later repository changes, current service availability and compatibility with other CesiumJS releases are unknown.

actions

Before using the examples, compare the project's CesiumJS API with the documented version, correct the quick-start Cartesian3 reference and review which layer should receive a cutout. Confirm each imagery service's access requirements, attribution and usage limits.

Then validate the intended application behavior: camera framing, visible base and overlay layers, split placement, provider errors and any time controls or feature queries. Measure performance with the actual providers and layer count. These are recommended follow-up steps; none has been completed here.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/cesiumjs-imagery/SKILL.mdselected · checked 2026-11-16