平移点添加

This commit is contained in:
liujing
2021-03-31 22:14:46 +08:00
parent 2b417499c5
commit 1b113c29dd

View File

@@ -88,6 +88,8 @@ public class V2XWarningMarker implements IV2XMarker {
List<MogoLatLng> latLngs = new ArrayList<>();
MogoLatLng sLocation = new MogoLatLng(mMarkerEntity.getLat(), mMarkerEntity.getLon());
MogoLatLng endLocation = new MogoLatLng(mMarkerEntity.getCollisionLat(), mMarkerEntity.getCollisionLon());
latLngs.add(sLocation);
latLngs.add(endLocation);
marker.startSmoothInMs(latLngs, 15000);
}