diff --git a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java index abd47e4663..5f5ed9d7fc 100644 --- a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java +++ b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java @@ -204,6 +204,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca public void onResume() { if (mMapView != null) { mMapView.onResume(); + initListeners(); Logger.d(TAG, "map onResume"); } } @@ -707,17 +708,17 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca @Override public void onMapStatusChanged(int type, int value) { - Logger.i(TAG, "mapop--onMapStatusChanged: "+type+","+value); + Log.i(TAG, "mapop--onMapStatusChanged: "+type+","+value); } @Override public void onCameraChange(int type, int value) { - Logger.i(TAG, "mapop--onCameraChange: "+type+","+value); + Log.i(TAG, "mapop--onCameraChange: "+type+","+value); } @Override public void onCameraChangeFinish(@Nullable CameraPosition cameraPosition) { - Logger.i(TAG, "mapop--onCameraChangeFinish: "+cameraPosition); + Log.i(TAG, "mapop--onCameraChangeFinish: "+cameraPosition); if ( cameraPosition != null ) { Trace.beginSection( "timer.onCameraChangeFinish" ); MogoMapListenerHandler.getInstance().onMapChanged(ObjectUtils.fromAMap( cameraPosition.getTarget() ),