I wonder how to animate a polylines when time changes.
For instance, one polyline is consist of a set of points P, when time1, polyline => p1 and p2; when time2, polyline => p1, p2, p3, …, and finally, polyline will be pn-1, pn. I have tried path with czml, the points of path only can be increased, but decreased. And now, i use Primitives to draw a polyline with texture, but i don’t see any api about updating geometry of Primitives, so i have to clear all Primitives of previous time and draw them all of next time to simulate an animation. The result is, when more polylines appear, polylines will flash seriously…
Therefore, i wonder how to update a Primitive with geometry, or other plans to animate lots of polylines. It would be better with some sample code~