animate(step: Number);
step. Relation of required animation duration to its total animation duration. Available values are from 0 to 1 inclusive.
The animate method plays animation of arrow on the map.
To execute the example HTML page must contain the object of the PP.MapArrowBase type (see the MapFilledArrow Constructor page) named mapArrow. Play animation of the arrow which duration is a half of its total animation duration:
mapArrow.animate(0.5);
As a result of executing the example, arrow animation is played for the half time period of its total duration.
See also: