TopobaseLoaded: function(sender, args);
sender. Event source.
args. Event information.
The TopobaseLoaded event is fired after a topobase is loaded.
To execute the example the page must contain the MapChart component named map (see Map Layout on HTML Page).
var topo = map.getTopobase(); // Change topobase at the specified URL topo.changeTopobase(PP.MapChartType.SVG, "/build/demo/lib/SVG/Russia.svg"); // Create an event after topobase is loaded topo.TopobaseLoaded.add(function (sender, args) { alert(topo.isLoaded()) });
After executing the example the topobase has been changed, and a window with the message "true" - topobase is loaded is displayed.
See also: