MapChart.setMasterSettings

Syntax

setMasterSettings(arrSettings: Array);

Parameters

arrSettings. Map settings array.

Description

The setMasterSettings method applies specified map settings.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Use the example in the page with description of the MapChart.refreshView method, but replace the script line

map.refreshView(state);

with the following code:

map.setMasterSettings(state.getMetadata());

Method execution result is the same.

See also:

MapChart