ScaleRangeDisplayFilter

A DisplayFilter that is applied on the layer based on the provided scale range.

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor(name: String, whereClause: String, minScale: Double? = null, maxScale: Double? = null)

Creates a new ScaleRangeDisplayFilter with the specified name, where clause, and scale range.

Properties

Link copied to clipboard

The maximum scale at which this display filter is applied. This display filter is only applied when zoomed further out than the maximum scale. Set this property to allow current scale of the map to determine when this display filter is applied. If MapView.scale or Viewpoint.targetScale is greater than or equal this value, the DisplayFilter will be applied. This value should be less than ScaleRangeDisplayFilter.minScale. A value of 0 indicates this display filter is applied without an upper limit. The default value is 0.

Link copied to clipboard

The minimum scale at which this display filter is applied. This display filter is only applied when zoomed further in than the minimum scale. Set this property to allow current scale of the map to determine when this display filter is applied. If MapView.scale or Viewpoint.targetScale is less than or equal this value, the DisplayFilter will be applied. This value should be greater than ScaleRangeDisplayFilter.maxScale. A value of 0 indicates this display filter is applied without a lower limit. The default value is 0.

Inherited properties

Link copied to clipboard

The identifier for this display filter. Use a unique name to identify this display filter when used in a webmap as a ManualDisplayFilterDefinition.activeFilter.

Link copied to clipboard

A descriptive name for this display filter.

Link copied to clipboard

A SQL expression that defines which features are rendered. The where clause string that is used as the DisplayFilter.whereClause should follow standard SQL syntax similar to what is discussed in the document https://pro.arcgis.com/en/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm.