ArcGIS Runtime SDK for iOS: AGSScaleDisplayFilterDefinition Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSScaleDisplayFilterDefinition Class Reference

Description

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.

See also
AGSManualDisplayFilterDefinition
Since
100.13
Inheritance diagram for AGSScaleDisplayFilterDefinition:
AGSDisplayFilterDefinition AGSObject

Instance Methods

(instancetype) - initWithFilters:
 

Class Methods

(instancetype) + scaleDisplayFilterDefinitionWithFilters:
 

Properties

NSArray< AGSScaleRangeDisplayFilter * > * filters
 

Method Documentation

◆ initWithFilters:

- (instancetype) initWithFilters: (NSArray< AGSScaleRangeDisplayFilter * > *)  filters

Creates a new AGSScaleDisplayFilterDefinition object with the specified scale range display filters.

Parameters
filtersThe array of scale range display filters.
Since
100.13

◆ scaleDisplayFilterDefinitionWithFilters:

+ (instancetype) scaleDisplayFilterDefinitionWithFilters: (NSArray< AGSScaleRangeDisplayFilter * > *)  filters

Creates a new AGSScaleDisplayFilterDefinition object with the specified scale range display filters.

Parameters
filtersThe array of scale range display filters.
Since
100.13

Property Documentation

◆ filters

- (NSArray<AGSScaleRangeDisplayFilter *>*) 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.

See also
AGSScaleRangeDisplayFilter
Since
100.13