MapChart.getShape

Syntax

getShape (sId);

Parameters

sId. Area identifier.

Description

The getShape method returns map area by its identifier.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component).

map.getShape("RU-LEN").getToolTip().setBackground(new PP.SolidColorBrush({Color:"Yellow"}));

After executing the example, yellow background color is set for the tooltip of Leningrad region.

See also:

MapChart