public abstract class UrlTileProvider extends java.lang.Object implements TileProvider
NO_TILE
Constructor and Description |
---|
UrlTileProvider() |
Modifier and Type | Method and Description |
---|---|
Tile |
getTile(int x,
int y,
int zoom,
MapTile.MapSource type,
java.lang.Object... args)
返回指定x, y, zoom值对应的栅格瓦片,
其中Tile的data必须是可以可以用BitmapFactory.decodeByteArray生成Bitmap的数据。
|
abstract java.net.URL |
getTileUrl(int x,
int y,
int zoom,
java.lang.Object... args)
根据瓦片参数,返回对应的服务器地址。服务器返回的必须是对应瓦片的png图片的数据流。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTileHeight, getTileWidth
public abstract java.net.URL getTileUrl(int x, int y, int zoom, java.lang.Object... args)
x
- y
- zoom
- public final Tile getTile(int x, int y, int zoom, MapTile.MapSource type, java.lang.Object... args)
TileProvider
getTile
in interface TileProvider
args
- 其它的参数.