目录

MapNaviPath

Class Info

public class MapNaviPath

规划路线信息描述实体类。

Public Method Summary

Qualifier and Type

Method Name and Description

void

addMatchedWayPoints(NaviLatLng matchedWayPoint)

添加与道路相匹配的途径点坐标。

void

addStep(MapNaviStep step)

添加路段信息。

void

addWayPoints(NaviLatLng pnt)

添加途径点。

void

collectTrafficLightInfo()

收集红绿灯信息。

List<FurnitureInfo>

getAdminAreas()

获取行政区数据。

int[]

getAllLegDuration()

获取所有leg的耗费时长集合。

float[]

getAllLegLength()

获取所有leg的距离集合。

int[]

getAllLegLinkCount()

获取所有leg中包含的Link数量。

int

getAllLength()

获取当前导航路线上的总长度。

List<MapNaviLink>

getAllLinks()

返回当前导航路线上分段路线集合。

List<NaviLatLng>

getAllMatchedPosition()

获取所有匹配后的途经点坐标集合。

List<MapNaviMergeStep>

getAllMergeSteps()

获取所有路书分段信息集合。

List<String>

getAllNaviTexts()

获取全量导航播报文本。

List<NaviLatLng>

getAllOriginalPosition()

获取起点、途经点、终点的原始位置。

List<MapNaviStep>

getAllSteps()

获取当前导航路线上所有路段集合。

int

getAllTime()

获取当前导航路线所需时间,单位是秒。

List<List<NaviLatLng>>

getAvailableBubbleCrds()

获取可用于气泡展示的坐标点集合。

HashMap<Integer, Integer>

getBackupDivergentSegIndex4k()

备选路线分岔点在主路线的4k分段信息的分段索引。

FullScreenGuideInfo

getBackupFullScreenGuide()

获取4K导航备选路线全量信息。

LatLngBounds

getBoundsForPath()

获取该导航路线最小坐标点和最大坐标点围成的矩形区域。

byte[]

getBranchBuf()

获取用于计算的鱼骨图信息缓存数组。

List<FurnitureInfo>

getBranchCameraCoords()

获取鱼骨图上摄像头坐标集合。

List<Incident>

getBranchIncidentCoords()

获取鱼骨图上路况事件坐标集合。

Map<String, MapNaviBranch>

getBranchInfo()

获取鱼骨图道路id集合。

List<MapNaviBranch>

getBranchInfoList()

鱼骨图道路信息集合。

List<NaviLatLng>

getCameraCoordList()

获取电子眼的坐标列表。

NaviLatLng

getCenterForPath()

获取当前导航路线的中心点。

int[]

getConvertedAllLegDuration()

获取下标索引转换后的所有途径点之间的耗费时长集合。

List<Distance>

getConvertedAllLegLength()

获取下标索引转换后的所有途经点之间的距离集合。

Distance

getConvertedAllLength()

获取当前导航路线的总长度,并把总长度进行单位转换成公制或英制。

List<NaviLatLng>

getCoordList()

获取当前导航路线的所有坐标点。

byte[]

getCrdBuf()

获取路线形点的信息集合。

List<MapNaviCross>

getCrosses()

获取四维路口放大图集合。

List<CustomizedTtsPoint>

getCustomizedTtsPoints()

获取自定义的菜单播报点集合。

FurnitureInfo

getDistanceAndRoadNameForNextTurnPoint(NaviInfo naviInfo)

获取机动点距离起点的距离以及机动点后下条link的路名。

List<NaviLatLng>

getDivergentCrds()

获取备选路线和当前路线分叉后的所有形点。

int

getDivergentLinkIndex()

相对于当前主路线第一次分岔后的link在备选路线本身的索引。

NaviLatLng

getEndPoint()

获取当前路线方案的终点坐标。

FullScreenGuideInfo

getFullScreenGuide()

获取4K导航引导信息。

