字段补齐,测试数据添加
This commit is contained in:
@@ -49,6 +49,7 @@ public class V2XWarningMarker implements IV2XMarker {
|
||||
.longitude(markerShowEntity.getMarkerLocation().getLon());
|
||||
IMarkerView iMarkerView = MapMarkerAdapter.getMarkerView(mContext, markerShowEntity, options);
|
||||
options.icon3DRes(com.mogo.module.service.R.raw.people);
|
||||
options.anchorColor("#DC143C");
|
||||
IMogoMarker marker = V2XServiceManager.getMarkerManager().addMarker(markerShowEntity.getMarkerType(), options);
|
||||
iMarkerView.setMarker(marker);
|
||||
marker.setToTop();
|
||||
|
||||
@@ -75,7 +75,7 @@ public class V2XWarningWindow extends V2XBasWindow implements IV2XWindow {
|
||||
break;
|
||||
}
|
||||
distance.setText(String.valueOf(mV2XWarningEntity.getDistance()) + "米");
|
||||
warningTextView.setText(mV2XWarningEntity.getTipContent());
|
||||
warningTextView.setText(mV2XWarningEntity.getWarningContent());
|
||||
AIAssist.getInstance(V2XUtils.getApp()).speakTTSVoice(mV2XWarningEntity.getTts());
|
||||
}
|
||||
if (runnableV2XEvent == null) {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"type":0,
|
||||
"targetType": "1",
|
||||
"lat":39.977121,
|
||||
"lon":116.417537,
|
||||
"distance": 2.22,
|
||||
@@ -9,6 +8,11 @@
|
||||
"from": 1,
|
||||
"angle": 120,
|
||||
"direction": 10014,
|
||||
"speed":11.108121
|
||||
|
||||
"speed":11.108121,
|
||||
"targetColor": "#D8BFD8",
|
||||
"stopLineDistance":20,
|
||||
"stopLineLat": 39.977123,
|
||||
"stopLineLon": 116.417537,
|
||||
"warningContent": "小新行人",
|
||||
"heading": 30
|
||||
}
|
||||
Reference in New Issue
Block a user