clearShapes();
The clearShapes method clears the list of map areas in the current layer.
The example of method use is given in the page with description of the MapLayer.addShape method.
See also:
MapLayer