ArcGIS Runtime SDK for iOS
100.15
|
Filter features from the display based on the specified active display filter.
This is useful when making visual comparisons of the data, or filtering out specific pieces of data.
AGSScaleDisplayFilterDefinition
Instance Methods | |
(instancetype) | - initWithActiveFilter:availableFilters: |
Class Methods | |
(instancetype) | + manualDisplayFilterDefinitionWithActiveFilter:availableFilters: |
Properties | |
AGSDisplayFilter * | activeFilter |
NSArray< AGSDisplayFilter * > * | availableFilters |
- (instancetype) initWithActiveFilter: | (nullable AGSDisplayFilter *) | activeFilter | |
availableFilters: | (NSArray< AGSDisplayFilter * > *) | availableFilters | |
Creates a new AGSManualDisplayFilterDefinition
object with the specified active and available filters.
activeFilter | A display filter from AGSManualDisplayFilterDefinition::availableFilters to apply. |
availableFilters | The array of display filters that can be applied. |
+ (instancetype) manualDisplayFilterDefinitionWithActiveFilter: | (nullable AGSDisplayFilter *) | activeFilter | |
availableFilters: | (NSArray< AGSDisplayFilter * > *) | availableFilters | |
Creates a new AGSManualDisplayFilterDefinition
object with the specified active and available filters.
activeFilter | A display filter from AGSManualDisplayFilterDefinition::availableFilters to apply. |
availableFilters | The array of display filters that can be applied. |
|
readwritenonatomicstrong |
A display filter from AGSManualDisplayFilterDefinition::availableFilters
to apply.
To enable display filter on a layer, specify a filter that is part of AGSManualDisplayFilterDefinition::availableFilters
. If no active filter is set, then no display filter is applied.
|
readwritenonatomiccopy |
The array of display filters that can be applied.
To enable display filter on a layer, specify an AGSManualDisplayFilterDefinition::activeFilter
that is part of this array.
If the specified AGSManualDisplayFilterDefinition::activeFilter
does not appear to be applied, check the layer's AGSLayerViewState
for an AGSLayerViewStatusWarning
as there might be an AGSLayerViewState::error
describing that display filter's where clause is not valid.
If the array contains an AGSScaleRangeDisplayFilter
object, its AGSScaleRangeDisplayFilter::minScale
and AGSScaleRangeDisplayFilter::maxScale
are both ignored.