LabelLineConnection enum
The strategy for whether line features with the same label, and matching end vertices, should be joined before sharing a label.
Values
- automatic → const LabelLineConnection
-
The default approach for connectable features is to connect them (LabelLineConnection.minimizeLabels)
This value corresponds to no value being specified for a LabelDefinition.lineConnection property.
- minimizeLabels → const LabelLineConnection
-
Line geometries with the same label and coincident end vertices should be considered together as a single, continuous geometry when placing labels.
For example, if a single label is being placed on a line feature, then the single location will be chosen along the combined geometries. This combining will ignore junctions, so it may be ambiguous which line feature after a junction is the continuation of the earlier geometry.
- none → const LabelLineConnection
-
Keep one label per line feature geometry.
- unambiguousLabels → const LabelLineConnection
-
Line geometries with the same label and coincident end vertices should be joined, until they hit a junction.
For example, if a single label is being placed on a line geometry (composed of multiple features' geometries, but all having the same label text), then a label will be placed on both sides of any junction, to make it unambiguous which geometries are the continuation of the initial geometry.
Properties
- coreValue → RT_LabelLineConnection
-
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<
LabelLineConnection> - A constant List of the values in this enum, in order of their declaration.