Set<String>

getIncidentIdSet()

获取交通事件路况的ID集合。

List<Incident>

getIncidents()

获取交通事件集合。

List<MapInsideRoad>

getInsideRoad()

获取路线的内部路集合。

List<Intersection>

getIntersections()

获取路口信息集合。

Queue<SegmentIndexInfo>

getIntersectionBoundaryIndexs()

获取所有路口放大图原始信息。

List<Incident>

getJamIncidentCoords()

获取所有复合拥堵路段前后200米或拥堵路段中的车祸事件。

List<List<MapNaviLink>>

getJamLinkList()

获取Link的道路坐标点集合。

NaviLatLng

getMatchedEnd()

获取匹配路线后的途经点的终点坐标。

NaviLatLng

getMatchedStart()

获取匹配路线后的途经点的起点坐标。

List<NaviLatLng>

getMatchedWayPoints()

获取匹配路线后的途经点的坐标集合。

List<Milestone>

getMilestoneList()

获取里程碑集合。

List<PassInfo>

getPassInfoList()

获取通行证信息。

String

getPathInfo()

获取规划路线成功或者失败的信息反馈。

MapNaviRouteLabel

getPathLabel()

获取当前路线标签信息。

List<Integer>

getPathType()

获取当前导航路线的路线解释标识。

byte[]

getPointBuf()

获取用于计算的引导点信息缓存。

int

getRemainingDist()

获取上一次刷新备选路线时该路线剩余距离。

int

getRemainingLightNum()

获取上一次刷新备选路线时该路线剩余红绿灯个数。

int

getRemainingTime()

获取上一次刷新备选路线时该路线剩余时间。

List<MapNaviRestrictionArea>

getRestrictionAreas()

获取限行区域信息集合。

List<MapRoadName>

getRoadNames()

获取路线合并后的道路名。

List<MapRoadSign>

getRoadSigns()

获取路线的路牌信息。

byte[]

getRouteBuf()

获取用于计算的路线描述信息缓存集合。

int

getRouteId()

获取当前路线在所有路线中的索引值,如果返回一条,就为0。

String

getRouteIdForTrace()

从轨迹中获取路线ID。

FurnitureInfo

getServerArea(int index)

根据服务区索引获取服务区信息。

FurnitureInfo

getServerArea(NaviLatLng coordinate)

根据经纬度获取服务区信息。

List<FurnitureInfo>

getServerAreas()

获取服务区集合。

byte[]

getShapesBuf()

获取用户计算的形点信息缓存集合。

NaviLatLng

getStartPoint()

获取当前路线方案的起点坐标。

int

getStepsCount()

获取当前导航路线上分段路线的总数。

short

getStrategy()

获取当前导航路线的路径计算策略。

int

getTaxiTolls()

获取选中方案的收费道路的坐出租车的费用,单位元。

int

getTollCost()

获取导航路段的花费金额,单位是元。

List<FurnitureInfo>

getTollGate()

获取收费站集合。

List<NaviLatLng>

getTrafficLightCoordList()

获取红绿灯的坐标列表集合。

int

getTrafficLightNum()

获取红绿灯数量。

List<MapTrafficStatus>

getTrafficStatuses()

获取当前路线的交通状态集合。

List<TurnPoint>

getTurnPoint()

获取机动点集合。

List<TurnPointInfo>

getTurnPointInfoList()

获取机动点信息List列表集合。

List<NaviLatLng>

getWayPoint()

获取当前路径的途经点坐标(仅支持驾车模式下获取)。

boolean

isPowerSaving()

判断当前路线是否为省电路线。

[h2]Public Methods

[h2]addMatchedWayPoints

Method

public void addMatchedWayPoints(NaviLatLng matchedWayPoint)

您调用此API可以添加与道路相匹配的途径点坐标。

Parameters

Name

Description

matchedWayPoint

与道路相关的途径点坐标信息。

