getShape (sId);
sId. Area identifier.
The getShape method returns map area by its identifier.
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: