AreaMarker<T> class
A Marker which draws a closed polyline specified by a series of lat/lon attributes. Note that there are fundamental differences to PolylineMarker:
- The area is assumed to be closed and adding/removing/changing points is not allowed
- The area can be filled with a color/bitmap which is not possible for open polylines
- isTapped checks if the tap event is inside the area as opposed to the polyline where the tap event must be at the line itself.
See also: PolylineMarker which draws an open polyline.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ T?
-
the item this marker represents.
getter/setter pairinherited
-
renderInfo
↔ RenderInfoWay<
RenderinstructionArea> ? -
getter/setter pair
- renderinstruction ↔ RenderinstructionArea
-
latefinal
-
renderinstructionsZoomed
→ Map<
int, RenderinstructionArea> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoomlevelRange → ZoomlevelRange
-
finalinherited
Methods
-
changeZoomlevel(
int zoomlevel, PixelProjection projection) → Future< void> -
override
-
dispose(
) → void -
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
-
render(
UiRenderContext renderContext) → void -
Renders this object. Called by markerPainter
override
-
setAndLoadBitmapSrc(
String bitmapSrc) → Future< void> -
setBitmapColorFromNumber(
int color) → Future< void> -
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