MarkerCollisionBehavior enum

Indicates how the marker behaves when it collides with other markers.

Inheritance
Available extensions

Values

requiredDisplay → const MarkerCollisionBehavior

(default) Always display the marker regardless of collision.

optionalAndHidesLowerPriority → const MarkerCollisionBehavior

Display the marker only if it does not overlap with other markers. If two markers of this type would overlap, the one with the higher zIndex is shown. If they have the same zIndex, the one with the lower vertical screen position is shown.

requiredAndHidesOptional → const MarkerCollisionBehavior

Always display the marker regardless of collision, and hide any optionalAndHidesLowerPriority markers or labels that would overlap with the marker.

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

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