[h2]addStep

Method

public void addStep(MapNaviStep step)

您调用此API可以往路段集合中添加一个路线信息。

Parameters

Name

Description

step

规划路线上的一个路段信息。

[h2]addWayPoints

Method

public void addWayPoints(NaviLatLng pnt)

您调用此API可以添加途径点。

Parameters

Name

Description

pnt

途径点的坐标信息。

[h2]collectTrafficLightInfo

Method

public void collectTrafficLightInfo()

您调用此API可以收集当前路段的红绿灯信息。

[h2]getAdminAreas

Method

public List<FurnitureInfo> getAdminAreas()

您调用此API可以获取行政区数据。

Returns

Type

Description

List<FurnitureInfo>

行政区数据列表。

[h2]getAllLegDuration

Method

public int[] getAllLegDuration()

您调用此API可以获取所有leg的耗费时长集合,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。

Returns

Type

Description

int[]

返回路线所有leg的耗费时长集合,单位:秒。

[h2]getAllLegLength

Method

public float[] getAllLegLength()

您调用此API可以获取所有leg的距离集合,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。

Returns

Type

Description

float[]

返回路线所有leg的距离集合,单位:米。

[h2]getAllLegLinkCount

Method

public int[] getAllLegLinkCount()

您调用此API可以获取所有leg中包含的Link数量,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。

Returns

Type

Description

int[]

返回所有leg中包含的Link数量。

[h2]getAllLength

Method

public int getAllLength()

您调用此API可以获取当前导航路线上的总长度。

Returns

Type

Description

int

返回当前导航路线是的总长度,单位:米。

[h2]getAllLinks

Method

public List<MapNaviLink> getAllLinks()

您调用此API可以获取当前导航路线上所有分段路线信息的集合。

Returns

Type

Description

List<MapNaviLink>

返回当前导航路线上所有分段路线信息的集合。

[h2]getAllMatchedPosition

Method

public List<NaviLatLng> getAllMatchedPosition()

您调用此API可以获取所有匹配后的途经点坐标集合。

Returns

Type

Description

List<NaviLatLng>

当前路线匹配后的途经点坐标集合。

[h2]getAllMergeSteps

Method

public List<MapNaviMergeStep> getAllMergeSteps()

您调用此API可以获取所有路书分段信息的集合。

Returns

Type

Description

List<MapNaviMergeStep>

返回当前导航路线所有路书分段信息集合。

[h2]getAllNaviTexts

Method

public List<String> getAllNaviTexts()

您调用此API可以获取全量导航播报文本。

Returns

Type

Description

List<String>

全量导航播报文本。

[h2]getAllOriginalPosition

Method

public List<NaviLatLng> getAllOriginalPosition()

您调用此API可以获取起点、途经点、终点的原始位置。

Returns

Type

Description

List<NaviLatLng>

起点、途经点、终点的原始位置。

[h2]getAllSteps

Method

public List<MapNaviStep> getAllSteps()

您调用此API可以获取当前导航路线上所有路段集合。

Returns

Type

Description

List<MapNaviStep>

返回当前导航路线是所有路段集合。

[h2]getAllTime

Method

public int getAllTime()

您调用此API可以获取当前导航路线所需时间,单位是秒。

Returns

Type

Description

int

返回当前导航路线所需时间。

[h2]getAvailableBubbleCrds

Method

public List<List<NaviLatLng>> getAvailableBubbleCrds()

您调用此API可以获取可用于气泡展示的坐标点集合。

Returns

Type

Description

List<List<NaviLatLng>>

返回当前导航路线是可用于展示气泡的坐标点集合。

[h2]getBackupDivergentSegIndex4k

Method

public HashMap<Integer, Integer> getBackupDivergentSegIndex4k()

您调用此API可以获取备选路线分岔点在主路线的4k分段信息的分段索引。

Returns

Type

Description

HashMap<Integer, Integer>

