Interface RasterTileSource
Package com.here.sdk.mapview.datasource
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRasterTileSource.LoadResultHandlerResult handler of a load tile request.-
Nested classes/interfaces inherited from interface com.here.sdk.mapview.datasource.TileSource
TileSource.DataVersion, TileSource.Listener, TileSource.LoadTileRequestHandle, TileSource.TileMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TileSource.LoadTileRequestHandleloadTile(TileKey tileKey, RasterTileSource.LoadResultHandler completionHandler)Load data of a tile.-
Methods inherited from interface com.here.sdk.mapview.datasource.TileSource
addListener, getDataVersion, getStorageLevels, getTilingScheme, removeListener
-
-
-
-
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.
-
-