ArcGIS Runtime SDK for iOS
100.15
|
Represents an individual layer in an OGC-WMS service.
An instance of this class represents an individual layer in an OGC-WMS service.
Instance Methods | |
(id< AGSCancelable >) | - fetchLegendInfosWithCompletion: |
(BOOL) | - isVisibleAtScale: |
Properties | |
BOOL | canChangeVisibility |
NSString * | currentStyle |
NSString * | name |
BOOL | showInLegend |
NSArray< id< AGSLayerContent > > * | subLayerContents |
void(^ | subLayerContentsChangedHandler )(void) |
AGSWMSLayerInfo * | sublayerInfo |
BOOL | visible |
- (id<AGSCancelable>) fetchLegendInfosWithCompletion: | (void(^)(NSArray< AGSLegendInfo * > *__nullable legendInfos, NSError *__nullable error)) | completion |
Fetches the array of legend infos (AGSLegendInfo
) for this layer.
- (BOOL) isVisibleAtScale: | (double) | scale |
Check whether this layer is visible at a given scale.
|
readrequirednonatomicassigninherited |
Denotes whether the layer can change visibility or not.
|
readwritenonatomiccopy |
Name of the current style of this sublayer. Setting current style to an empty string indicates the default style will be used. For a list of available styles for this sublayer, refer to AGSWMSLayerInfo::styles
.
|
readnonatomiccopyinherited |
The name of the layer.
|
readwritenonatomicassigninherited |
Indicates whether to show legend information.
|
readnonatomiccopyinherited |
This layer's sub-layers.
|
readwritenonatomiccopyinherited |
Block that is invoked when the sub layer contents changes.
|
readnonatomicstrong |
Metadata about the sublayer
|
readwritenonatomicassigninherited |
Denotes whether the layer is visible or not. The visibility changes can be monitored using Key-Value Observing (KVO).