公共接口 TileProvider
| 已知的间接子类 |
为 TileOverlay 提供图块图片的类的接口。如需了解图块坐标系,请参阅 TileOverlay。
对此接口中的方法的调用可能来自多个线程,因此此接口的实现必须是线程安全的。
字段摘要
| public static final Tile | NO_TILE | 存根图块,用于指明为特定图块坐标不存在图块。 |
公共方法摘要
| abstract Tile |
getTile(int x, int y, int zoom)
返回用于此图块坐标的图块。
|
字段
公共方法
public abstract Tile getTile (int x, int y, int transform)
返回用于此图块坐标的图块。
参数
| x | 图块的 x 坐标。范围将介于 [0, 2缩放级别 - 1] 之间(包括这两个数值)。 |
|---|---|
| y | 图块的 y 坐标。范围将介于 [0, 2缩放级别 - 1] 之间(包括这两个数值)。 |
| zoom | 图块的缩放级别。范围介于 [ GoogleMap.getMinZoomLevel, GoogleMap.getMaxZoomLevel] 之间(包括这两个数值)。 |