| com.amazon.geo.mapsv2.model.TileProvider |
Known Indirect Subclasses
|
Interface for providing tile images for a TileOverlay. Method calls
may be made from multiple threads, so implementations must be thread safe.
See TileOverlay for information about the tile coordinate system.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NO_TILE | Tile that indicates that no tile exists for the specified
coordinates. |
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the
Tile for the given coordinates. | |||||||||||
Tile that indicates that no tile exists for the specified
coordinates.
Gets the Tile for the given coordinates. Note that calls to this
method may occur on multiple threads.
If you don't want to provide a Tile for a particular set of
coordinates, return NO_TILE.
If the Tile for a particular set of coordinates is not currently
available, return null. Subsequent requests are retried according
to an exponential backoff algorithm.
TileOverlay for more information about the tile coordinate
system.| x | The x coordinate of the Tile to retrieve, in the closed
range [0, 2zoom - 1]. |
|---|---|
| y | The y coordinate of the Tile to retrieve, in the closed
range [0, 2zoom - 1]. |
| zoom | The zoom level of the Tile to retrieve, in the closed
range [
AmazonMap.getMinZoomLevel(),
AmazonMap.getMaxZoomLevel()]. |