[dev_arch_opt_3.0]合并V2X模块无用的数据实体
This commit is contained in:
@@ -4,6 +4,8 @@ package com.mogo.eagle.core.data.map.entity;
|
||||
import android.text.TextUtils;
|
||||
|
||||
|
||||
import androidx.core.util.Pair;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -35,7 +37,10 @@ public class MarkerExploreWay implements Serializable {
|
||||
// 1 需要用户判断是否拥堵 进行UGC问答
|
||||
private int infoCheckNode;
|
||||
|
||||
public Map<String, Object> extras = null;
|
||||
|
||||
private Pair<Double, Double> gpsLocation;
|
||||
|
||||
private List<Pair<Double, Double>> polygon;
|
||||
|
||||
public String getAddr() {
|
||||
if (TextUtils.isEmpty(addr)) {
|
||||
@@ -170,6 +175,22 @@ public class MarkerExploreWay implements Serializable {
|
||||
this.uploadType = uploadType;
|
||||
}
|
||||
|
||||
public Pair<Double, Double> getGpsLocation() {
|
||||
return gpsLocation;
|
||||
}
|
||||
|
||||
public void setGpsLocation(Pair<Double, Double> gpsLocation) {
|
||||
this.gpsLocation = gpsLocation;
|
||||
}
|
||||
|
||||
public List<Pair<Double, Double>> getPolygon() {
|
||||
return polygon;
|
||||
}
|
||||
|
||||
public void setPolygon(List<Pair<Double, Double>> polygon) {
|
||||
this.polygon = polygon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
|
||||
Reference in New Issue
Block a user