Callout class

Marks a geographical location on the map.

Constructors

Callout({required String id, required LatLng position, AnnotationType? annotationType, MarkerIcon? icon, double zIndex = 0.0, List<String>? texts, void onTap()?, Anchor? anchor})
const

Properties

anchor Anchor?
Specifies the anchor to be at a particular point in the marker image.
final
annotationType AnnotationType?
The type of annotation of the Callout
final
hashCode int
The hash code for this object.
no setteroverride
icon MarkerIcon?
Optional MarkerIcon used to replace default icon
final
id String
Uniquely identifies a Callout.
final
onTap → (void Function()?)
A void Function which is called whenever a Callout is tapped.
final
position LatLng
The location where the Callout is drawn is represented as LatLng.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
texts List<String>?
List of information of the Callout
final
zIndex double
The z-index of the callout, used to determine relative drawing order of map overlays.
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.
override