25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSCancelable.h>
44 #pragma mark properties
54 @property (nonatomic, assign, readwrite, getter=isVisible) BOOL
visible;
59 @property (nonatomic, copy, readonly) NSString *
name;
83 -(id<
AGSCancelable>)fetchLegendInfosWithCompletion:(
void(^)(NSArray<
AGSLegendInfo*> * __nullable legendInfos, NSError * __nullable error))completion;
88 -(BOOL)isVisibleAtScale:(
double)scale;
An individual legend element.
Definition: AGSLegendInfo.h:40
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol defining common properties and operations for layers.
Definition: AGSLayerContent.h:38
BOOL showInLegend
Definition: AGSLayerContent.h:64
BOOL canChangeVisibility
Definition: AGSLayerContent.h:49
void(^ subLayerContentsChangedHandler)(void)
BOOL visible
Definition: AGSLayerContent.h:54
NSArray< id< AGSLayerContent > > * subLayerContents
Definition: AGSLayerContent.h:69
NSString * name
Definition: AGSLayerContent.h:59