LabelLayerOptions class

Options for label layer.

Inheritance

Constructors

LabelLayerOptions({MarkerWidgetBuilder? builder, Alignment alignment = Alignment.bottomRight, bool rotate = true, bool hideOnEdit = false, EdgeInsets? margin, CollisionStrategy strategy = const StickyGoldenFanStrategy(hysteresisPx: 3.0), CollisionOptions collision = const CollisionOptions()})
const

Properties

alignment Alignment
Alignment of markers relative to their position.
finalinherited
builder MarkerWidgetBuilder?
Custom builder for marker widgets.
finalinherited
collision CollisionOptions
Collision detection options.
final
hashCode int
The hash code for this object.
no setteroverride
hideOnEdit bool
Whether to hide labels when in edit mode.
final
margin EdgeInsets?
Margin around label.
final
rotate bool
Whether markers should rotate with the map.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy CollisionStrategy
final

Methods

copyWith({MarkerWidgetBuilder? builder, Alignment? alignment, bool? rotate, bool? hideOnEdit, EdgeInsets? margin, CollisionStrategy? strategy, CollisionOptions? collision}) LabelLayerOptions
override
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.
override