解决BUG
【在线车辆】在线车辆,相同位置显示了两个车,其实只有一辆车也只有这辆车可以被选中 http://jira.zhidaohulian.com/projects/UI/issues/UI-140?filter=myopenissues 原因是因为之前说和在线车辆使用同样数据的车聊聊返回了数据导致同一个位置多个车辆绘制
This commit is contained in:
@@ -258,20 +258,20 @@ public class MapMarkerManager implements IMogoMarkerClickListener, IMogoOnMessag
|
||||
List<MarkerShareMusic> shareMusicList = markerCardResult.getShareMusic();
|
||||
List<MarkerNoveltyInfo> noveltyInfoList = markerCardResult.getNoveltyInfo();
|
||||
|
||||
if (carChatList != null) {
|
||||
for (MarkerCarChat markerCarChat : carChatList) {
|
||||
MarkerLocation markerLocation = markerCarChat.getLocation();
|
||||
|
||||
MarkerShowEntity markerShowEntity = new MarkerShowEntity();
|
||||
markerShowEntity.setBindObj(markerCarChat);
|
||||
markerShowEntity.setMarkerLocation(markerLocation);
|
||||
markerShowEntity.setMarkerType(markerCarChat.getType());
|
||||
markerShowEntity.setTextContent(markerCarChat.getUserInfo().getUserName());
|
||||
markerShowEntity.setIconUrl(markerCarChat.getUserInfo().getUserHead());
|
||||
|
||||
drawMapMarker(markerShowEntity);
|
||||
}
|
||||
}
|
||||
// if (carChatList != null) {
|
||||
// for (MarkerCarChat markerCarChat : carChatList) {
|
||||
// MarkerLocation markerLocation = markerCarChat.getLocation();
|
||||
//
|
||||
// MarkerShowEntity markerShowEntity = new MarkerShowEntity();
|
||||
// markerShowEntity.setBindObj(markerCarChat);
|
||||
// markerShowEntity.setMarkerLocation(markerLocation);
|
||||
// markerShowEntity.setMarkerType(markerCarChat.getType());
|
||||
// markerShowEntity.setTextContent(markerCarChat.getUserInfo().getUserName());
|
||||
// markerShowEntity.setIconUrl(markerCarChat.getUserInfo().getUserHead());
|
||||
//
|
||||
// drawMapMarker(markerShowEntity);
|
||||
// }
|
||||
// }
|
||||
|
||||
if (onlineCarList != null) {
|
||||
IMogoMarker nearlyMogoMarker = null;
|
||||
|
||||
Reference in New Issue
Block a user