animate(step: Number);
step. Animation share to play. The parameter may have a numeric value between 0 to 1 (inclusive).
The animate method plays animation for the current map layer and its child layers.
Execute the example given in the MapShape.animate method description page, but replace the script line
shape.animate(0.5);
with the following one:
map.getLayer("Regions").animate(0.5);
The result of example execution is the same.
See also: