PoiMarker<T> class

Inheritance

Constructors

PoiMarker({ZoomlevelRange zoomlevelRange = const ZoomlevelRange.standard(), T? key, required ILatLong latLong, MapPositioning positioning = MapPositioning.CENTER, bool rotateWithMap = false, required String src, int bitmapColor = 0xff000000, double width = 20, double height = 20, double rotation = 0})

Properties

captions List<Caption>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key ↔ T?
the item this marker represents.
getter/setter pairinherited
latitude double
The latitude of this point in degrees.
no setterinherited
latLong ↔ ILatLong
The position in the map if the current marker is a "point".
getter/setter pairinherited-getter
longitude double
The longitude of this point in degrees.
no setterinherited
renderInfo ↔ RenderInfoNode<RenderinstructionSymbol>?
getter/setter pair
renderinstruction ↔ RenderinstructionSymbol
latefinal
renderinstructionsZoomed Map<int, RenderinstructionSymbol>
final
rotation double
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zoomlevelRange → ZoomlevelRange
finalinherited

Methods

addCaption({required String caption, double strokeWidth = 2.0, int strokeColor = 0xffffffff, int fillColor = 0xff000000, double fontSize = 10.0, ZoomlevelRange? zoomlevelRange, MapPositioning position = MapPositioning.BELOW, double dy = 0, int? strokeMinZoomLevel, double gap = 1}) → Caption?
inherited
changeZoomlevel(int zoomlevel, PixelProjection projection) Future<void>
override
changeZoomlevelCaptions(int zoomlevel, PixelProjection projection) Future<void>
inherited
dispose() → void
inherited
getReference() → ILatLong
inherited
hasCaptions() 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
removeAllCaptions() → void
inherited
removeCaption(Caption caption) → void
inherited
removeCaptionPerText(String caption) → void
inherited
render(UiRenderContext renderContext) → void
Renders this object. Called by markerPainter
override
renderCaptions({required UiRenderContext renderContext, required NodeProperties nodeProperties}) → void
inherited
searchForSymbolBoundary(String symbolId) → MapRectangle?
setAndLoadBitmapSrc(String bitmapSrc) Future<void>
setBitmapColorFromNumber(int color) Future<void>
setLatLong(ILatLong latLong) → void
shouldPaint(BoundingBox boundary, int zoomlevel) bool
returns true if the marker should be painted. The boundary represents the currently visible area
inherited
toString() String
A string representation of this object.
inherited

Operators

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