getLayerFromName()
The function returns the layer number for a given name of a layer in the Maps EWO.
Synopsis
int getLayerFromName(string layerName)
Parameter
Parameter | Description |
---|---|
layerName | layer name |
Description
This function is used to get the layer number from a specified layer name of the Maps EWO. It returns -1 in case of an error.
Assignment
See also
addEmptyLayer(), clearLayer(), getLayerClickEnabled(), getLayerName(), getLayers(), hideLayer(), isLayerVisible(), layerExists(), moveLayerToTop(), removeLayer(), setLayerClickEnabled(), setLayerVisibleRange(), showLayer()