Every time I run:
new Cesium.Viewer(‘cesiumContainer’)
I get the same error: DeveloperError: Element with id “cesiumContainer” does not exist in the document.
Is there an easy fix that I am overlooking?
Every time I run:
new Cesium.Viewer(‘cesiumContainer’)
I get the same error: DeveloperError: Element with id “cesiumContainer” does not exist in the document.
Is there an easy fix that I am overlooking?
What does your HTML look like? It’s looking for an element with the id=“cesiumContainer” and saying it doesn’t find one.
Cheers,
Alex
Thank you for the response. Cesium plays differently with a React front end, but I was able to figure it out.