EaxMdService.MapDataLoaded

Syntax

MapDataLoaded: function (sender, args);

Parameters

sender. Event source.

args. Event information. Available arguments: Args - express report document, ResponseText - text sent by the server in response to this event.

Description

The MapDataLoaded event occurs after loading express report map.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component), and the Map view must be loaded to the working area. Handle the MapDataLoaded event:

// Get service to work with express report
var eaxMdService = expressBox.getService();
// Handle the ChartDataLoaded event
eaxMdService.MapDataLoaded.add(function () {
    console.log("Express report map is loaded.")  
});
// Call the MapDataLoaded event
eaxMdService.MapDataLoaded.fire(this);

After executing the example after the MapDataLoaded event occurs, the browser console displays a message that the express report map is loaded.

See also:

EaxMdService