MapLayer.animate

Syntax

animate(step: Number);

Parameters

step. Animation share to play. The parameter may have a numeric value between 0 to 1 (inclusive).

Description

The animate method plays animation for the current map layer and its child layers.

Example

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:

MapLayer