备选路线分岔点在主路线的4k分段信息的分段索引。

[h2]getBackupFullScreenGuide

Method

public FullScreenGuideInfo getBackupFullScreenGuide()

您调用此API可以获取4K导航备选路线全量信息。

Returns

Type

Description

FullScreenGuideInfo

4K导航备选路线全量信息,参见FullScreenGuideInfo。

[h2]getBoundsForPath

Method

public LatLngBounds getBoundsForPath()

您调用此API可以获取该导航路线最小坐标点和最大坐标点围成的矩形区域。

Returns

Type

Description

LatLngBounds

返回该导航路线最小坐标点和最大坐标点围成的矩形区域。

[h2]getBranchBuf

Method

public byte[] getBranchBuf()

您调用此API可以获取用于计算的鱼骨图信息缓存数组。

Returns

Type

Description

byte[]

返回用于计算的鱼骨图信息缓存数组。

[h2]getBranchCameraCoords

Method

public List<FurnitureInfo> getBranchCameraCoords()

您调用此API可以获取鱼骨图上摄像头坐标集合。

Returns

Type

Description

List<FurnitureInfo>

鱼骨图上摄像头坐标集合。

[h2]getBranchIncidentCoords

Method

public List<Incident> getBranchIncidentCoords()

您调用此API可以获取鱼骨图上路况事件坐标集合。

Returns

Type

Description

List<Incident>

鱼骨图上路况事件坐标集合。

[h2]getBranchInfo

Method

public Map<String, MapNaviBranch> getBranchInfo()

您调用此API可以获取鱼骨图道路id集合。

Returns

Type

Description

Map<String, MapNaviBranch>

鱼骨图道路id集合。

[h2]getBranchInfoList

Method

public List<MapNaviBranch> getBranchInfoList()

您调用此API可以获取鱼骨图道路信息集合。

Returns

Type

Description

List<MapNaviBranch>

鱼骨图道路信息集合。

[h2]getCameraCoordList

Method

public List<NaviLatLng> getCameraCoordList()

您调用此API可以获取电子眼的坐标列表集合。

Returns

Type

Description

List<NaviLatLng>

返回电子眼的坐标列表集合。

[h2]getCenterForPath

Method

public NaviLatLng getCenterForPath()

您调用此API可以获取当前导航路线的中心点。

Returns

Type

Description

NaviLatLng

返回当前导航路线的中心点。

[h2]getConvertedAllLegDuration

Method

public int[] getConvertedAllLegDuration()

您调用此API可以获取下标索引转换后的所有途经点之间耗费时长的集合。

Returns

Type

Description

int[]

返回下标索引转换后的途径点之间耗费时长的集合,单位:秒。

[h2]getConvertedAllLegLength

Method

public List<Distance> getConvertedAllLegLength()

您调用此API可以获取下标索引转换后的所有途经点之间的距离集合。

Returns

Type

Description

List<Distance>

返回下标索引转换后的所有途经点之间的距离集合。

[h2]getConvertedAllLength

Method

public Distance getConvertedAllLength()

您调用此API可以获取当前导航路线的总长度,单位为公制或英制。

Returns

Type

Description

Distance

返回当前导航路线总长度,单位为公制或英制。

[h2]getCoordList

Method

public List<NaviLatLng> getCoordList()

您调用此API可以获取当前导航路线上的所有坐标点。

Returns

Type

Description

List<NaviLatLng>

返回当前导航路线上的所有坐标点。

[h2]getCrdBuf

Method

public byte[] getCrdBuf()

您调用此API可以获取路线形点信息集合。

Returns

Type

Description

byte[]

返回路线形点的信息集合。

[h2]getCrosses

Method

public List<MapNaviCross> getCrosses()

您调用此API可以获取四维路口放大图集合。

Returns

Type

Description

List<MapNaviCross>

四维路口放大图集合,参见MapNaviCross。

[h2]getCustomizedTtsPoints

Method

public List<CustomizedTtsPoint> getCustomizedTtsPoints()

您调用此API可以获取自定义的彩蛋播报点集合。

Returns

Type

Description

List<CustomizedTtsPoint>

返回自定义彩蛋播报点集合。

[h2]getDistanceAndRoadNameForNextTurnPoint

Method

public FurnitureInfo getDistanceAndRoadNameForNextTurnPoint(NaviInfo naviInfo)

您调用此API可以获取机动点距离起点的距离以及机动点后下个路段的路名。

Parameters

Name

Description

naviInfo

与导航相关的信息类,详细见NaviInfo。

Returns

Type

Description

FurnitureInfo

返回最近一个距离与路名气泡信息相关类。

[h2]getDivergentCrds

Method

public List<NaviLatLng> getDivergentCrds()

您调用此API可以获取备选路线和当前路线分叉后形成的所有形点。

Returns

Type

Description

List<NaviLatLng>

返回与主路线分叉点后的路段形点集合。

[h2]getDivergentLinkIndex

Method

public int getDivergentLinkIndex()

您调用此API可以获取相对于当前主路线第一次分岔后的link在备选路线本身的索引。

Returns

Type

Description

int

相对于当前主路线第一次分岔后的link在备选路线本身的索引。

[h2]getEndPoint

Method

public NaviLatLng getEndPoint()

您调用此API可以获取当前路线的终点坐标。

Returns

Type

Description

NaviLatLng

返回当前路线的终点坐标信息类。

[h2]getFullScreenGuide

Method

public FullScreenGuideInfo getFullScreenGuide()

您调用此API可以获取4K导航引导信息。

Returns

Type

Description

FullScreenGuideInfo

4K导航引导信息。

[h2]getIncidentIdSet

Method

public Set<String> getIncidentIdSet()

您调用此API可以获取交通事件路况ID的集合。

Returns

Type

Description

Set<String>

返回交通事件路况ID的集合。

[h2]getIncidents

Method

public List<Incident> getIncidents()

您调用此API可以获取交通事件集合。

Returns

Type

Description

List<Incident>

返回交通事件集合。

[h2]getInsideRoad

Method

public List<MapInsideRoad> getInsideRoad()

您调用此API可以获取路线的内部路集合。

Returns

Type

Description

List<MapInsideRoad>

路线的内部路集合,参见MapInsideRoad。

[h2]getIntersections

Method

public List<Intersection> getIntersections()

您调用此API可以获取路口信息集合数据。

Returns

Type

Description

List<Intersection>

返回路口信息集合数据。

[h2]getIntersectionBoundaryIndexs

Method

public Queue<SegmentIndexInfo> getIntersectionBoundaryIndexs()

您调用此API可以获取所有路口放大图原始信息。

Returns

Type

Description

Queue<SegmentIndexInfo>

返回路口信息集合数据,参见SegmentIndexInfo。

[h2]getJamIncidentCoords

Method

public List<Incident> getJamIncidentCoords()

您调用此API可以获取所有复合拥堵路段前后200米或拥堵路段中的车祸事件。

Returns

Type

Description

List<Incident>

所有复合拥堵路段前后200米或拥堵路段中的车祸事件。

[h2]getJamLinkList

Method

public List<List<MapNaviLink>> getJamLinkList()

您调用此API可以获取Link道路的坐标点集合。

Returns

Type

Description

List<List<MapNaviLink>>

返回Link的坐标点集合。

[h2]getMatchedEnd

Method

public NaviLatLng getMatchedEnd()

您调用此API可以获取匹配路线后的途径点的终点坐标。

Returns

Type

Description

NaviLatLng

返回匹配路线后的途经点的终点坐标。

[h2]getMatchedStart

Method

public NaviLatLng getMatchedStart()

您调用此API可以获取匹配路线后的途经点的起点坐标。

