MapChart.clearPaper

Syntax

clearPaper();

Description

The clearPaper method clears map.

Comments

The method can be used only for maps with SVG topobase.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Delete all areas of the map layer with SVG topobase:

map.clearPaper();

After executing the example all areas of map layer are removed:

See also:

MapChart