I uploaded the layer to the map as geojson and then uploaded the 3dMesh.
However, the geojson layer is not on the ground and is above the ground.
Is it possible to anchor geojson to the ground?
Hi @11167 ,
Thanks for your post.
If you are loading the GeoJSON layer with the GeoJsonDataSource
class, it will be loaded as an entity. You can see how to load the data source and access the entity information for the GeoJSON in this sandcastle example Cesium Sandcastle
You can clamp an entity to the ground by setting
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND
as demonstrated in this sandcastle example Cesium Sandcastle
Please let us know is this works for you and if we can answer any additional questions.
Best,
Luke