LabelingInfo
- Last UpdatedApr 23, 2024
- 1 minute read
Defines the properties used for labeling the layer.
The following table provides the specific configurable options for LabelingInfo:
|
Property |
Type |
Description |
|---|---|---|
|
labelExpression |
String |
Specifies the feature's attribute field to use as label text. |
|
maxScale [Optional] |
Number |
Defines maximum scale at which this label will be shown. |
|
minScale [Optional] |
Number |
Defines minimum scale at which this label will be shown. |
|
symbol [Optional] |
TextSymbol |
Defines text symbol use for the label. |
|
where [Optional] |
String |
Defines SQL like filter used to determine which features to label. |