LabelRemoveDuplicatesStrategy enum

The strategy for whether labels should be removed if they have the same text as other labels, to reduce clutter and free up space.

Inheritance
Available extensions

Values

automatic → const LabelRemoveDuplicatesStrategy

The default approach to duplicate labels to is keep them (LabelRemoveDuplicatesStrategy.none).

This value corresponds to no value being specified for a LabelDefinition.removeDuplicatesStrategy property.

all → const LabelRemoveDuplicatesStrategy

Remove nearby duplicate labels.

The distance within which to look for duplicates is controlled by LabelDefinition.removeDuplicatesDistance.

featureType → const LabelRemoveDuplicatesStrategy

Remove nearby duplicate labels, if they belong to the same Feature Type.

Two features are considered the same type if they are both point features, both line features or both polygon features. The distance within which to look for duplicates is controlled by LabelDefinition.removeDuplicatesDistance.

labelClass → const LabelRemoveDuplicatesStrategy

Remove nearby duplicate labels, if they below to the same Label Class.

Two labels are considered the same Label Class if they are both created from the same LabelDefinition. The distance within which to look for duplicates is controlled by LabelDefinition.removeDuplicatesDistance.

none → const LabelRemoveDuplicatesStrategy

No duplicates should be removed.

Place all labels on the map, regardless of duplicates.

Properties

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