Draping KML polyline over terrain

Hi -- I'm unsuccessfully trying to drape a simple polyline from KML data over terrain. The line ends up clamped to 2D when in 3D mode (camera pitch > 0).

I'm using the latest Cesium 1.22.1. Have been pouring through old issues that may be related (e.g. https://github.com/AnalyticalGraphicsInc/cesium/issues/2172). Am just checking if I'm missing something or if this is still an open issue?

Here's the Fiddle example:
http://jsfiddle.net/xs2a2qm8/

I’m loading the KML file with:
dataSources.add(Cesium.KmlDataSource.load(‘http://dotfreeride.com/test2.php’));

A simple polyline in the KML data:
<Placemark>
  <LineString>
    <coordinates>
      7.2338038,46.093507 7.2528677,46.0910874
    </coordinates>
  </LineString>
</Placemark>

Hello,

We don’t currently have support for entities on terrain. Tom has been working on adding it though, you can see his progress in this pull request: https://github.com/AnalyticalGraphicsInc/cesium/pull/3903

I think there are just a few things that are keeping it from getting merged into master. We want to make sure that the performance is acceptable.

Best,

Hannah

Thanks Hannah. Will keep an eye on that branch.

I was able to get something decent working with GroundPrimitive polygons, but browser support for it is dodgy right now.

-Dan