Returns

Type

Description

NaviLatLng

返回匹配路线后的途经点的起点坐标。

[h2]getMatchedWayPoints

Method

public List<NaviLatLng> getMatchedWayPoints()

您调用此API可以获取匹配路线后的途经点的坐标集合。

Returns

Type

Description

List<NaviLatLng>

返回匹配路线后的途经点的坐标集合。

[h2]getMilestoneList

Method

public List<Milestone> getMilestoneList()

您调用此API可以获取里程碑集合数据。

Returns

Type

Description

List<Milestone>

返回里程碑数据集合。

[h2]getPassInfoList

Method

public List<PassInfo> getPassInfoList()

您调用此API可以获取通行证信息。

Returns

Type

Description

List<PassInfo>

通行证信息,参见PassInfo。

[h2]getPathInfo

Method

public String getPathInfo()

您调用此API可以获取规划路线成功或者失败的信息反馈。

Returns

Type

Description

String

返回规划路线成功失败的信息反馈。

[h2]getPathLabel

Method

public MapNaviRouteLabel getPathLabel()

您调用此API可以获取当前路线标签信息。

Returns

Type

Description

MapNaviRouteLabel

当前路线标签信息。

[h2]getPathType

Method

public List<Integer> getPathType()

您调用此API可以获取当前导航路线的路线解释标识集合。

Returns

Type

Description

List<Integer>

返回当前导航路线的路线解释标识集合。

[h2]getPointBuf

Method

public byte[] getPointBuf()

您调用此API可以获取用于计算的引导点信息缓存集合。

Returns

Type

Description

byte[]

返回用于计算的引导点信息缓存集合。

[h2]getRemainingDist

Method

public int getRemainingDist()

您调用此API可以获取上一次刷新备选路线时该路线的剩余距离。

Returns

Type

Description

int

返回上一次刷新备选路线时该路线的剩余距离,单位:米。

[h2]getRemainingLightNum

Method

public int getRemainingLightNum()

您调用此API可以获取上一次刷新备选路线时该路线剩余红绿灯个数。

Returns

Type

Description

int

返回上一次刷新备选路线时该路线剩余红绿灯的个数。

[h2]getRemainingTime

Method

public int getRemainingTime()

您调用此API可以获取上一次刷新备选路线时该路线剩余时间。

Returns

Type

Description

int

返回上一次刷新备选路线时该路线剩余时间,单位:秒。

[h2]getRestrictionAreas

Method

public List<MapNaviRestrictionArea> getRestrictionAreas()

您调用此API可以获取获取限行区域信息集合。

Returns

Type

Description

List<MapNaviRestrictionArea>

限行区域信息集合,参见MapNaviRestrictionArea。

[h2]getRoadNames

Method

public List<MapRoadName> getRoadNames()

您调用此API可以获取路线合并后的道路名集合。

Returns

Type

Description

List<MapRoadName>

返回路线合并后的道路名集合。

[h2]getRoadSigns

Method

public List<MapRoadSign> getRoadSigns()

您调用此API可以获取路线的路牌信息集合。

Returns

Type

Description

List<MapRoadSign>

返回路线的路牌信息集合。

[h2]getRouteBuf

Method

public byte[] getRouteBuf()

您调用此API可以获取用于计算的路线描述信息的缓存集合。

Returns

Type

Description

byte[]

返回用于计算的路线描述信息缓存集合。

[h2]getRouteId

Method

public int getRouteId()

您调用此API可以获取当前路线在所有路线中的索引值,如果返回一条,就为0。

Returns

Type

Description

int

返回当前路线在所有路线中的索引值,如果返回一条,就为0。

[h2]getRouteIdForTrace

Method

public String getRouteIdForTrace()

您调用此API可以从轨迹中获取路线ID。

Returns

Type

Description

String

返回轨迹中获取的路线ID。

[h2]getServerArea(int index)

