clearPaper();
The clearPaper method clears map.
The method can be used only for maps with SVG topobase.
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: