Merge branch 'test_MogoAP_eagle-220_211207_8.0.15.2'

This commit is contained in:
donghongyu
2022-01-19 12:01:45 +08:00
4 changed files with 122 additions and 93 deletions

View File

@@ -166,6 +166,9 @@ public class SmallMapDirectionView
@Override
public void onLocationChanged(@Nullable MogoLocation location) {
//Logger.d(TAG, "onCarLocationChanged2 :" + location.getLatitude()+":"+location.getLongitude());
if (location == null){
return;
}
LatLng currentLatLng = new LatLng(location.getLatitude(), location.getLongitude());
//更新车辆位置
if (mCarMarker != null) {

View File

@@ -16,10 +16,10 @@ enum class TrafficTypeEnum(
) {
TYPE_TRAFFIC_ID_WEI_ZHI(
0,
100,
"未知数据",
R.raw.special_vehicle,
R.raw.special_vehicle
R.raw.v2x_shigong_warning,
R.raw.v2x_shigong_warning
),
TYPE_TRAFFIC_ID_PEOPLE(
1,