Method

public FurnitureInfo getServerArea(int index)

您调用此API可以根据服务区索引获取服务区信息。

Params

Name

Description

index

服务区的索引。

Returns

Type

Description

FurnitureInfo

返回根据服务区索引获取的服务区信息。

[h2]getServerArea(NaviLatLng coordinate)

Method

public FurnitureInfo getServerArea(NaviLatLng coordinate)

您调用此API可以根据经纬度获取服务区信息。

Params

Name

Description

coordinate

服务区的经纬度。

Returns。

Type

Description

FurnitureInfo

返回根据经纬度获取的服务区信息。

[h2]getServerAreas

Method

public List<FurnitureInfo> getServerAreas()

您调用此API可以获取服务区信息集合。

Returns

Type

Description

List<FurnitureInfo>

返回服务区信息集合。

[h2]getShapesBuf

Method

public byte[] getShapesBuf()

您调用此API可以获取用于计算的形点信息缓存集合。

Returns

Type

Description

byte[]

返回用于计算的形点信息缓存集合。

[h2]getStartPoint

Method

public NaviLatLng getStartPoint()

您调用此API可以获取当前路线方案的起点坐标。

Returns

Type

Description

NaviLatLng

返回当前路线方案上的起点坐标。

[h2]getStepsCount

Method

public int getStepsCount()

您调用此API可以获取当前导航路线上分段路线的总数。

Returns

Type

Description

int

返回当前导航路线上分段路线的总数。

[h2]getStrategy

Method

public short getStrategy()

您调用此API可以获取当前导航路线的路径计算策略。

Returns

Type

Description

short

返回当前导航路线的路径计算策略。

[h2]getTaxiTolls

Method

public int getTaxiTolls()

您调用此API可以获取选中出行方案中坐出租车的费用,单位是元。

Returns

Type

Description

int

返回选中出行方案中坐出租车的费用,单位是元。

[h2]getTollCost

Method

public int getTollCost()

您调用此API可以获取导航路段的花费金额。

Returns

Type

Description

int

返回导航路段的花费金额。

[h2]getTollGate

Method

public List<FurnitureInfo> getTollGate()

您调用此API可以获取收费站集合。

Returns

Type

Description

List<FurnitureInfo>

收费站集合。

[h2]getTraficLightCoordList

Method

public List<NaviLatLng> getTrafficLightCoordList()

您调用此API可以获取红绿灯的坐标列表集合。

Returns

Type

Description

List<NaviLatLng>

返回红绿灯坐标集合。

[h2]getTrafficLightNum

Method

public int getTrafficLightNum()

您调用此API可以获取红绿灯数量。

Returns

Type

Description

int

返回红绿灯数量。

[h2]getTrafficStatuses

Method

public List<MapTrafficStatus> getTrafficStatuses()

您调用此API可以获取当前路线的交通状态集合。

Returns

Type

Description

List<MapTrafficStatus>

返回当前路线的交通状态集合。

[h2]getTurnPoint

Method

public List<TurnPoint> getTurnPoint()

您调用此API可以获取机动点集合。

Returns

Type

Description

List<TurnPoint>

机动点集合,参见TurnPoint。

[h2]getTurnPointInfoList

Method

public List<TurnPointInfo> getTurnPointInfoList()

您调用此API可以获取机动点信息列表集合。

Returns

Type

Description

List<TurnPointInfo>

返回机动点信息列表集合。

[h2]getWayPoint

Method

public List<NaviLatLng> getWayPoint()

您调用此API可以获取当前路径的途经点坐标(仅在驾车模式下)。

Returns

Type

Description

List<NaviLatLng>

返回当前路径的途经点坐标。

[h2]isPowerSaving

Method

public boolean isPowerSaving()

您调用此API可以判断当前路线是否为省电路线。

Returns

Type

Description

boolean

当前路线是否为省电路线

  • true:是
  • false:否