Class Info |
|---|
public class MapNaviPath 规划路线信息描述实体类。 |
Qualifier and Type | Method Name and Description |
|---|---|
void | addMatchedWayPoints(NaviLatLng matchedWayPoint) 添加与道路相匹配的途径点坐标。 |
void | addStep(MapNaviStep step) 添加路段信息。 |
void | addWayPoints(NaviLatLng pnt) 添加途径点。 |
void | 收集红绿灯信息。 |
List<FurnitureInfo> | 获取行政区数据。 |
int[] | 获取所有leg的耗费时长集合。 |
float[] | 获取所有leg的距离集合。 |
int[] | 获取所有leg中包含的Link数量。 |
int | 获取当前导航路线上的总长度。 |
List<MapNaviLink> | 返回当前导航路线上分段路线集合。 |
List<NaviLatLng> | 获取所有匹配后的途经点坐标集合。 |
List<MapNaviMergeStep> | 获取所有路书分段信息集合。 |
List<String> | 获取全量导航播报文本。 |
List<NaviLatLng> | 获取起点、途经点、终点的原始位置。 |
List<MapNaviStep> | 获取当前导航路线上所有路段集合。 |
int | 获取当前导航路线所需时间,单位是秒。 |
List<List<NaviLatLng>> | 获取可用于气泡展示的坐标点集合。 |
HashMap<Integer, Integer> | getBackupDivergentSegIndex4k() 备选路线分岔点在主路线的4k分段信息的分段索引。 |
| 获取4K导航备选路线全量信息。 | |
| 获取该导航路线最小坐标点和最大坐标点围成的矩形区域。 | |
byte[] | 获取用于计算的鱼骨图信息缓存数组。 |
List<FurnitureInfo> | 获取鱼骨图上摄像头坐标集合。 |
List<Incident> | 获取鱼骨图上路况事件坐标集合。 |
Map<String, MapNaviBranch> | 获取鱼骨图道路id集合。 |
List<MapNaviBranch> | 鱼骨图道路信息集合。 |
List<NaviLatLng> | 获取电子眼的坐标列表。 |
| 获取当前导航路线的中心点。 | |
int[] | 获取下标索引转换后的所有途径点之间的耗费时长集合。 |
List<Distance> | 获取下标索引转换后的所有途经点之间的距离集合。 |
| 获取当前导航路线的总长度,并把总长度进行单位转换成公制或英制。 | |
List<NaviLatLng> | 获取当前导航路线的所有坐标点。 |
byte[] | 获取路线形点的信息集合。 |
List<MapNaviCross> | 获取四维路口放大图集合。 |
List<CustomizedTtsPoint> | 获取自定义的菜单播报点集合。 |
getDistanceAndRoadNameForNextTurnPoint(NaviInfo naviInfo) 获取机动点距离起点的距离以及机动点后下条link的路名。 | |
List<NaviLatLng> | 获取备选路线和当前路线分叉后的所有形点。 |
int | 相对于当前主路线第一次分岔后的link在备选路线本身的索引。 |
| 获取当前路线方案的终点坐标。 | |
| 获取4K导航引导信息。 | |
Set<String> | 获取交通事件路况的ID集合。 |
List<Incident> | 获取交通事件集合。 |
List<MapInsideRoad> | 获取路线的内部路集合。 |
List<Intersection> | 获取路口信息集合。 |
Queue<SegmentIndexInfo> | getIntersectionBoundaryIndexs() 获取所有路口放大图原始信息。 |
List<Incident> | 获取所有复合拥堵路段前后200米或拥堵路段中的车祸事件。 |
List<List<MapNaviLink>> | 获取Link的道路坐标点集合。 |
| 获取匹配路线后的途经点的终点坐标。 | |
| 获取匹配路线后的途经点的起点坐标。 | |
List<NaviLatLng> | 获取匹配路线后的途经点的坐标集合。 |
List<Milestone> | 获取里程碑集合。 |
List<PassInfo> | 获取通行证信息。 |
String | 获取规划路线成功或者失败的信息反馈。 |
| 获取当前路线标签信息。 | |
List<Integer> | 获取当前导航路线的路线解释标识。 |
byte[] | 获取用于计算的引导点信息缓存。 |
int | 获取上一次刷新备选路线时该路线剩余距离。 |
int | 获取上一次刷新备选路线时该路线剩余红绿灯个数。 |
int | 获取上一次刷新备选路线时该路线剩余时间。 |
List<MapNaviRestrictionArea> | 获取限行区域信息集合。 |
List<MapRoadName> | 获取路线合并后的道路名。 |
List<MapRoadSign> | 获取路线的路牌信息。 |
byte[] | 获取用于计算的路线描述信息缓存集合。 |
int | 获取当前路线在所有路线中的索引值,如果返回一条,就为0。 |
String | 从轨迹中获取路线ID。 |
getServerArea(int index) 根据服务区索引获取服务区信息。 | |
getServerArea(NaviLatLng coordinate) 根据经纬度获取服务区信息。 | |
List<FurnitureInfo> | 获取服务区集合。 |
byte[] | 获取用户计算的形点信息缓存集合。 |
| 获取当前路线方案的起点坐标。 | |
int | 获取当前导航路线上分段路线的总数。 |
short | 获取当前导航路线的路径计算策略。 |
int | 获取选中方案的收费道路的坐出租车的费用,单位元。 |
int | 获取导航路段的花费金额,单位是元。 |
List<FurnitureInfo> | 获取收费站集合。 |
List<NaviLatLng> | 获取红绿灯的坐标列表集合。 |
int | 获取红绿灯数量。 |
List<MapTrafficStatus> | 获取当前路线的交通状态集合。 |
List<TurnPoint> | 获取机动点集合。 |
List<TurnPointInfo> | 获取机动点信息List列表集合。 |
List<NaviLatLng> | 获取当前路径的途经点坐标(仅支持驾车模式下获取)。 |
boolean | 判断当前路线是否为省电路线。 |
Method |
|---|
public void addMatchedWayPoints(NaviLatLng matchedWayPoint) 您调用此API可以添加与道路相匹配的途径点坐标。 |
Parameters
Name | Description |
|---|---|
matchedWayPoint | 与道路相关的途径点坐标信息。 |
Method |
|---|
public void addStep(MapNaviStep step) 您调用此API可以往路段集合中添加一个路线信息。 |
Parameters
Name | Description |
|---|---|
step | 规划路线上的一个路段信息。 |
Method |
|---|
public void addWayPoints(NaviLatLng pnt) 您调用此API可以添加途径点。 |
Parameters
Name | Description |
|---|---|
pnt | 途径点的坐标信息。 |
Method |
|---|
public List<FurnitureInfo> getAdminAreas() 您调用此API可以获取行政区数据。 |
Returns
Type | Description |
|---|---|
List<FurnitureInfo> | 行政区数据列表。 |
Method |
|---|
public int[] getAllLegDuration() 您调用此API可以获取所有leg的耗费时长集合,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。 |
Returns
Type | Description |
|---|---|
int[] | 返回路线所有leg的耗费时长集合,单位:秒。 |
Method |
|---|
public float[] getAllLegLength() 您调用此API可以获取所有leg的距离集合,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。 |
Returns
Type | Description |
|---|---|
float[] | 返回路线所有leg的距离集合,单位:米。 |
Method |
|---|
public int[] getAllLegLinkCount() 您调用此API可以获取所有leg中包含的Link数量,leg是被途经点截断的起终点之间的路段,没有途经点时,leg为1(即起点到终点)。 |
Returns
Type | Description |
|---|---|
int[] | 返回所有leg中包含的Link数量。 |
Method |
|---|
public int getAllLength() 您调用此API可以获取当前导航路线上的总长度。 |
Returns
Type | Description |
|---|---|
int | 返回当前导航路线是的总长度,单位:米。 |
Method |
|---|
public List<MapNaviLink> getAllLinks() 您调用此API可以获取当前导航路线上所有分段路线信息的集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviLink> | 返回当前导航路线上所有分段路线信息的集合。 |
Method |
|---|
public List<NaviLatLng> getAllMatchedPosition() 您调用此API可以获取所有匹配后的途经点坐标集合。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 当前路线匹配后的途经点坐标集合。 |
Method |
|---|
public List<MapNaviMergeStep> getAllMergeSteps() 您调用此API可以获取所有路书分段信息的集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviMergeStep> | 返回当前导航路线所有路书分段信息集合。 |
Method |
|---|
public List<String> getAllNaviTexts() 您调用此API可以获取全量导航播报文本。 |
Returns
Type | Description |
|---|---|
List<String> | 全量导航播报文本。 |
Method |
|---|
public List<NaviLatLng> getAllOriginalPosition() 您调用此API可以获取起点、途经点、终点的原始位置。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 起点、途经点、终点的原始位置。 |
Method |
|---|
public List<MapNaviStep> getAllSteps() 您调用此API可以获取当前导航路线上所有路段集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviStep> | 返回当前导航路线是所有路段集合。 |
Method |
|---|
public int getAllTime() 您调用此API可以获取当前导航路线所需时间,单位是秒。 |
Returns
Type | Description |
|---|---|
int | 返回当前导航路线所需时间。 |
Method |
|---|
public List<List<NaviLatLng>> getAvailableBubbleCrds() 您调用此API可以获取可用于气泡展示的坐标点集合。 |
Returns
Type | Description |
|---|---|
List<List<NaviLatLng>> | 返回当前导航路线是可用于展示气泡的坐标点集合。 |
Method |
|---|
public HashMap<Integer, Integer> getBackupDivergentSegIndex4k() 您调用此API可以获取备选路线分岔点在主路线的4k分段信息的分段索引。 |
Returns
Type | Description |
|---|---|
HashMap<Integer, Integer> | 备选路线分岔点在主路线的4k分段信息的分段索引。 |
Method |
|---|
public FullScreenGuideInfo getBackupFullScreenGuide() 您调用此API可以获取4K导航备选路线全量信息。 |
Returns
Type | Description |
|---|---|
4K导航备选路线全量信息,参见FullScreenGuideInfo。 |
Method |
|---|
public LatLngBounds getBoundsForPath() 您调用此API可以获取该导航路线最小坐标点和最大坐标点围成的矩形区域。 |
Returns
Type | Description |
|---|---|
返回该导航路线最小坐标点和最大坐标点围成的矩形区域。 |
Method |
|---|
public byte[] getBranchBuf() 您调用此API可以获取用于计算的鱼骨图信息缓存数组。 |
Returns
Type | Description |
|---|---|
byte[] | 返回用于计算的鱼骨图信息缓存数组。 |
Method |
|---|
public List<FurnitureInfo> getBranchCameraCoords() 您调用此API可以获取鱼骨图上摄像头坐标集合。 |
Returns
Type | Description |
|---|---|
List<FurnitureInfo> | 鱼骨图上摄像头坐标集合。 |
Method |
|---|
public List<Incident> getBranchIncidentCoords() 您调用此API可以获取鱼骨图上路况事件坐标集合。 |
Returns
Type | Description |
|---|---|
List<Incident> | 鱼骨图上路况事件坐标集合。 |
Method |
|---|
public Map<String, MapNaviBranch> getBranchInfo() 您调用此API可以获取鱼骨图道路id集合。 |
Returns
Type | Description |
|---|---|
Map<String, MapNaviBranch> | 鱼骨图道路id集合。 |
Method |
|---|
public List<MapNaviBranch> getBranchInfoList() 您调用此API可以获取鱼骨图道路信息集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviBranch> | 鱼骨图道路信息集合。 |
Method |
|---|
public List<NaviLatLng> getCameraCoordList() 您调用此API可以获取电子眼的坐标列表集合。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回电子眼的坐标列表集合。 |
Method |
|---|
public NaviLatLng getCenterForPath() 您调用此API可以获取当前导航路线的中心点。 |
Returns
Type | Description |
|---|---|
返回当前导航路线的中心点。 |
Method |
|---|
public int[] getConvertedAllLegDuration() 您调用此API可以获取下标索引转换后的所有途经点之间耗费时长的集合。 |
Returns
Type | Description |
|---|---|
int[] | 返回下标索引转换后的途径点之间耗费时长的集合,单位:秒。 |
Method |
|---|
public List<Distance> getConvertedAllLegLength() 您调用此API可以获取下标索引转换后的所有途经点之间的距离集合。 |
Returns
Type | Description |
|---|---|
List<Distance> | 返回下标索引转换后的所有途经点之间的距离集合。 |
Method |
|---|
public Distance getConvertedAllLength() 您调用此API可以获取当前导航路线的总长度,单位为公制或英制。 |
Returns
Type | Description |
|---|---|
返回当前导航路线总长度,单位为公制或英制。 |
Method |
|---|
public List<NaviLatLng> getCoordList() 您调用此API可以获取当前导航路线上的所有坐标点。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回当前导航路线上的所有坐标点。 |
Method |
|---|
public byte[] getCrdBuf() 您调用此API可以获取路线形点信息集合。 |
Returns
Type | Description |
|---|---|
byte[] | 返回路线形点的信息集合。 |
Method |
|---|
public List<MapNaviCross> getCrosses() 您调用此API可以获取四维路口放大图集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviCross> | 四维路口放大图集合,参见MapNaviCross。 |
Method |
|---|
public List<CustomizedTtsPoint> getCustomizedTtsPoints() 您调用此API可以获取自定义的彩蛋播报点集合。 |
Returns
Type | Description |
|---|---|
List<CustomizedTtsPoint> | 返回自定义彩蛋播报点集合。 |
Method |
|---|
public FurnitureInfo getDistanceAndRoadNameForNextTurnPoint(NaviInfo naviInfo) 您调用此API可以获取机动点距离起点的距离以及机动点后下个路段的路名。 |
Parameters
Name | Description |
|---|---|
naviInfo | 与导航相关的信息类,详细见NaviInfo。 |
Returns
Type | Description |
|---|---|
返回最近一个距离与路名气泡信息相关类。 |
Method |
|---|
public List<NaviLatLng> getDivergentCrds() 您调用此API可以获取备选路线和当前路线分叉后形成的所有形点。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回与主路线分叉点后的路段形点集合。 |
Method |
|---|
public int getDivergentLinkIndex() 您调用此API可以获取相对于当前主路线第一次分岔后的link在备选路线本身的索引。 |
Returns
Type | Description |
|---|---|
int | 相对于当前主路线第一次分岔后的link在备选路线本身的索引。 |
Method |
|---|
public NaviLatLng getEndPoint() 您调用此API可以获取当前路线的终点坐标。 |
Returns
Type | Description |
|---|---|
返回当前路线的终点坐标信息类。 |
Method |
|---|
public FullScreenGuideInfo getFullScreenGuide() 您调用此API可以获取4K导航引导信息。 |
Returns
Type | Description |
|---|---|
4K导航引导信息。 |
Method |
|---|
public Set<String> getIncidentIdSet() 您调用此API可以获取交通事件路况ID的集合。 |
Returns
Type | Description |
|---|---|
Set<String> | 返回交通事件路况ID的集合。 |
Method |
|---|
public List<Incident> getIncidents() 您调用此API可以获取交通事件集合。 |
Returns
Type | Description |
|---|---|
List<Incident> | 返回交通事件集合。 |
Method |
|---|
public List<MapInsideRoad> getInsideRoad() 您调用此API可以获取路线的内部路集合。 |
Returns
Type | Description |
|---|---|
List<MapInsideRoad> | 路线的内部路集合,参见MapInsideRoad。 |
Method |
|---|
public List<Intersection> getIntersections() 您调用此API可以获取路口信息集合数据。 |
Returns
Type | Description |
|---|---|
List<Intersection> | 返回路口信息集合数据。 |
Method |
|---|
public Queue<SegmentIndexInfo> getIntersectionBoundaryIndexs() 您调用此API可以获取所有路口放大图原始信息。 |
Returns
Type | Description |
|---|---|
Queue<SegmentIndexInfo> | 返回路口信息集合数据,参见SegmentIndexInfo。 |
Method |
|---|
public List<Incident> getJamIncidentCoords() 您调用此API可以获取所有复合拥堵路段前后200米或拥堵路段中的车祸事件。 |
Returns
Type | Description |
|---|---|
List<Incident> | 所有复合拥堵路段前后200米或拥堵路段中的车祸事件。 |
Method |
|---|
public List<List<MapNaviLink>> getJamLinkList() 您调用此API可以获取Link道路的坐标点集合。 |
Returns
Type | Description |
|---|---|
List<List<MapNaviLink>> | 返回Link的坐标点集合。 |
Method |
|---|
public NaviLatLng getMatchedEnd() 您调用此API可以获取匹配路线后的途径点的终点坐标。 |
Returns
Type | Description |
|---|---|
返回匹配路线后的途经点的终点坐标。 |
Method |
|---|
public NaviLatLng getMatchedStart() 您调用此API可以获取匹配路线后的途经点的起点坐标。 |
Returns
Type | Description |
|---|---|
返回匹配路线后的途经点的起点坐标。 |
Method |
|---|
public List<NaviLatLng> getMatchedWayPoints() 您调用此API可以获取匹配路线后的途经点的坐标集合。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回匹配路线后的途经点的坐标集合。 |
Method |
|---|
public List<Milestone> getMilestoneList() 您调用此API可以获取里程碑集合数据。 |
Returns
Type | Description |
|---|---|
List<Milestone> | 返回里程碑数据集合。 |
Method |
|---|
public String getPathInfo() 您调用此API可以获取规划路线成功或者失败的信息反馈。 |
Returns
Type | Description |
|---|---|
String | 返回规划路线成功失败的信息反馈。 |
Method |
|---|
public MapNaviRouteLabel getPathLabel() 您调用此API可以获取当前路线标签信息。 |
Returns
Type | Description |
|---|---|
当前路线标签信息。 |
Method |
|---|
public List<Integer> getPathType() 您调用此API可以获取当前导航路线的路线解释标识集合。 |
Returns
Type | Description |
|---|---|
List<Integer> | 返回当前导航路线的路线解释标识集合。 |
Method |
|---|
public byte[] getPointBuf() 您调用此API可以获取用于计算的引导点信息缓存集合。 |
Returns
Type | Description |
|---|---|
byte[] | 返回用于计算的引导点信息缓存集合。 |
Method |
|---|
public int getRemainingDist() 您调用此API可以获取上一次刷新备选路线时该路线的剩余距离。 |
Returns
Type | Description |
|---|---|
int | 返回上一次刷新备选路线时该路线的剩余距离,单位:米。 |
Method |
|---|
public int getRemainingLightNum() 您调用此API可以获取上一次刷新备选路线时该路线剩余红绿灯个数。 |
Returns
Type | Description |
|---|---|
int | 返回上一次刷新备选路线时该路线剩余红绿灯的个数。 |
Method |
|---|
public int getRemainingTime() 您调用此API可以获取上一次刷新备选路线时该路线剩余时间。 |
Returns
Type | Description |
|---|---|
int | 返回上一次刷新备选路线时该路线剩余时间,单位:秒。 |
Method |
|---|
public List<MapNaviRestrictionArea> getRestrictionAreas() 您调用此API可以获取获取限行区域信息集合。 |
Returns
Type | Description |
|---|---|
List<MapNaviRestrictionArea> | 限行区域信息集合,参见MapNaviRestrictionArea。 |
Method |
|---|
public List<MapRoadName> getRoadNames() 您调用此API可以获取路线合并后的道路名集合。 |
Returns
Type | Description |
|---|---|
List<MapRoadName> | 返回路线合并后的道路名集合。 |
Method |
|---|
public List<MapRoadSign> getRoadSigns() 您调用此API可以获取路线的路牌信息集合。 |
Returns
Type | Description |
|---|---|
List<MapRoadSign> | 返回路线的路牌信息集合。 |
Method |
|---|
public byte[] getRouteBuf() 您调用此API可以获取用于计算的路线描述信息的缓存集合。 |
Returns
Type | Description |
|---|---|
byte[] | 返回用于计算的路线描述信息缓存集合。 |
Method |
|---|
public int getRouteId() 您调用此API可以获取当前路线在所有路线中的索引值,如果返回一条,就为0。 |
Returns
Type | Description |
|---|---|
int | 返回当前路线在所有路线中的索引值,如果返回一条,就为0。 |
Method |
|---|
public String getRouteIdForTrace() 您调用此API可以从轨迹中获取路线ID。 |
Returns
Type | Description |
|---|---|
String | 返回轨迹中获取的路线ID。 |
Method |
|---|
public FurnitureInfo getServerArea(int index) 您调用此API可以根据服务区索引获取服务区信息。 |
Params
Name | Description |
|---|---|
index | 服务区的索引。 |
Returns
Type | Description |
|---|---|
返回根据服务区索引获取的服务区信息。 |
Method |
|---|
public FurnitureInfo getServerArea(NaviLatLng coordinate) 您调用此API可以根据经纬度获取服务区信息。 |
Params
Name | Description |
|---|---|
coordinate | 服务区的经纬度。 |
Returns。
Type | Description |
|---|---|
返回根据经纬度获取的服务区信息。 |
Method |
|---|
public List<FurnitureInfo> getServerAreas() 您调用此API可以获取服务区信息集合。 |
Returns
Type | Description |
|---|---|
List<FurnitureInfo> | 返回服务区信息集合。 |
Method |
|---|
public byte[] getShapesBuf() 您调用此API可以获取用于计算的形点信息缓存集合。 |
Returns
Type | Description |
|---|---|
byte[] | 返回用于计算的形点信息缓存集合。 |
Method |
|---|
public NaviLatLng getStartPoint() 您调用此API可以获取当前路线方案的起点坐标。 |
Returns
Type | Description |
|---|---|
返回当前路线方案上的起点坐标。 |
Method |
|---|
public int getStepsCount() 您调用此API可以获取当前导航路线上分段路线的总数。 |
Returns
Type | Description |
|---|---|
int | 返回当前导航路线上分段路线的总数。 |
Method |
|---|
public short getStrategy() 您调用此API可以获取当前导航路线的路径计算策略。 |
Returns
Type | Description |
|---|---|
short | 返回当前导航路线的路径计算策略。 |
Method |
|---|
public int getTaxiTolls() 您调用此API可以获取选中出行方案中坐出租车的费用,单位是元。 |
Returns
Type | Description |
|---|---|
int | 返回选中出行方案中坐出租车的费用,单位是元。 |
Method |
|---|
public int getTollCost() 您调用此API可以获取导航路段的花费金额。 |
Returns
Type | Description |
|---|---|
int | 返回导航路段的花费金额。 |
Method |
|---|
public List<FurnitureInfo> getTollGate() 您调用此API可以获取收费站集合。 |
Returns
Type | Description |
|---|---|
List<FurnitureInfo> | 收费站集合。 |
Method |
|---|
public List<NaviLatLng> getTrafficLightCoordList() 您调用此API可以获取红绿灯的坐标列表集合。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回红绿灯坐标集合。 |
Method |
|---|
public int getTrafficLightNum() 您调用此API可以获取红绿灯数量。 |
Returns
Type | Description |
|---|---|
int | 返回红绿灯数量。 |
Method |
|---|
public List<MapTrafficStatus> getTrafficStatuses() 您调用此API可以获取当前路线的交通状态集合。 |
Returns
Type | Description |
|---|---|
List<MapTrafficStatus> | 返回当前路线的交通状态集合。 |
Method |
|---|
public List<TurnPointInfo> getTurnPointInfoList() 您调用此API可以获取机动点信息列表集合。 |
Returns
Type | Description |
|---|---|
List<TurnPointInfo> | 返回机动点信息列表集合。 |
Method |
|---|
public List<NaviLatLng> getWayPoint() 您调用此API可以获取当前路径的途经点坐标(仅在驾车模式下)。 |
Returns
Type | Description |
|---|---|
List<NaviLatLng> | 返回当前路径的途经点坐标。 |