public class MapView
extends FrameLayout
| 构造器和说明 |
|---|
MapView(Context paramContext)
根据给定的参数构造一个 MapView 的新对象。
|
MapView(Context paramContext,
AMapOptions mapOptions)
根据给定的参数构造一个MapView 的新对象。
|
MapView(Context paramContext,
AttributeSet paramAttributeSet)
根据给定的参数构造一个 MapView 的新对象。
|
MapView(Context paramContext,
AttributeSet paramAttributeSet,
int paramInt)
根据给定的参数构造一个 MapView 的新对象。
|
| 限定符和类型 | 方法和说明 |
|---|---|
AMap |
getMap()
返回一个与这个视图(View)相关联的AMap 对象。
|
void |
onCreate(Bundle paramBundle)
用户重写这个方法时必须调用父类的这个方法。
|
void |
onDestroy()
用户重写这个方法时必须调用父类的这个方法。
|
void |
onLowMemory()
已过时。
|
void |
onPause()
用户重写这个方法时必须调用父类的这个方法。
|
void |
onResume()
用户重写这个方法时必须调用父类的这个方法。
|
void |
onSaveInstanceState(Bundle paramBundle)
用户重载这个方法时必须调用父类的这个方法。
|
public MapView(Context paramContext)
public MapView(Context paramContext,
AttributeSet paramAttributeSet)
public MapView(Context paramContext,
AttributeSet paramAttributeSet,
int paramInt)
public MapView(Context paramContext,
AMapOptions mapOptions)
public AMap getMap()
public final void onCreate(Bundle paramBundle)
paramBundle - 一个Bundle对象。public final void onResume()
public final void onPause()
public final void onDestroy()
public final void onLowMemory()
public final void onSaveInstanceState(Bundle paramBundle)
paramBundle - Bundle对象。