android: add accessor for mMap

This commit is contained in:
Hannes Janetzek
2014-03-21 23:27:04 +01:00
parent 4fb3d13404
commit 19b040c7e6

View File

@@ -52,6 +52,10 @@ public abstract class MapActivity extends FragmentActivity {
protected Map mMap;
public Map map() {
return mMap;
}
@Override
protected void 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.
*
*
* @param map
* the calling MapView.
*/