Background: PP.Brush
The Background property selects a brush for map background.
Example execution requires an HTML page that contains the MapChart component named map, XML file that contains map settings and Russia.svg topobase.
Map background can be changed in two ways:
Set a brush as the value:
map.setBackground(new PP.SolidColorBrush({Color: "fff000"}));
Set an HTML format color as the value:
map.setBackground("fff000");
After executing this example map background color changes to yellow.
See also: