增加吸附道路算法

This commit is contained in:
tongchenfei
2021-03-02 17:55:31 +08:00
parent 35ca1f9f9a
commit 898275d1c0
3 changed files with 89 additions and 10 deletions

View File

@@ -479,8 +479,8 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
return;
}
// mMarker.startSmooth( newPoints, ( int ) duration );
mMarker.addDynamicAnchorPostion( newPoints.get( newPoints.size() - 1 ), ( int ) duration );
mMarker.startSmooth( newPoints, ( int ) duration );
// mMarker.addDynamicAnchorPostion( newPoints.get( newPoints.size() - 1 ), ( int ) duration );
}
@Override