Renderer class abstract
Abstract base class for tile rendering implementations.
This class defines the contract for rendering map tiles from various data sources. Implementations handle specific data sources (local files, online services) and provide both tile rendering and label extraction capabilities.
Key responsibilities:
- Execute rendering jobs to generate tile bitmaps
- Extract labels for separate rendering (rotation support)
- Provide cache keys for optimization
- Manage renderer lifecycle and resources
Constructors
- Renderer()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Disposes of renderer resources and cleans up.
-
executeJob(
JobRequest jobRequest) → Future< JobResult> - Executes a rendering job to generate a tile bitmap.
-
getRenderKey(
) → String - Returns a unique cache key for this renderer configuration.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveLabels(
JobRequest jobRequest) → Future< JobResult> - Retrieves labels for separate rendering to support map rotation.
-
supportLabels(
) → bool - Returns whether this renderer supports separate label rendering.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited