'float' geojson polygon above land surface

Hello CESIUM-DEV community,

I have successfully loaded a geojson polygon into my viewer, but would like to ‘float’ the shape above the land surface. Currently it is on the land surface.

I have seen examples to extrude each entity in the polygon, but this is not the effect I want. I just want to float the 2-d polygon outline above the land surface.

My code so far (with the extrusion (which I dont; really want)):

Instead of extruding, try just setting a height to the polygons:

entity.polygon.height = 200000;


I’ve modified the GeoJSON example on Sandcastle to give the polygons a height instead of an extrude. You can see it here by clicking the “Custom styling” button.