public class AMapTrafficIncidentInfo
extends java.lang.Object
构造器和说明 |
---|
AMapTrafficIncidentInfo(RouteIncident incident) |
AMapTrafficIncidentInfo(TravelRouteIncident incident) |
限定符和类型 | 方法和说明 |
---|---|
float |
getLatitude()
获取事件地点的纬度
|
float |
getLongitude()
获取事件地点的经度
|
java.lang.String |
getTitle()
获取事件标题
|
int |
getType()
获取事件类型, 详情见
NaviIncidentType |
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()
NaviIncidentType
public void setType(int type)