Interface TileLoader<T>
- Type Parameters:
T- The tile data type
- All Superinterfaces:
DataLoader<TileId,T>
- All Known Subinterfaces:
CachingTileLoader<T>
- All Known Implementing Classes:
com.here.platform.location.dataloader.core.AbstractTileLoaderDecorator,AbstractTileLoaderDecorator,com.here.platform.location.dataloader.core.internal.BaseTileLoader,LRUCachingTileLoader,StandaloneByteArrayTileLoader,TransformingTileLoader,com.here.platform.location.dataloader.core.TransformingTileLoader
Deprecated.
Use methods based on OptimizedMapLayers instead. Since SDK 2.54.
Loads tile data.
-
Method Summary
Modifier and TypeMethodDescriptionscala.Option<T>Deprecated.Gets data for a singletileId.Deprecated.Gets data fortileIds.scala.collection.Iterator<TileId>Deprecated.Gets the tile IDs available from this loader.resolver()Deprecated.A resolver forTileIds that can be used with thisTileLoader.Methods inherited from interface com.here.platform.location.dataloader.core.DataLoader
catalogHrn, catalogVersion, layerName, partitioning
-
Method Details
-
get
Deprecated.Gets data for a singletileId.- Specified by:
getin interfaceDataLoader<TileId,T> - Parameters:
tileId- The tile ID to retrieve the data for- Returns:
- The data of the successfully loaded tile, or None
-
getAll
scala.collection.Iterable<scala.Tuple2<TileId,scala.Option<T>>> getAll(scala.collection.Iterable<TileId> tileIds) Deprecated.Gets data fortileIds.- Specified by:
getAllin interfaceDataLoader<TileId,T> - Parameters:
tileIds- The tile IDs to retrieve the data for- Returns:
- The data associated with the successfully loaded tiles, or None
-
partitionIds
scala.collection.Iterator<TileId> partitionIds()Deprecated.Gets the tile IDs available from this loader.This will only return tile IDs for which the
get(com.here.platform.location.inmemory.geospatial.TileId)method will return a non-empty value.Whereas the
TileResolvercan be used to determine all of the tile IDs that cover a certain area of the earth (or even the whole earth), it does not know which tiles actually have data. This method allows you to discover tiles that actually contain data.E.g. a data loader for a layer containing information related to the road network will probably have data for tiles covering large cities, but not for tiles in the middle of the ocean.
- Specified by:
partitionIdsin interfaceDataLoader<TileId,T>
-
resolver
TileResolver resolver()Deprecated.A resolver forTileIds that can be used with thisTileLoader.
-