MetadataChanged: function (sender, args);
sender. Event source.
args. Event information. Available arguments: Data - array of map settings as JSON objects that have the Name and Value fields.
The MetadataChanged event occurs after data of express report map is changed.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded map in the working area. Handle the MetadataChanged event:
// Get express report map container var mapView = expressBox.getDataView().getMapView(); // Handle the MetadataChanged event mapView.MetadataChanged.add(function (sender, args) { console.log("Express report map data is changed"); });
After executing the example after the MetadataChanged event occurs, the browser console displays a message that data of the express report map is changed.
See also: