TextOverlap enum

Allows for control over whether to show symbol text when it overlaps other symbols on the map. If text-overlap is not set, text-allow-overlap is used instead

Inheritance
Implemented types
Available extensions

Values

never → const TextOverlap

The text will be hidden if it collides with any other previously drawn symbol.

const TextOverlap('never')
always → const TextOverlap

The text will be visible even if it collides with any other previously drawn symbol.

const TextOverlap('always')
cooperative → const TextOverlap

If the text collides with another previously drawn symbol, the overlap mode for that symbol is checked. If the previous symbol was placed using never overlap mode, the new text is hidden. If the previous symbol was placed using always or cooperative overlap mode, the new text is visible.

const TextOverlap('cooperative')

Properties

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
value → String
The string of this value in the style spec.
final

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