MapChart.Background

Syntax

Background: PP.Brush

Description

The Background property selects a brush for map background.

Example

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:

map.setBackground(new PP.SolidColorBrush({Color: "fff000"}));

map.setBackground("fff000");

After executing this example map background color changes to yellow.

See also:

MapChart