public abstract class OverSeaTileProvider extends UrlTileProvider
NO_TILE
构造器和说明 |
---|
OverSeaTileProvider(java.lang.String name,
int version)
创建海外图源供应
图源名不能为Null,否则将抛异常
|
限定符和类型 | 方法和说明 |
---|---|
abstract android.graphics.Bitmap |
getLogo(boolean isNight)
配置图源Logo
|
java.lang.String |
getProviderName()
获得图源名称
|
int |
getProviderVersion()
获得图源版本
|
boolean |
onDayNightChange(boolean isNight)
白天黑夜切换回调
|
boolean |
onLanguageChange(Language language)
语言切换回调
|
java.lang.String |
toString() |
getTile, getTileUrl, requestTileData
public OverSeaTileProvider(java.lang.String name, int version)
name
- 图源名称version
- 图源版本public final java.lang.String getProviderName()
public final int getProviderVersion()
public abstract android.graphics.Bitmap getLogo(boolean isNight)
isNight
- 白天黑夜public boolean onDayNightChange(boolean isNight)
isNight,
- true-黑夜 false-白天public boolean onLanguageChange(Language language)
language
- 语言public java.lang.String toString()
toString
在类中 java.lang.Object