hideLayer()
This function hides a layer of the Maps EWO.
Synopsis
bool hideLayer(int layerId)
Parameter
Parameter | Description |
---|---|
layerId | layer number. |
Description
This function is used to hide a specified layer and all its symbols, polygons and lines. It returns false in case of an error.
Example
Add a layer and hide it.
int iLayer = Maps_ewo1.addEmptyLayer("New Layer");
...
Maps_ewo1.hideLayer(iLayer);
Assignment
See also
addEmptyLayer(), clearLayer(), getLayerClickEnabled(), getLayerFromName(), getLayerName(), getLayers(), isLayerVisible(), layerExists(), moveLayerToTop(), removeLayer(), setLayerClickEnabled(), setLayerVisibleRange(), showLayer()