MemoryDatastore class

Inheritance

Constructors

MemoryDatastore()

Properties

hashCode int
The hash code for this object.
no setterinherited
pointOfInterests List<PointOfInterest>
The read POIs.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ways List<Way>
The read ways.
final

Methods

addPoi(PointOfInterest poi) → void
addWay(Way way) → void
lateOpen() Future<void>
Open file descriptors
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readLabels(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult>
Reads data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
override
readLabelsSingle(Tile tile) Future<DatastoreReadResult>
Reads only labels for tile. Labels are pois as well as ways that carry a name tag. It is permissible for the MapDataStore to return more data. This default implementation returns all map data, which is inefficient, but works.
override
readMapData(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult>
Reads data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
override
readMapDataSingle(Tile tile) Future<DatastoreReadResult>
Reads data for tile.
override
readPoiData(Tile upperLeft, Tile lowerRight) Future<DatastoreReadResult>
Reads POI data for an area defined by the tile in the upper left and the tile in the lower right corner. The default implementation combines the results from all tiles, a possibly inefficient solution. Precondition: upperLeft.tileX <= lowerRight.tileX && upperLeft.tileY <= lowerRight.tileY
override
readPoiDataSingle(Tile tile) Future<DatastoreReadResult>
Reads only POI data for tile.
override
supportsTile(Tile tile, Projection projection) bool
Returns true if MapDatabase contains the given tile.
override
toString() String
A string representation of this object.
override

Operators

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