add MapView.post(Runnable)

This commit is contained in:
Hannes Janetzek
2013-07-26 03:12:56 +02:00
parent 7ca6ae05b4
commit 23a26eb18c
3 changed files with 13 additions and 1 deletions

View File

@@ -163,10 +163,14 @@ public class AndroidMapView extends RelativeLayout {
mClearMap = false;
}
}
@Override
public boolean postRunnable(Runnable runnable) {
return post(runnable);
}
};
mGLView = new GLView(context, mMapView);
mCompass = new Compass(mapActivity, mMapView);
mapActivity.registerMapView(mMapView);
@@ -181,6 +185,7 @@ public class AndroidMapView extends RelativeLayout {
mMapView.updateMap(false);
}
public MapView getMap() {
return mMapView;
}