Marker<T> class

Implementers

Constructors

Marker({Display display = Display.ALWAYS, int minZoomLevel = 0, int maxZoomLevel = 65535, T? item})

Properties

display → Display
final
hashCode int
The hash code for this object.
no setterinherited
item ↔ T?
the item this marker represents.
getter/setter pair
maxZoomLevel int
getter/setter pair
minZoomLevel int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
isTapped(TapEvent tapEvent) bool
returns true if the position specified by tapEvent is in the area of this marker. Note that tapEvent represents the position at the time the tap has been executed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(MarkerCallback markerCallback) → void
Renders this object. Called by markerPointer -> markerRenderer
shouldPaint(BoundingBox boundary, int zoomLevel) bool
returns true if this marker is within the visible boundary and therefore should be painted. Since the initResources() is called only if shouldPoint() returns true, do not test for available resources here.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited