PolygonGraphics not rendering

i am trying to generate a simple polygon inside an entity from a set of coordinates and it does not render.
The same coordinates generate some points which render quite fine.
Here is the Sandcastle Link.
Any ideas what went wrong?

Thank you!

It looks like the polygon heirarchy you pass in to the polygon needs to be an instance of PolygonHierarchy, not just an array. Here’s a fixed example.

PolygonHierarchy doc: