public class AMapNaviStep
extends java.lang.Object
| 构造器和说明 |
|---|
AMapNaviStep() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getChargeLength()
获取该路段收费路段距离
Get the distance of toll road segment in this route segment. |
java.util.List<NaviLatLng> |
getCoords()
获取该路段坐标点集
Get the coordinate point set of this route segment |
int |
getEndIndex()
获取该路段终点index
Get the end index of this route segment |
int |
getIconType()
获取当前路段的转向动作类型
Get the turn action type of the current route segment |
int |
getLength()
获取该路段长度
Get the length of this route segment |
java.util.List<AMapNaviLink> |
getLinks()
获取该路段Link集
Get the Link set of this route segment |
int |
getStartIndex()
获取该路段起点index
Get the start index of this route segment |
int |
getTime()
获取该路段耗时
Get the time consumption of this route segment |
int |
getTollCost()
获取该路段的收费金额
Get the toll cost of this route segment. |
int |
getTrafficLightCount()
获取该路段红绿灯总数
Get the total number of traffic lights in this route segment |
int |
getTrafficLightNumber()
获取该路段中红绿灯总数
Get the total number of traffic lights in this route segment |
boolean |
isArriveWayPoint()
该路段是否经过途经点
Whether this route segment passes through a waypoint. |
void |
setChargeLength(int chargeLength)
设置该路段收费路段距离
Set the distance of toll road segment in this route segment |
void |
setCoords(java.util.List<NaviLatLng> coors)
设置该路段坐标点集
Set the coordinate point set of this route segment |
void |
setEndIndex(int endIndex)
设置该路段终点index
Set the end index of this route segment |
void |
setIconType(int iconType) |
void |
setIsArriveWayPoint(boolean isArriveWayPoint) |
void |
setLength(int length)
设置该路段长度
Set the length of this route segment |
void |
setLinks(java.util.List<AMapNaviLink> aMapNaviLinks)
设置该路段Link集
Set the Link set of this route segment |
void |
setStartIndex(int startIndex)
设置该路段起点index
Set the start index of this route segment |
void |
setTime(int time)
设置该路段耗时
Set the time consumption of this route segment |
void |
setTollCost(int tollCost) |
void |
setTrafficLightCount(int trafficLightCount) |
public int getStartIndex()
public void setStartIndex(int startIndex)
startIndex - 该路段起点Indexpublic int getEndIndex()
public void setEndIndex(int endIndex)
endIndex - 路段终点indexpublic int getLength()
public void setLength(int length)
length - 该路段长度public int getTime()
public void setTime(int time)
time - 该路段耗时public int getChargeLength()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode
public void setChargeLength(int chargeLength)
chargeLength - 该路段收费路段距离public java.util.List<NaviLatLng> getCoords()
public void setCoords(java.util.List<NaviLatLng> coors)
coors - 该路段坐标点集public java.util.List<AMapNaviLink> getLinks()
public void setLinks(java.util.List<AMapNaviLink> aMapNaviLinks)
aMapNaviLinks - 该路段Link集public void setIconType(int iconType)
iconType - public int getIconType()
public int getTollCost()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode
public void setTollCost(int tollCost)
tollCost - public int getTrafficLightCount()
public void setTrafficLightCount(int trafficLightCount)
trafficLightCount - public int getTrafficLightNumber()
public boolean isArriveWayPoint()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode
public void setIsArriveWayPoint(boolean isArriveWayPoint)
isArriveWayPoint -