LabelingInfo

An object that defines the text, appearance and position of labels for features for a given scale range. A LabelingInfo describes a class of labels.

Each LabelingInfo specifies:

LabelingInfo describes a very limited subset of the LabelDefinition properties.

Since

200.1.0

Properties

Link copied to clipboard

Simple expression describing how to build the text label for a feature, often using attributes of the feature. The default is an empty expression and no labels will be produced.

Link copied to clipboard

The preferred position of the text label, with respect to its feature geometry. The default depends on the type of feature geometry:

Link copied to clipboard

Labels will only be visible when the viewing scale is smaller than (or equal to) the maxScale. For example, if the viewing scale is 1:12000 and the LabelingInfo.maxScale is 1:10000, then the labels will be visible (because 1/12000 <= 1/10000).

Link copied to clipboard

Labels will only be visible when the viewing scale is larger than (or equal to) the minScale. For example, if the viewing scale is 1:12000 and the LabelingInfo.minScale is 1:20000, then the labels will be visible (because 1/12000 >= 1/20000).

Link copied to clipboard

The text symbol which describes the overall appearance of label text (e.g. font and size). If no LabelingInfo.symbol has been set, then no labels can be created.

Link copied to clipboard

Whether the data source should translate domain identifiers into meanings using a com.arcgismaps.data.CodedValueDomain. For any translation to occur, the data source must have one or more com.arcgismaps.data.CodedValueDomain values set up for the attribute fields.

Link copied to clipboard

Limit the set of features for which labels will be generated and placed. This is a SQL expression that can refer to the attributes of the feature e.g.: