How to import latest Cesium in Observable?

I’m having troubles importing this script via require: CesiumJS Demo / gena | Observable.

Observable basically returns a single decode() function.

One of previous version loads correctly, but not after 1.77.

Is there any way to make it work?

General docs for CesiumJS: CesiumJS Quickstart – Cesium

Import it as an ES module:

Cesium = import("https://esm.run/cesium@1.105.2")

Thank you, this way it works!

1 Like

Great to hear! You can mark your topic as solved by clicking the checkbox icon under an answer. :slight_smile: