Clamped polygons dissapear in 2D view

When I add a GeoJson data source to the viewer with polygons and use the “clampToGround” option, it looks great in 3D and Columbus views. But when I switch to 2D view, the polygons dissapear from view. I went to the Sandcastle Ground Clamping demo and I noticed that the same thing happens with Corridor, Polygon, Rectangle and Draw Model. It works with Point with Label and Billboard though.

Is this a bug or a feature?

Thank you,

Ricardo

Hello Ricardo

Thanks for reporting this, I hadn’t noticed that before. I’ve filed a bug report on our GitHub and linked to your forum post so we can give you an update when it’s fixed: https://github.com/AnalyticalGraphicsInc/cesium/issues/5075

Best,

Hannah

Hello Ricardo, This has been fixed in master and it will be available in the 1.32 release coming out on April 3rd.

Best,

Hannah

Thank you! You guys are awesome!

Ricardo