|
virtual void MgLayerBase::SetVisible |
( |
bool |
visible |
) |
[virtual] |
Sets the layer's potential visibility.
- Remarks:
- Note that setting this property to true will not necessarily guarantee the layer will be visible. The layer will be visible only when this property is true, all groups this layer is organized within are visible, and the current viewScale property of the map is within the scale ranges defined for this layer. Note also that the visibility of base map layers (those of type MgLayerType::BaseMap) cannot be changed. Attempting to do so will throw an MgInvalidOperationException.
Java Syntax
void SetVisible(boolean visible);
|
- Parameters:
-
| visible | (boolean/bool) True if the layer should be visible, false otherwise. |
- Returns:
- Returns nothing.
|