1. UI 走查修改
2. 其他修复。
This commit is contained in:
@@ -34,10 +34,12 @@ public class AMapBaseMapView extends MogoBaseMapView {
|
||||
@Override
|
||||
protected IMogoMapView createMapView( Context context ) {
|
||||
IMogoMapView mapView = AMapViewHandler.getMapView();
|
||||
if ( mapView.getMapView().getParent() != null ) {
|
||||
if ( mapView != null
|
||||
&& mapView.getMapView()!= null
|
||||
&& mapView.getMapView().getParent() != null ) {
|
||||
ViewGroup group = ( ViewGroup ) mapView.getMapView().getParent();
|
||||
group.removeView( mapView.getMapView() );
|
||||
}
|
||||
return AMapViewHandler.getMapView();
|
||||
return mapView;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user