LineTileSource (API Reference)
Package com.here.sdk.mapview.datasource
Interface LineTileSource
- All Superinterfaces:
TileSource
A source of geodetic line tiles. Lines provided by an implementation must be clipped to the boundaries of the requested tile. 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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceResult 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
Modifier and TypeMethodDescriptionloadTile(TileKey tileKey, LineTileSource.LoadResultHandler completionHandler) Load data of a tile.Methods inherited from interface com.here.sdk.mapview.datasource.TileSource
addListener, getDataVersion, getStorageLevels, getTilingScheme, removeListener
-
Method Details
-
loadTile
@Nullable TileSource.LoadTileRequestHandle loadTile(@NonNull TileKey tileKey, @NonNull LineTileSource.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.
-