RectMarker<T> class

A Marker which draws a rectangle specified by the min/max lat/lon attributes.

Inheritance

Constructors

RectMarker({dynamic display = Display.ALWAYS, int minZoomLevel = 0, int maxZoomLevel = 65535, T? item, String? bitmapSrc, MarkerCaption? markerCaption, int? fillColor, double strokeWidth = 2.0, int strokeColor = 0xff000000, List<double>? strokeDasharray, required ILatLong minLatLon, required ILatLong maxLatLon, required DisplayModel displayModel})

Properties

bitmap ↔ ResourceBitmap?
getter/setter pair
bitmapSrc String?
getter/setter pairinherited
boundingBox BoundingBox
the box which enclosed the rect specified by the given minLatLon and maxLatLon
final
color int
getter/setter pairinherited
display → Display
finalinherited
hashCode int
The hash code for this object.
no setterinherited
item ↔ T?
the item this marker represents.
getter/setter pairinherited
lastZoomLevel int
getter/setter pair
mapRect ↔ MapRect?
getter/setter pair
markerCaption MarkerCaption?
no setterinherited
maxLatLon ILatLong
final
maxZoomLevel int
getter/setter pairinherited
minLatLon ILatLong
final
minZoomLevel int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bitmapSrcMixinClone(BitmapSrcMixin base) → void
inherited
bitmapSrcMixinScale(BitmapSrcMixin base, int zoomLevel) → void
inherited
clearPaintMixin() → void
inherited
dispose() → void
override
disposePaintMixin() → void
inherited
getBitmapHeight() int
inherited
getBitmapWidth() int
inherited
getDy(int zoomLevel) double
inherited
getFillPaint(int zoomLevel) MapPaint
inherited
getStrokePaint(int zoomLevel) MapPaint
inherited
getStrokeWidth() double
inherited
initPaintMixin(int strokeMinZoomLevel) → void
inherited
initResources(SymbolCache symbolCache) Future<void>
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
inherited
renderBitmap(MarkerCallback markerCallback) → void
renders the bitmap portion of this marker. This method is called by render() which also call the render method for the caption
override
setBitmapColorFromNumber(int color) → void
inherited
setBitmapHeight(int bitmapHeight) → void
inherited
setBitmapMinZoomLevel(int bitmapMinZoomLevel) → void
inherited
setBitmapPercent(int bitmapPercent) → void
inherited
setBitmapSrc(String bitmapSrc) → void
inherited
setBitmapWidth(int bitmapWidth) → void
inherited
setDy(double dy) → void
inherited
setFillBitmapShader(Bitmap bitmap) → void
inherited
setFillColor(Color color) → void
inherited
setFillColorFromNumber(int color) → void
inherited
setMarkerCaption(MarkerCaption? markerCaption) → void
override
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