public class AMapTrafficIncidentInfo
extends java.lang.Object
| 构造器和说明 |
|---|
AMapTrafficIncidentInfo(RouteIncident incident) |
AMapTrafficIncidentInfo(TravelRouteIncident incident) |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getLatitude()
获取事件地点的纬度
Get the latitude of the incident location |
float |
getLongitude()
获取事件地点的经度
Get the longitude of the incident location |
java.lang.String |
getTitle()
获取事件标题
Get the incident title |
int |
getType()
|
void |
setLatitude(float latitude) |
void |
setLongitude(float longitude) |
void |
setTitle(java.lang.String title) |
void |
setType(int type) |
public AMapTrafficIncidentInfo(RouteIncident incident)
public AMapTrafficIncidentInfo(TravelRouteIncident incident)
public float getLongitude()
public void setLongitude(float longitude)
public float getLatitude()
public void setLatitude(float latitude)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public int getType()
public void setType(int type)