1. A concise explanation of the problem you're experiencing.
I want to draw a polyline and apply both the PolylineArrow and PolylineDashed materials to it, so i end up with a dashed arrow.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
var arrowColor = Cesium.Color.fromCssColorString(style.lineColor);
arrow = new Cesium.PolylineArrowMaterialProperty(arrowColor);
//how can i combine arrow material with dashed material?
var polyline = this._viewer.entities.add({
name: 'DrawArrow'
polyline : {
positions : positions,
width : style.lineWidth,
material : arrow
}
});
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I want to draw an arrow with a dashed line.
4. The Cesium version you're using, your operating system and browser.
Cesium 1.35.1 , we may be updating to 1.41 soon