PolylineMarker<T> class
A Marker which draws an open path specified by a series of lat/lon attributes.
See also: AreaMarker which draws a closed polyline. Also more information about the differences to this marker can be found in AreaMarker.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ T?
-
the item this marker represents.
getter/setter pairinherited
-
path
→ List<
ILatLong> -
no setter
-
renderInfo
↔ RenderInfoWay<
RenderinstructionPolyline> ? -
getter/setter pair
- renderinstruction ↔ RenderinstructionPolyline
-
latefinal
-
renderinstructionsZoomed
→ Map<
int, RenderinstructionPolyline> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoomlevelRange → ZoomlevelRange
-
finalinherited
Methods
-
addLatLong(
ILatLong latLong) → void -
changeZoomlevel(
int zoomlevel, PixelProjection projection) → Future< void> -
override
-
clear(
) → void -
dispose(
) → void -
inherited
-
indexOfTappedPath(
TapEvent tapEvent) → int -
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
-
removeLatLong(
) → void -
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