add MapView.post(Runnable)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user