isRendered ()
The isRendered method determines if the timeline is drawn.
The method returns True if the timeline is rendered, or False if otherwise.
To execute the example the page must contain the MapChart component named map (see Map Layout on HTML Page) for which a timeline is set up (see Example of Timeline Setup). Add a handler of the MapChart.Loaded event:
map.Loaded.add(function ()
{
if (map.getTimeline().isRendered() == true)
{
map.getTimeline().play()
}
})
After executing the example, timeline animation starts after map loading, if this line is drawn.
See also: