diff --git a/libraries/map-custom/build.gradle b/libraries/map-custom/build.gradle index f068762c3d..7ea1928e1c 100644 --- a/libraries/map-custom/build.gradle +++ b/libraries/map-custom/build.gradle @@ -67,7 +67,7 @@ dependencies { implementation project(':foudations:mogo-commons') } - implementation 'com.zhidaoauto.machine:map:1.0.0-vr-8.5.15' + implementation 'com.zhidaoauto.machine:map:1.0.0-vr-8.5.21' // implementation 'com.zhidaoauto.machine:map:1.0.0-vr-test-3.4' } 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 b2cf600f67..9d01095b1a 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,7 +204,7 @@ public class AMapViewWrapper implements IMogoMapView, mMapView.registerListener(this, MapAutoApi.LISTENER_TYPE_ZOOM); mMapView.registerListener(this, MapAutoApi.LISTENER_TYPE_ROTATE); mMapView.registerListener(this, MapAutoApi.LISTENER_TYPE_3D); - mMapView.setMOnCameraChangeListener(this); + mMapView.setOnCameraChangeListener(this); mMapView.setOnMapStyleListener(this); Logger.d(TAG, "styleop - initListeners - setOnMapStyleListener - view %s", mMapView); @@ -268,7 +268,7 @@ public class AMapViewWrapper implements IMogoMapView, mMapView.setOnMapTouchListener(null); mMapView.setOnMapClickListener(null); mMapView.getLocationClient().unRegisterListener(this); - mMapView.setMOnCameraChangeListener(null); + mMapView.setOnCameraChangeListener(null); mSelfMarker = null; Logger.d(TAG, "map onDestroy"); }