ShapePainterSymbol class

Shape painter for rendering bitmap symbols on the map.

This painter is responsible for drawing bitmap images (symbols) for POIs or other map features. It handles loading the symbol from the cache, applying color tinting, and managing rotation.

Properties

fill UiPaint
latefinal
hashCode int
The hash code for this object.
no setterinherited
renderinstruction → RenderinstructionSymbol
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbolImage SymbolImage?
getter/setter pair

Methods

calculatePath(List<List<Mappoint>> coordinatesAbsolute, Mappoint reference, double dy) UiPath
Calculates a UiPath from a list of absolute geo-coordinates.
inherited
dispose() → void
Disposes the symbolImage.
init() Future<void>
Initializes the shape painter by loading the symbol from the cache.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderNode(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, NodeProperties nodeProperties) → void
Renders a symbol for a node (e.g., a POI).
renderWay(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, WayProperties wayProperties) → void
Renders a symbol for a way.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(RenderinstructionSymbol renderinstruction) Future<ShapePainterSymbol>
Creates a new symbol shape painter with asynchronous initialization.

Constants

debug → const bool