readPoiData method

  1. @override
Future<DatastoreReadResult?> readPoiData(
  1. Tile upperLeft,
  2. Tile lowerRight
)
override

Reads POI data for an area defined by the tile in the upper left and the tile in the lower right corner. This implementation takes the data storage of a MapFile into account for greater efficiency.

@param upperLeft tile that defines the upper left corner of the requested area. @param lowerRight tile that defines the lower right corner of the requested area. @return map data for the tile.

Implementation

@override
Future<DatastoreReadResult?> readPoiData(Tile upperLeft, Tile lowerRight) async {
  await _lateOpen();
  return _readMapDataComplete(upperLeft, lowerRight, MapfileSelector.POIS);
}