I'm trying to get description of polyline in InfoBox when user clicks on polyline. Here is the code:
var orangeLine = viewer.entities.add({
name : 'Orange line on the surface',
polyline : {
description: 'TEST',
positions : Cesium.Cartesian3.fromDegreesArray(array_of_coordinates2),
width : 3,
material : Cesium.Color.ORANGE
}
});
Cesium draws orange polyline, but when i click on it, only 'Orange line on the surface is shown' without 'TEST' in InfoBox.
Help please.
Thank you in front!