android: add accessor for mMap
This commit is contained in:
@@ -52,6 +52,10 @@ public abstract class MapActivity extends FragmentActivity {
|
|||||||
|
|
||||||
protected Map mMap;
|
protected Map mMap;
|
||||||
|
|
||||||
|
public Map map() {
|
||||||
|
return mMap;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
@@ -91,7 +95,7 @@ public abstract class MapActivity extends FragmentActivity {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called once by each MapView during its setup process.
|
* This method is called once by each MapView during its setup process.
|
||||||
*
|
*
|
||||||
* @param map
|
* @param map
|
||||||
* the calling MapView.
|
* the calling MapView.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user