I’m getting an error creating a RectangleGeometry. Has anyone ever seen this?
DataCloneError: Failed to execute ‘postMessage’ on ‘Worker’: An object could not be cloned.
Error: Failed to execute ‘postMessage’ on ‘Worker’: An object could not be cloned.
I’m specifying a Rectangle, vertexFormat and stRotarion. Pretty much the same RectangleGeometry in the Geometry and Appearances demo.
Scott
I figured it out. I was creating a new vertexFormat instead of using Cesium.EllipsoidSurfaceAppearance.VERTEX_FORMAT.
Hi Scott,
I am trying to draw PolygonGeometry on Cesium Map. I am also facing the same DataCloneError what you get in RectangleGeometry. I used the Cesium.EllipsoidSurfaceAppearance.VERTEX_FORMAT while creating PolygonGeometry.
Could you please help me in which case we get this error in Cesium.
Thanks,
Raghu.