how to add dem on cesium

Dear Mr.Omar,

I created a DEM and loaded it into the ION server. it works fine and shows on top of cesium terrain base map

I want to use the same process through API’s

what is the code to add my DEM on top of cesium terrain? initially, cesium terrain is coming on my globe but I don’t know what function will add my terrain on top

Thank you

Mohammed Kabeer

Hey Mohammad,

Glad to hear your got your DEM into Cesium ion succesfully! If you click the “Open complete code example” in the bottom right of the screen, it’ll show you the code you need to add your terrain to a CesiumJS scene.

Let me know if that helps.