MapChangedData: Object
The MapChangedData property contains changed data of the express report view named Map.
Use JSON or the setMapChangedData method to set the property value, and the getMapChangedData method to get the property value.
This property takes and returns a value as an array of JSON objects with the following fields: Name - name of an express report map setting, Value - setting value.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Before executing this example, open the context menu Settings for the express report map, and in the Color Indicator tab change the grouping method for indicators to Linear. Check if the map data change is fixed:
var eaxAnalyzer = expressBox.getSource(); // Get modified data of express report map var mapChangedData = eaxAnalyzer.getMapChangedData() for (var i = 0; i < mapChangedData.length; i++) { var option = mapChangedData[i]; // Show value of the modified setting console.log(option.Name + ": " + option.Value); }
After executing the example the browser console displays value of the changed map setting:
mapmaster.fillpanel.mode: Linear
See also: