EaxMapView.RequestMetadata

Syntax

RequestMetadata: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The RequestMetadata event is generated when no metadata is available in express report chart data source.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see the page Example of Creating the ExpressBox Component) and have a loaded map in the working area. Handle the RequestMetadata event checking if the express report map is loaded:

// Get express report map view
var mapView = expressBox.getDataView().getMapView();
// Handle the RequestMetadata event
mapView.RequestMetadata.add(function () {        
    if (mapView.isLoaded()) {
        console.log("Express report map is successfully loaded.")
    } else {
        console.log("Express report map is not loaded.")      
    }
});

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

See also:

EaxMapView