Cesium How to draw Polyline using Path positions

Viewed 454

I'm using Cesium.SampledPositionProperty() to draw and interpolate path as given in [Reference1]. I'm achieving to draw a Polyline instead of Path for some reasons. To do that I have added a Polyine object inside the entity, and giving it's positions like:

polyline: {
    positions: position._property._values,
    width: 10,
    material: Cesium.Color.GREEN
}

But not getting success. I want to apply Path's interpolation to the polyline also. Please check the complete effort on Sandcastle link

0 Answers
Related