Polylines not staying in fixed locations

The heights of my KML lines are based off of the ellipsoid, rather than the STK.
How can this be fixed?


  • Peter

Hi Peter,

Try the Cesium KML clamp to ground option: https://cesiumjs.org/Cesium/Build/Documentation/KmlDataSource.html#.load

The limitation here is that your polylines will be replaced with corridors, which won’t stay of fixed size on screen as you move away from them. We don’t yet have support for ground-clamping polylines (has been on our long term road map for a while, but will require more research as its actually a pretty involved problem).

Hope that helps!

  • Rachel