修改车辆移动时间问题

This commit is contained in:
jiaguofeng
2020-06-24 14:44:58 +08:00
parent 51e3937d8c
commit 8cedff650a

View File

@@ -464,14 +464,7 @@ public class AMapMarkerWrapper implements IMogoMarker, Observer {
return;
}
// mMarker.startSmooth(newPoints,duration);
// if (mMovingPointOverlay == null) {
// mMovingPointOverlay = new MovingPointOverlay(AMapWrapper.getAMap(), mMarker);
// }
mMarker.startSmooth(newPoints,duration);
// mMovingPointOverlay.setPoints(newPoints);
// mMovingPointOverlay.setTotalDuration(duration);
// mMovingPointOverlay.startSmoothMove();
mMarker.startSmooth(newPoints,duration*1000);
}
}