public class DistrictResult extends SearchResult
SearchResult.ERRORNO
Modifier and Type | Field and Description |
---|---|
LatLng |
centerPt |
int |
cityCode |
java.lang.String |
cityName |
static <any> |
CREATOR |
java.util.List<java.util.List<LatLng>> |
polylines |
error, status
Modifier | Constructor and Description |
---|---|
|
DistrictResult() |
protected |
DistrictResult(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
LatLng |
getCenterPt()
获取行政区域中心点
|
int |
getCityCode()
获取行政区域编码
|
java.lang.String |
getCityName()
获取行政区域名称
|
java.util.List<java.util.List<LatLng>> |
getPolylines()
获取行政区域边界坐标点
|
void |
setCenterPt(LatLng centerPt) |
void |
setCityCode(int cityCode) |
void |
setCityName(java.lang.String cityName) |
void |
setPolylines(java.util.List<java.util.List<LatLng>> polylines) |
void |
writeToParcel(Parcel dest,
int flags) |
public LatLng centerPt
public java.util.List<java.util.List<LatLng>> polylines
public int cityCode
public java.lang.String cityName
public static final <any> CREATOR
public DistrictResult()
protected DistrictResult(Parcel in)
public void setCityName(java.lang.String cityName)
public void setCenterPt(LatLng centerPt)
public void setPolylines(java.util.List<java.util.List<LatLng>> polylines)
public void setCityCode(int cityCode)
public LatLng getCenterPt()
public java.util.List<java.util.List<LatLng>> getPolylines()
public int getCityCode()
public java.lang.String getCityName()
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class SearchResult
public int describeContents()
describeContents
in class SearchResult