refreshView (args: PP.Ui.PropertyChangedEventArgs, notSetSettingsToMaps: Boolean);
args. Map settings.
notSetSettingsToMaps. Indicates that settings will not be applied to express report map. If this parameter is True, settings are not applied to the map, otherwise they are applied. Optional parameter. By default property value is undefined.
The refreshView method adds settings for express report map.
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. Disable express report map zoom:
// Get express report map view var eaxMapView = expressBox.getDataView().getMapView();
// Enable map zoom eaxMapView.refreshView(new PP.Ui.PropertyChangedEventArgs({ PropertyName: 'MapChartSettings', Metadata: [{ Name: "mapmaster.mainpanel.usezoomonwheel", Value: False }] }));
After executing the example express report map zoom is disabled.
See also: