BasicMarker<T> class
abstract
////////////////////////////////////////////////////////////////////////// Abstract Marker class for further extensions. This class handles the caption of a marker.
- Inheritance
- Implementers
Constructors
- BasicMarker.new({Display display = Display.ALWAYS, int minZoomLevel = 0, int maxZoomLevel = 65535, T? item})
Properties
- display → Display
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- item ↔ T?
-
the item this marker represents.
getter/setter pairinherited
- maxZoomLevel ↔ int
-
getter/setter pairinherited
- minZoomLevel ↔ int
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
override
-
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.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
MapCanvas flutterCanvas, MarkerContext markerContext) → void -
Renders this object. Called by markerPainter
override
-
renderBitmap(
MapCanvas flutterCanvas, MarkerContext markerContext) → void - renders the bitmap portion of this marker. This method is called by render() which also call the render method for the caption
-
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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited