How to animate a poyline on a path?

I have a path constructed of an array of locations (latitudes and longitudes) and i want to animate a polyline on that path smoothly. Similar to what Doaram does. I don’t want to use CZML path because i want to do something once each animation frame ends (I want to get notified every time the polyline is updated) and i don’t think i can do that with CZML paths.What should i do to smoothly animate a polyline on a path and also get notified every time the polyline is updated?


You can use a CallbackProperty to update the polyline positions every frame. See the example I posted here:



Does it handle interpolation by itself?