DatastoreViewRenderer class

Inheritance

Constructors

DatastoreViewRenderer.new({required Datastore datastore, required RenderTheme renderTheme, required SymbolCache symbolCache})

Properties

datastore Datastore
final
hashCode int
The hash code for this object.
no setterinherited
renderTheme RenderTheme
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbolCache SymbolCache
final

Methods

createErrorBitmap(double tileSize, dynamic error) Future<TilePicture>
creates a bitmap tile with the given errormessage
inherited
createMissingBitmap(double tileSize) Future<TilePicture>
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.
inherited
createNoDataBitmap(double tileSize) Future<TilePicture>
Creates a tilebitmap which denotes that there are no maps with any data found for the given tile.
inherited
dispose() → void
inherited
executeJob(Job job) Future<JobResult>
The rendering job to execute.
inherited
executeViewJob(ViewJobRequest viewJobRequest) Future<ViewJobResult>
override
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.
override
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)
inherited
toString() String
A string representation of this object.
inherited

Operators

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