修改监听问题

This commit is contained in:
jiaguofeng
2020-07-21 17:22:02 +08:00
parent 3ce313c5b8
commit ae8c5d5fd1

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");
}
}