isLayerVisible()

This function is used to get the visibility of a layer of the Maps EWO.

Synopsis

bool isLayerVisible(int layerId)

Parameter

Parameter Description
layerId layer number

Description

This function returns true when the specified layer is visible, otherwise false.

Example

Maps_ewo1.hideLayer(iLayer);
bool bVisible = Maps_ewo1.isLayerVisible(iLayer); // false

Assignment

Maps Widget

See also

addEmptyLayer(), clearLayer(), getLayerClickEnabled(), getLayerFromName(), getLayerName(), getLayers(), hideLayer(), layerExists(), moveLayerToTop(), removeLayer(), setLayerClickEnabled(), setLayerVisibleRange(), showLayer()