MapOnlineRenderer class

This renderer fetches the desired bitmap from openstreetmap website. Since the bitmaps are 256 pixels in size the same size must be configured in the displayModel.

Inheritance

Constructors

MapOnlineRenderer()

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
inherited
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.
inherited
createNoDataBitmap(int tileSize) Future<TileBitmap>
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.
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

uriPrefix String
final