Draw Polyline with multiple segment with multiple colors.

Hi team,
Can we draw polyline with multiple segments/ multiple colors. I tried to draw polyline with multiple segments it's working fine. I used Cesium.Cartesian3.fromDegreesArrayHeights() API to draw polyline. My requirement is to draw polyline with multiple custom colors(user provide colors). Can you help on this.

Hi there,

Unfortunately, we don’t yet have direct support for this, although it’s on our radar. The work around is to draw individual line segments as polylines for now.


  • Rachel