添加弹框取消时间(默认0s)
This commit is contained in:
@@ -376,10 +376,15 @@ public class TanluListWindow extends RelativeLayout implements IMogoMarkerClickL
|
||||
roadEventEntity.setNoveltyInfo(exploreWay);
|
||||
roadEventEntity.setPoiType(exploreWay.getPoiType());
|
||||
roadEventEntity.setOnlyShow(true);
|
||||
roadEventEntity.setExpireTime(20000);
|
||||
//地理位置
|
||||
MarkerLocation location = exploreWay.getLocation();
|
||||
roadEventEntity.setLocation(location);
|
||||
|
||||
V2XMessageEntity v2XMessageEntity = new V2XMessageEntity();
|
||||
v2XMessageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_ROAD_WARNING);
|
||||
v2XMessageEntity.setShowState(true);
|
||||
v2XMessageEntity.setNeedCompareSameScenario(false);
|
||||
|
||||
v2XMessageEntity.setContent(roadEventEntity);
|
||||
//更新数据
|
||||
|
||||
Reference in New Issue
Block a user