I have KML files which use a gx:track for the track element, but also a number of elements that highlight different segments of the track in different colors (top speeds etc.)
The KML renders fine in Google Earth, but the styling for the linestrings is not respected by Cesium.
Here’s a sample of a 100m linestring. The element specifies a style called #100mstyle
#100mstyle100m26.668 2:41 AM UTC11clampToGroundgx:drawOrder98</gx:drawOrder>
Earlier on in the file, the #100mstyle is defined thus:FFFFFF00 2 FFFFFF00 4
What I’m expecting is that “normally” the normal style would be applied (100mstyle_n)
In a miracle scenario, Cesium might support hover and then when the mouse hovers over the relevant segment, the _h style is applied (which basically increases the width of the line.)
At the moment, all segments are rendered in white.
I don’t have a whole lot of control over the KML. I could change it for future renders, but the current library of 100,000+ files is already in the format mentioned above. Is there anything wrong with the KML? Or is it just unsupported? And if it is unsupported, can anyone poitn me to the right bit of code so I can try and add support?