clearLayer()
The function removes all polygons, lines and symbols of a specific layer of the Maps EWO.
Synopsis
bool clearLayer(int layerId)
Parameter
Parameter | Description |
---|---|
layerId | layer number |
Description
This function is used to remove all polygons, lines and symbols of a specified layer of the Maps EWO. It does not remove the layer itself. The function returns false in case of an error, otherwise true.
Assignment
See also
addEmptyLayer(), getLayerClickEnabled(), getLayerFromName(), getLayerName(), getLayers(), hideLayer(), isLayerVisible(), layerExists(), moveLayerToTop(), removeLayer(), setLayerClickEnabled(), setLayerVisibleRange(), showLayer()