EaxMapView.PropertyChanged

Syntax

PropertyChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information. Available arguments: object of the PP.Mb.Ui.PropertyChangedEventArgs class, containing the following properties: PropertyName - name of the property as an element of the PP.Exp.Ui.ControlType enumeration, Metadata - express report bubble chart settings, TypeUpdateData - type of refreshed data set by means of the PP.Exp.Ui.ViewTypeUpdate enumeration, Callback - callback function.

Description

The PropertyChanged event occurs after selecting the Settings item in the context menu of the 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 have a loaded map in working area of the express report. Handle the PropertyChanged event:

// Get express report map view
var mapView = expressBox.getDataView().getMapView();
// Set handler of the PropertyChanged event
mapView.PropertyChanged.add(function (sender, args) {
    console.log("Changed property: " + args.getPropertyName());
});

After executing the example after the PropertyChanged event occurs (selecting the Settings context menu item) the browser console displays name of the modified property:

Changed property: ShowMaster

See also:

EaxMapView