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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user