android: remove MapActivity

- see vtm-android-start for an example use of MapView
- add MapPreferences

- update android-start
- android-example: use appcompat actionbar
This commit is contained in:
Hannes Janetzek
2014-10-20 05:14:00 +02:00
parent 0c5a7e7aa6
commit b1cfdfd454
15 changed files with 197 additions and 187 deletions

View File

@@ -41,11 +41,17 @@ public class PathOverlayActivity extends BitmapTileMapActivity {
createLayers(1, true);
mMap.setMapPosition(0, 0, 1 << 2);
looooop();
}
@Override
protected void onResume() {
super.onResume();
/* ignore saved position */
mMap.setMapPosition(0, 0, 1 << 2);
mMapView.onResume();
}
void looooop() {
mMap.postDelayed(new Runnable() {
@Override