Marker class

Marker object that is rendered by MarkerLayerWidget

Constructors

Marker({required LatLng point, required WidgetBuilder builder, Key? key, double width = 30.0, double height = 30.0, bool? rotate, Offset? rotateOrigin, AlignmentGeometry? rotateAlignment, AnchorPos? anchorPos})

Properties

anchor Anchor
final
builder WidgetBuilder
Function that builds UI of the marker
final
hashCode int
The hash code for this object.
no setterinherited
height double
Bounding box height of the marker
final
key Key?
final
point → LatLng
Coordinates of the marker
final
rotate bool?
If true marker will be counter rotated to the map rotation
final
rotateAlignment AlignmentGeometry?
The alignment of the origin, relative to the size of the box.
final
rotateOrigin Offset?
The origin of the coordinate system (relative to the upper left corner of this render object) in which to apply the matrix.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Bounding box width of the marker
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