From 30a9f65f9023f289c7ee3b52187c641cc0eb1810 Mon Sep 17 00:00:00 2001 From: wangcongtao Date: Fri, 17 Jan 2020 13:19:58 +0800 Subject: [PATCH] opt --- .idea/misc.xml | 2 +- config.gradle | 7 ++----- .../java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 707ee6e613..2dc54c489f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/config.gradle b/config.gradle index d18358877d..63e0402989 100644 --- a/config.gradle +++ b/config.gradle @@ -101,8 +101,8 @@ ext { // 在线车辆 moduleonlinecar : "com.mogo.module:module-onlinecar:${MOGO_MODULE_ONLINECAR_VERSION}", modulemedia : "com.mogo.module:module-media:${MOGO_MODULE_MEDIA_VERSION}", - modulesearch : "com.mogo.module:module-search:${MOGO_MODULE_SEARCH_VERSION}", - + modulesearch : "com.mogo.module:module-search:${MOGO_MODULE_SEARCH_VERSION}", + modulepush : "com.mogo.module:module-push:${MOGO_MODULE_PUSH_VERSION}", // 长链 socketsdk : 'com.zhidao.socketsdk:socketsdk:2.1.0', socketsdkconnsvrprotoco : 'com.zhidao.ptech:connsvr-protoco:0.1.23', @@ -113,8 +113,5 @@ ext { // 统一登录 accountsdk : "com.zhidao.accountservice:account-sdk:1.0.4", - - modulepush : "com.mogo.module:module-push:${MOGO_MODULE_PUSH_VERSION}", - ] } \ No newline at end of file diff --git a/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java b/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java index a94702a4fa..a21558e292 100644 --- a/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java +++ b/libraries/map-amap/src/main/java/com/mogo/map/impl/amap/AMapNaviViewWrapper.java @@ -405,7 +405,7 @@ public class AMapNaviViewWrapper implements IMogoMapView, Logger.e( TAG, "latlng = null or is illegal" ); return; } - mMapView.getMap().animateCamera( CameraUpdateFactory.newLatLng( new LatLng( latLng.lat, latLng.lng ) ) ); + mMapView.getMap().moveCamera( CameraUpdateFactory.newLatLng( new LatLng( latLng.lat, latLng.lng ) ) ); } @Override