LabelMultipartStrategy enum
The strategy for the number of labels to be placed on a multi-part feature.
Values
- automatic → const LabelMultipartStrategy
-
Labeling will use the default distribution of labels across multi-part features.
This depends on Feature type:
- Polygon labels will use LabelMultipartStrategy.labelLargest
- Point and Line labels will use LabelMultipartStrategy.labelPerPart
- labelLargest → const LabelMultipartStrategy
-
If a feature consists of multiple parts, only the largest one will be assigned a label.
If a line feature consists of multiple part geometries, or a polygon feature consists of multiple ring geometries, only the largest one will be assigned a label.
If the largest part of the feature is not currently visible on the ArcGISMapViewController or ArcGISSceneViewController, then the label will not be visible. It will not automatically move to the largest visible part.
- labelPerFeature → const LabelMultipartStrategy
-
One label per feature, but not supported yet in this API.
The intended use is to place one label to represent each feature, even if the feature is made up of multiple parts. For example, a single label is placed at the center of a group of point parts, not necessarily at the position of any individual part.
This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in this API. If used, the placement will be as for LabelMultipartStrategy.labelPerPart.
- labelPerPart → const LabelMultipartStrategy
-
If a feature consists of multiple geometries, each geometry will be assigned a label.
If a line feature consists of multiple line geometries, or a polygon feature consists of multiple ring geometries, each geometry will be assigned a label.
- labelPerSegment → const LabelMultipartStrategy
-
One label per segment, but not supported yet in this API.
The intended use is to place a label on each segment of each line geometry.
This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in this API. If used, the placement with be as for LabelMultipartStrategy.labelPerPart.
Properties
- coreValue → RT_LabelMultipartStrategy
-
Convert to internal value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LabelMultipartStrategy> - A constant List of the values in this enum, in order of their declaration.