From 5bcd35cb784e6a1925bc7e63b48ed7e77b157dcd Mon Sep 17 00:00:00 2001 From: wangcongtao Date: Wed, 27 Jan 2021 19:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=9B=BF=E6=8D=A2marker?= =?UTF-8?q?=E5=8A=A8=E6=95=88=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/map-custom/build.gradle | 2 +- .../com/mogo/map/impl/custom/marker/AMapMarkerWrapper.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/map-custom/build.gradle b/libraries/map-custom/build.gradle index fa504e51c5..d220fb2efe 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.0.5' + implementation 'com.zhidaoauto.machine:map:1.0.0-vr-8.0.6' // 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/marker/AMapMarkerWrapper.java b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/marker/AMapMarkerWrapper.java index 30ee988c50..5e50f5c9da 100644 --- a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/marker/AMapMarkerWrapper.java +++ b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/marker/AMapMarkerWrapper.java @@ -481,7 +481,8 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer { return; } - mMarker.startSmooth( newPoints, ( int ) duration ); +// mMarker.startSmooth( newPoints, ( int ) duration ); + mMarker.addDynamicAnchorPostion( newPoints.get( newPoints.size() - 1 ), ( int ) duration ); } @Override