Does Cesium support the StyleMap and LineStyle KML elements?

When I originally coded my KML file, I had various linestyle elements to make different line segments render in different colours.

Now I’m using StyleMap to render the segrments in a different width when the mouse hovers over them, but the colours are no longer being rendered by Cesium.

Is there a way I can force the colours to still work in Cesium?

Sample file:

http://www.ka72.com/DesktopModules/ka72/TrackDetails/kml.asmx/GetFile?tid=154427

Note if you open the sample file in Google Earth, the segments render in colour.

Here are the relevant extracts from my KML file:

  <Style id="5by10_5style_n">
     <LineStyle>
        <color>FF000000</color>
        <width>2</width>
     </LineStyle>
  </Style>
  <Style id="5by10_5style_h">
     <LineStyle>
        <color>FF000000</color>
        <width>4</width>
     </LineStyle>
  </Style>
  <StyleMap id="5by10_5style">
     <Pair>
        <key>normal</key>
        <styleUrl>5by10_5style_n</styleUrl>
     </Pair>
     <Pair>
        <key>highlight</key>
        <styleUrl>5by10_5style_h</styleUrl>
     </Pair>
  </StyleMap>

[snip]

This is a known issue https://github.com/AnalyticalGraphicsInc/cesium/issues/2770. We’re hoping to have it resolved for the 1.11 release.

Just to clarify, Cesium already supports StyleMap but does not support the highlight style yet (and there’s no ETA on when highlight will be supported).

The color issue you are seeing is a bug and I will hope to have it fixed for 1.11.