| java.lang.Object | |
| ↳ | com.tencent.tencentmap.mapsdk.maps.model.Tile |
通过 TileProvider 获取的瓦片对象
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static Tile | EMPTY_TILE | ||||||||||
| public final byte[] | mData | ||||||||||
| public final int | mHeight | ||||||||||
| public final int | mWidth | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Tile(int width, int height, byte[] data)
栅格瓦片构造方法
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| byte[] | getData() | ||||||||||
| static Bitmap | getNoTileBitmap() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
栅格瓦片构造方法
| width | 图片的宽度,单位:px |
|---|---|
| height | 图片的高度,单位:px |
| data | 图片数据,可以通过 decodeByteArray(byte[], int, int) 生成 Bitmap 对象
|