ArcGIS Runtime SDK for iOS
100.15
|
Filter features from the display based on the current map scale.
This is useful when there is so much feature density at small scales making the display difficult to interpret or slow to draw.
AGSManualDisplayFilterDefinition
Instance Methods | |
(instancetype) | - initWithFilters: |
Class Methods | |
(instancetype) | + scaleDisplayFilterDefinitionWithFilters: |
Properties | |
NSArray< AGSScaleRangeDisplayFilter * > * | filters |
- (instancetype) initWithFilters: | (NSArray< AGSScaleRangeDisplayFilter * > *) | filters |
Creates a new AGSScaleDisplayFilterDefinition
object with the specified scale range display filters.
filters | The array of scale range display filters. |
+ (instancetype) scaleDisplayFilterDefinitionWithFilters: | (NSArray< AGSScaleRangeDisplayFilter * > *) | filters |
Creates a new AGSScaleDisplayFilterDefinition
object with the specified scale range display filters.
filters | The array of scale range display filters. |
|
readwritenonatomiccopy |
The array of scale range display filters.
To enable display filter on a layer, every AGSScaleRangeDisplayFilter
object in this array must provide an AGSScaleRangeDisplayFilter::minScale
or AGSScaleRangeDisplayFilter::maxScale
within the map's current scale.
If more than one AGSScaleRangeDisplayFilter
is applicable at a given scale, the first AGSScaleRangeDisplayFilter
within the current map scale is applied.
If the features displayed are not expected, check the layer's AGSLayerViewState
for an AGSLayerViewStatusWarning
with an AGSLayerViewState::error
indicating there is a scale overlap between multiple AGSScaleRangeDisplayFilter
objects.
AGSScaleRangeDisplayFilter