LabelingPlacement enum

An enumeration of labeling placement options.

This is used to specify the preferred position of the text label, with respect to its feature geometry.

Inheritance
Available extensions

Values

automatic → const LabelingPlacement

Default position for the label, dependent on the type of feature being labeled.

unknown → const LabelingPlacement

Preferred placement position has not been specified.

lineAboveAfter → const LabelingPlacement

Lower-left corner of label is at final geometry coord; label extrapolates the last geometry segment.

lineAboveAlong → const LabelingPlacement

Lower midpoint of label prefers the midpoint of the geometry; label follows the geometry segments.

lineAboveBefore → const LabelingPlacement

Lower right corner of label is at first geometry coord; label extrapolates the first geometry segment.

lineAboveEnd → const LabelingPlacement

Lower right corner of label is at final geometry coord; label follows the last geometry segments.

lineAboveStart → const LabelingPlacement

Lower left corner of label is at first geometry coord, label follows the first geometry segments.

lineBelowAfter → const LabelingPlacement

Upper left corner of label is at final geometry coord, label extrapolates the last geometry segment.

lineBelowAlong → const LabelingPlacement

Upper midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.

lineBelowBefore → const LabelingPlacement

Upper right corner of label is at first geometry coord, label extrapolates the first geometry segment.

lineBelowEnd → const LabelingPlacement

Upper right corner of label is at final geometry coord, label follows the last geometry segments.

lineBelowStart → const LabelingPlacement

Upper left corner of label is at first geometry coord, label follows the first geometry segments.

lineCenterAfter → const LabelingPlacement

Left midpoint of label is at final geometry coord, label extrapolates the last geometry segment.

lineCenterAlong → const LabelingPlacement

Center of label prefers the midpoint of the geometry, label follows the geometry segments.

lineCenterBefore → const LabelingPlacement

Right midpoint of label is at first geometry coord, label extrapolates the first geometry segment.

lineCenterEnd → const LabelingPlacement

Right midpoint of label is at final geometry coord, label follows the last geometry segments.

lineCenterStart → const LabelingPlacement

Left midpoint of label is at first geometry coord, label follows the first geometry segments.

pointAboveCenter → const LabelingPlacement

Lower midpoint of label is offset north of point symbol.

pointAboveLeft → const LabelingPlacement

Lower-right corner of the label is offset northwest of point symbol.

pointAboveRight → const LabelingPlacement

Lower left corner of the label is offset North-east of point symbol.

pointBelowCenter → const LabelingPlacement

Upper midpoint of label is offset South of point symbol.

pointBelowLeft → const LabelingPlacement

Upper right corner of the label is offset South-west of point symbol.

pointBelowRight → const LabelingPlacement

Upper left corner of the label is offset South-east of point symbol.

pointCenterCenter → const LabelingPlacement

Center of label is placed on geometry point.

pointCenterLeft → const LabelingPlacement

Right midpoint of label is offset West of point symbol.

pointCenterRight → const LabelingPlacement

Left midpoint of label is offset East of point symbol.

polygonAlwaysHorizontal → const LabelingPlacement

Center of label is as far inside polygon as possible.

Note that if a polygon contains holes (defined as counter-clockwise rings), labels will not be placed within those holes.

Properties

coreValue → RT_LabelingPlacement
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<LabelingPlacement>
A constant List of the values in this enum, in order of their declaration.