| java.lang.Object | ||
| ↳ | Fragment | |
| ↳ | com.tencent.tencentmap.mapsdk.maps.SupportMapFragment | |
含有 MapView 的Fragment, 由于 API Level要求在 12 以下的应用中。
如果你的应用要求在 API Level 12以上,用 MapFragment 代替。
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SupportMapFragment() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TencentMap |
getMap()
获取当前Fragment的
MapView 关联的 TencentMap对象。 | ||||||||||
| static SupportMapFragment |
newInstance(Context mContex)
创建一个新的SupportMapFragment
| ||||||||||
| View | onCreateView(LayoutInflater layoutinflater, ViewGroup viewgroup, Bundle bundle) | ||||||||||
| void | onDestroy() | ||||||||||
| void | onDestroyView() | ||||||||||
| void | onLowMemory() | ||||||||||
| void | onPause() | ||||||||||
| void | onResume() | ||||||||||
| void | onSaveInstanceState(Bundle bundle) | ||||||||||
| void | onStart() | ||||||||||
| void | onStop() | ||||||||||
| void | setArguments(Bundle bundle) | ||||||||||
| void | setOnTop(boolean isOnTop) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
创建一个新的SupportMapFragment
| mContex | 要创建的Context, 参见 Android Context |
|---|