MapShape.clear

Syntax

clear();

Description

The clear method clears map layer area.

Example

To execute the example HTML page must contain the object of the PP.MapShape type (see page with description of the MapShape.Visual) property named mapShape. Clear map layer area and remove the tooltip for it:

function showMapShape(mapShape) {
    mapShape.getToolTip().show();
    mapShape.show();
}
showMapShape(mapShape);

After executing the example the map layer area is cleared and the tooltip is removed:

See also:

MapShape