MapChart.AnimationEnabled

Syntax

AnimationEnabled: Boolean;

Description

The AnimationEnabled property enables and disables map animation.

Comments

Property value is set from JSON or using the setAnimationEnabled method. Default property value is True if an SVG map is loaded, otherwise it is False.

When the property value is True, map animation is played, otherwise it is not.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Disable animation in the map by executing the following code string in the browser console:

map.setAnimationEnabled(false);

After executing the example map animation is disabled. To make sure, click the button that plays timeline animation. As the result the map is rendered without smooth transitions.

See also:

MapChart