| java.lang.Object | ||
| ↳ | com.carto.datasources.TileDataSource | |
| ↳ | com.carto.datasources.PackageManagerTileDataSource | |
A tile data source that loads tiles from package manager.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
PackageManagerTileDataSource(PackageManager packageManager)
Constructs a PackageManagerTileDataSource object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| PackageManager |
getPackageManager()
Returns the package manager instance used by the data source.
| ||||||||||
| TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.datasources.TileDataSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a PackageManagerTileDataSource object.
| packageManager | The package manager that is used to retrieve requested tiles. |
|---|
Returns the package manager instance used by the data source.
Loads the specified tile.
Note: the tile coordinate system used here is vertically flipped relative to layer tile coordinate system.
| mapTile | The tile to load. |
|---|