load abstract method

Future<ImageProvider?> load(
  1. String panoramaId,
  2. int x,
  3. int y,
  4. int tileLevel,
)

Called once the tile is within the view frustum. If tile can't be loaded, empty value must be returned.

panoramaId The id of the panorama to get tile for. x Tile x coordinate in range [0..tileLevels[tileLevel].width/tileSize.width] x=0,y=0 is the left top corner y Tile y coordinate in range [0..ceil(tileLevels[tileLevel].height/tileSize.height)] tileLevel Tile level coordinate. One of the given tilelevels level]

Implementation

core.Future<image_provider.ImageProvider?> load(
    core.String panoramaId, core.int x, core.int y, core.int tileLevel);