加入了在线车辆卡片的更新接口

This commit is contained in:
董宏宇
2020-02-05 12:39:17 +08:00
parent 94043a34f8
commit 6a15cd2a25
2 changed files with 2 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/
USERNAME=xintai
PASSWORD=xintai2018
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
RELEASE=false
RELEASE=true
# 模块版本
DEMO_MODULE_MAP_VERSION=1.0.0-SNAPSHOT
DEMO_MODULE_MAP2_VERSION=1.0.0-SNAPSHOT

View File

@@ -355,6 +355,7 @@ public class MarkerServiceHandler {
// 在ACC on 之后第一次获取到了在线车辆数据选中最近的一个Marker
if (isFirstMarker) {
if (nearlyMogoMarker != null) {
getMogoCardManager().switch2(ServiceConst.CARD_TYPE_USER_DATA);
MarkerShowEntity markerShowEntity = (MarkerShowEntity) nearlyMogoMarker.getObject();
MarkerOnlineCar markerOnlineCar = (MarkerOnlineCar) markerShowEntity.getBindObj();
onLineCarCardViewProvider.updateView(markerOnlineCar);