pauseTimeline();
The pauseTimeline method pauses timeline animation.
To execute the example the page must contain the MapChart component named map (see Example of Creating the MapChart Component).
// Process the TimelineStepChanged event
map.TimelineStepChanged.add(function (sender, args) {
map.pauseTimeline();
});
After executing the example on timeline step change, timeline animation is paused.
See also: