Merge remote-tracking branch 'origin/dev_custom_map' into dev_custom_map

This commit is contained in:
wangcongtao
2020-07-24 14:38:32 +08:00

View File

@@ -78,6 +78,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
public AMapViewWrapper(MapAutoView mMapView) {
Logger.i(TAG, "autoop--AMapViewWrapper: init");
this.mMapView = mMapView;
initListeners();
this.mIMap = new AMapWrapper(this.mMapView.getMapAutoViewHelper(), this.mMapView, this);
}
@@ -195,7 +196,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
mMapView.onCreate(bundle);
Logger.d(TAG, "map onCreate");
initMapView();
initListeners();
// initMyLocation();
}
}
@@ -204,7 +205,6 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
public void onResume() {
if (mMapView != null) {
mMapView.onResume();
initListeners();
Logger.d(TAG, "map onResume");
}
}