geojson with clampToGround draping over 3d tilesets

42 views
Skip to first unread message

Dag Wastberg

unread,
Sep 19, 2019, 8:18:31 AM9/19/19
to cesium-dev
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

Omar Shehata

unread,
Sep 19, 2019, 11:55:47 AM9/19/19
to cesium-dev
Yes, you can control this by setting the classification type. See this code example:


Let me know if that helps!

Dag Wastberg

unread,
Sep 20, 2019, 8:53:11 AM9/20/19
to cesium-dev
Perfect!  That fixed it

Thanks 
Reply all
Reply to author
Forward
0 new messages