This commit is contained in:
tongchenfei
2020-10-22 15:24:46 +08:00
parent bb7f9a14fc
commit 258452a633
7 changed files with 69 additions and 76 deletions

View File

@@ -9,16 +9,19 @@ public class PoiWrapper {
private int id;
private String poiType;
private int iconRes;
private String iconUrl;
private String title;
private int iconInfoRes;
private String iconUrl = "";
private String iconInfoUrl = "";
private String title = "拥堵";
public PoiWrapper(){
}
public PoiWrapper(String poiType, int iconRes, String title) {
public PoiWrapper(String poiType, int iconRes,int iconInfoRes, String title) {
this.poiType = poiType;
this.iconRes = iconRes;
this.iconInfoRes = iconInfoRes;
this.title = title;
}
@@ -61,4 +64,20 @@ public class PoiWrapper {
public void setTitle(String title) {
this.title = title;
}
public int getIconInfoRes() {
return iconInfoRes;
}
public void setIconInfoRes(int iconInfoRes) {
this.iconInfoRes = iconInfoRes;
}
public String getIconInfoUrl() {
return iconInfoUrl;
}
public void setIconInfoUrl(String iconInfoUrl) {
this.iconInfoUrl = iconInfoUrl;
}
}