| java.lang.Object | ||
| ↳ | com.carto.datasources.TileDataSource | |
| ↳ | com.carto.datasources.CartoOnlineTileDataSource | |
An online tile data source that connects to Carto tile server.
This data source can be used with both vector and raster tiles,
depending on the specified source id.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CartoOnlineTileDataSource(String source)
Constructs a CartoOnlineTileDataSource object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.datasources.TileDataSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a CartoOnlineTileDataSource object.
| source | Tile source id. For example "carto.streets". |
|---|
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. |
|---|