Interface RasterTileSource

  • All Superinterfaces:
    TileSource

    public interface RasterTileSource
    extends TileSource

    A source of raster tiles. The implementations must be thread-safe. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

    • Method Detail

      • loadTile

        @Nullable
        TileSource.LoadTileRequestHandle loadTile​(@NonNull
                                                  TileKey tileKey,
                                                  @NonNull
                                                  RasterTileSource.LoadResultHandler completionHandler)

        Load data of a tile. Upon completion, the handler gets informed.

        Parameters:
        tileKey -

        Key of the tile to load data for.

        completionHandler -

        Load result handler.

        Returns:

        A handle to the created load request.