JobRenderer class abstract
This abstract class provides the foundation to render a bitmap for the given tile.
Constructors
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
-
createErrorBitmap(
int tileSize, dynamic error) → Future< TileBitmap> - creates a bitmap tile with the given errormessage
-
createMissingBitmap(
int tileSize) → Future< TileBitmap> - creates a tile bitmap with the information that the rendering of the given tile is not yet finished. This tile will normally be replaced when the rendering finishes.
-
createNoDataBitmap(
int tileSize) → Future< TileBitmap> - Creates a tilebitmap which denotes that there are no maps with any data found for the given tile.
-
dispose(
) → void -
executeJob(
Job job) → Future< JobResult> - The rendering job to execute.
-
getRenderKey(
) → String - Returns a key for the caches. In order to use different caches for different renderings the renderer can provide a unique key. The key should be the same if the rendering should provide the exact same image again. The key should be different if the renderer provides different images. This can be used for light/dark themes. Note that different DisplayModels also may lead to different renderings (e.g. scaleFactors) but this is currently not implemented in the default renderers. We assume that the displaymodel stays the same at one single device or the cache will be deleted if the user changes the scalieFactors.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveLabels(
Job job) → Future< JobResult> - For mapfiles we can either render everything into the images or render just the basic map and rotate the captions while rotating the map. If supported this method returns the captions to draw each time (maybe rotated)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited