ArcGIS Runtime SDK for iOS
100.15
|
A protocol defining common properties and operations for layers.
A protocol defining common properties and operations for layers
Instance Methods | |
(id< AGSCancelable >) | - fetchLegendInfosWithCompletion: |
(BOOL) | - isVisibleAtScale: |
Properties | |
BOOL | canChangeVisibility |
NSString * | name |
BOOL | showInLegend |
NSArray< id< AGSLayerContent > > * | subLayerContents |
void(^ | subLayerContentsChangedHandler )(void) |
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.
|
readrequirednonatomicassign |
Denotes whether the layer can change visibility or not.
|
readnonatomiccopy |
The name of the layer.
|
readwritenonatomicassign |
Indicates whether to show legend information.
|
readnonatomiccopy |
This layer's sub-layers.
|
readwritenonatomiccopy |
Block that is invoked when the sub layer contents changes.
|
readwritenonatomicassign |
Denotes whether the layer is visible or not. The visibility changes can be monitored using Key-Value Observing (KVO).