geojson with clampToGround draping over 3d tilesets

When adding a geojson polygon to a scene with clamp to ground set to true it drapes itself over all 3d tilesets already added to the scene. Is there a way to make it drape only over the terrain and not over all 3d entities in the scene?

Dag

Yes, you can control this by setting the classification type. See this code example:

https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Classification%20Types.html

Let me know if that helps!

Perfect! That fixed it

Thanks