PathMarker<T> class

Draws an normally open path as marker. Note that isTapped() returns always false.

Inheritance

Constructors

PathMarker({dynamic display = Display.ALWAYS, dynamic minZoomLevel = 0, dynamic maxZoomLevel = 65535, dynamic item, double strokeWidth = 1.0, int strokeColor = 0xff000000, required DisplayModel displayModel})

Properties

display → Display
finalinherited
hashCode int
The hash code for this object.
no setterinherited
item ↔ T?
the item this marker represents.
getter/setter pairinherited
mapPath MapPath?
getter/setter pair
maxZoomLevel int
getter/setter pairinherited
minZoomLevel int
getter/setter pairinherited
path List<ILatLong>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLatLong(ILatLong latLong) → void
clearPaintMixin() → void
inherited
dispose() → void
inherited
disposePaintMixin() → void
inherited
getDy(int zoomLevel) double
inherited
getFillPaint(int zoomLevel) MapPaint
inherited
getStrokePaint(int zoomLevel) MapPaint
inherited
getStrokeWidth() double
inherited
indexOfTappedPath(TapEvent tapEvent) int
initPaintMixin(int strokeMinZoomLevel) → void
inherited
isFillTransparent() bool
inherited
isStrokeTransparent() bool
inherited
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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareScalePaintMixin(int zoomLevel) → void
inherited
render(MarkerCallback markerCallback) → void
Renders this object. Called by markerPointer -> markerRenderer
override
setDy(double dy) → void
inherited
setFillBitmapShader(Bitmap bitmap) → void
inherited
setFillColor(Color color) → void
inherited
setFillColorFromNumber(int color) → void
inherited
setStrokeBitmapShader(Bitmap bitmap) → void
inherited
setStrokeCap(Cap cap) → void
inherited
setStrokeColor(Color color) → void
inherited
setStrokeColorFromNumber(int color) → void
inherited
setStrokeDashArray(List<double> dashArray) → void
inherited
setStrokeJoin(Join join) → void
inherited
setStrokeWidth(double strokeWidth) → void
inherited
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.
override
toString() String
A string representation of this object.
inherited

Operators

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