# How to import latest Cesium in Observable?

**URL:** <https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980>\
**Category:** Help\
**Created:** [May 26, 2023, 11:13am UTC](https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980 "2023-05-26T11:13:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gena](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/gena/32/291_2.png) [@gena](https://talk.observablehq.com/u/gena)\
**Post date:** [May 26, 2023, 11:13am UTC](https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980/1 "2023-05-26T11:13:58Z")

</div>

I’m having troubles importing this script via require: [CesiumJS Earth Engine Demo / gena | Observable](https://observablehq.com/d/25c9dc57db955383).

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](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/)

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [May 26, 2023, 2:38pm UTC](https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980/2 "2023-05-26T14:38:52Z")

</div>

Import it as an ES module:

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

```

---

<div class="post-metadata">

**Author:** ![gena](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/gena/32/291_2.png) [@gena](https://talk.observablehq.com/u/gena)\
**Post date:** [May 26, 2023, 4:38pm UTC](https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980/3 "2023-05-26T16:38:36Z")

</div>

Thank you, this way it works!

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [May 26, 2023, 6:04pm UTC](https://talk.observablehq.com/t/how-to-import-latest-cesium-in-observable/7980/4 "2023-05-26T18:04:46Z")

</div>

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