public class MapRenderLayer extends MapView
| Constructor and Description |
|---|
MapRenderLayer(Context context,
TencentMapOptions tencentMapOptions)
根据给定的地图选项初始化地图
|
| Modifier and Type | Method and Description |
|---|---|
protected MapViewType |
getViewType() |
void |
onSurfaceChanged(java.lang.Object surface,
int width,
int height)
当需要更新Surface时(支持Surface/SurfaceTexture/SurfaceHolder),调用此方法
|
getMap, getMap, getMapPadding, onDestroy, onPause, onRestart, onResume, onSizeChanged, onStart, onStop, onTouchEvent, setMapPadding, setOnToppublic MapRenderLayer(Context context,
TencentMapOptions tencentMapOptions)
context - tencentMapOptions - 腾讯地图选项public final void onSurfaceChanged(java.lang.Object surface,
int width,
int height)
onSurfaceChanged in class MapViewsurface - 需要更新的Surfacewidth - 宽度height - 高度protected final MapViewType getViewType()