Tile Store
open class TileStore
Content copied to clipboard
TileStore manages downloads and storage for requests to tile-related API endpoints, enforcing a disk usage quota: tiles available on disk may be deleted to make room for a new download. This interface can be used by an app developer to set the disk quota. The rest of TileStore API is intended for native SDK consumption only.
Functions
addObserver
Link copied to clipboard
computeCoveredArea
Link copied to clipboard
open fun computeCoveredArea(descriptors: List<TilesetDescriptor>, callback: TileRegionGeometryCallback)
Content copied to clipboard
getAllTileRegions
Link copied to clipboard
getTileRegion
Link copied to clipboard
getTileRegionGeometry
Link copied to clipboard
open fun getTileRegionGeometry(id: String, callback: TileRegionGeometryCallback)
Content copied to clipboard
getTileRegionMetadata
Link copied to clipboard
open fun getTileRegionMetadata(id: String, callback: TileRegionMetadataCallback)
Content copied to clipboard
loadResource
Link copied to clipboard
@NonNull()
Content copied to clipboard
loadTileRegion
Link copied to clipboard
@NonNull()
Content copied to clipboard
@NonNull()
Content copied to clipboard
@NonNull()
Content copied to clipboard
removeObserver
Link copied to clipboard
removeTileRegion
Link copied to clipboard
setOption
Link copied to clipboard
tileRegionContainsDescriptors
Link copied to clipboard
open fun tileRegionContainsDescriptors(id: String, descriptors: List<TilesetDescriptor>, callback: TileRegionBooleanCallback)
Content copied to clipboard