AutoSDK  500
Public 成员函数 | 静态 Public 成员函数 | Protected 成员函数 | 所有成员列表
com.autonavi.gbl.route.model.RouteAosOption类 参考

AOS算路选项 更多...

Public 成员函数

 RouteAosOption (IRouteAosOptionImpl control)
 
void setFromX (String fromX)
 起始点X或者起始点X集合,集合使用|分隔,比如:x1|x2... 更多...
 
void setFromY (String fromY)
 起始点Y或者起始点Y集合,集合使用|分隔,比如:y1|y2... 更多...
 
void setStartPoiType (String startPoiType)
 起点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI坐标. 更多...
 
void setToX (String toX)
 终止点X或者终止点X集合,集合使用|分隔,比如:x1|x2... 更多...
 
void setToY (String toY)
 终止点Y或者终止点Y集合,集合使用|分隔,比如:y1|y2... 更多...
 
void setEndPoiType (String endPoiType)
 终点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI坐标. 更多...
 
void setStartPoiId (String startPoiId)
 起点POIID 更多...
 
void setEndPoiId (String endPoiId)
 终点POIID 更多...
 
void setViaPoints (String viaPoints)
 途径点集,形如 x1,y1|x2,y2|x3,y3|x3,y4, 更多...
 
void setViaPointIds (String viaPointIds)
 途经点POIID串,需与viapoints的点数一致,格式:POIID1| POIID2|… 更多...
 
void setViaPoiType (String viaPoiType)
 途经点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI显示坐标,3表示为poi到达点坐标. 更多...
 
void setPolicy2 (String calcType)
 设置算路类型 更多...
 
void setRequestTimeOut (long un32TimeOut)
 设置在线算路超时 更多...
 
void setFlag (int flag)
 设置附加标志 更多...
 
void setSdkVer (String sdkVer)
 设置算路引擎tbt sdk版本 更多...
 
void setRouteVer (String routeVer)
 设置算路版本 更多...
 
void setCarType (int carType)
 设置车辆类型 更多...
 
void setVehicleCharge (float vehicleCharge)
 设置当前电量浮点型,重算必须有上层设置 更多...
 
void setCarHeight (float carHeight)
 设置货车高度 更多...
 
void setCarLoad (float carLoad)
 设置货车最大总重 更多...
 
void setCarWeight (float carWeight)
 设置货车最大载重 更多...
 
void setCarWidth (float carWidth)
 设置货车宽度 更多...
 
void setCarLength (float carLength)
 设置货车长度 更多...
 
void setCarSize (int carSize)
 设置货车大小 更多...
 
void setRefresh (int refrest)
 可选,是否是刷新重新算路。默认值为0,当值为1时,表示接收的route请求时刷新重新算路请求。 更多...
 
void setContentOption (int contentOption)
 附加提示功能的开关,高1字节整型数 更多...
 
void setCarPlate (String carPlate)
 算路车牌 更多...
 
void setUsePoiQuery (String usePoiQuery)
 是否使用POIID查询坐标和及到达坐标进行路线规划,取值:true/false 更多...
 
void setReturnFormat (int returnFormat)
 返回格式 默认值为0(二进制格式),1为压缩后的Json格式; 更多...
 
void setPlayStyle (int playStyle)
 客户端的播报设置 更多...
 
void setSoundType (int soundType)
 语音类型 0:默认语音;
1:林志玲性感语音;
2:郭德纲;
3:周星星语音;
4:中国好声音;
5:百变欢笑语音;
6:超俪嗨语音;
7:央视春晚语音;
8:易烊千玺语音;
9:林志玲语音;
10:小甜心语音;
11:标准男中音;
12:豪爽东北话;
13:朴实河南话;
14:快乐湖南话;
15:麻辣四川话;
16:贴心台湾话;
17:动感广东话;
18:TFBOYS 王源;
19:TFBOYS 王俊凯; 更多...
 
void setGpsHelter (String gpsHelter)
 gps遮挡 更多...
 
void setThreeD (int threeD)
 是否请求三维数据 更多...
 
void setStartLocatePrecision (float startLocatePrecision)
 起点定位精度 更多...
 
void setStartLocateSpeed (int startLocateSpeed)
 起点定位速度 更多...
 
void setStartAngleCredibility (float startAngleCredibility)
 车头角度可信度,取值范围:0~1, 默认传0.5,如无可用角度则不传 更多...
 
void setStartAngleAngle (int startAngleAngle)
 车头角度,方位角表示法,正北方向为0,顺时针0~360度。如无可用角度则不传 更多...
 
void setStartDirType (int startDirType)
 算路起点方向的类型:1代表GPS方向,2代表轨迹拟合方向,3代表罗盘方向 ,4代表道路方向 更多...
 
void setCompassDir (float compassDir)
 当前罗盘方向 更多...
 
void setGpsDir (float gpsDir)
 当前GPS方向 更多...
 
void setMatchingDir (float matchingDir)
 当前巡航绑路方向 更多...
 
void setSigType (int sigType)
 信号类型 更多...
 
void setGpsCredibility (float gpsCredibility)
 GPS可信度 更多...
 
void setRouteMode (int routeMode)
 请求类型 更多...
 
void setAngleRadius (float angleRadius)
 定位准确半径 更多...
 
void setInvoker (String invoker)
 AMap用户触发路线规划的方式 更多...
 
void setStartTypeCode (String startTypeCode)
 起点poi-typecode 更多...
 
void setViaTypeCode (String viaTypeCode)
 途经点poi-typecode 更多...
 
void setEndTypeCode (String endTypeCode)
 终点poi-typecode 更多...
 
void addExtraParam (@ExtraRequestParam.ExtraRequestParam1 int eParam, String paramValue)
 添加额外的参数,方便后续扩展,统一为字符串型 更多...
 
String getExtraParamByFild (@ExtraRequestParam.ExtraRequestParam1 int eParam)
 返回对应字段的参数值,统一为字符串型 更多...
 
void onDestroy ()
 
synchronized void delete ()
 

静态 Public 成员函数

static RouteAosOption create ()
 创建对象 更多...
 
static void destroy (RouteAosOption routeOption)
 销毁Aos算路条件对象 更多...
 

Protected 成员函数

 RouteAosOption (long cPtr, boolean cMemoryOwn)
 
IRouteAosOptionImpl getControl ()
 
void unbind ()
 
void clean ()
 

详细描述

AOS算路选项

构造及析构函数说明

◆ RouteAosOption() [1/2]

com.autonavi.gbl.route.model.RouteAosOption.RouteAosOption ( long  cPtr,
boolean  cMemoryOwn 
)
protected

◆ RouteAosOption() [2/2]

com.autonavi.gbl.route.model.RouteAosOption.RouteAosOption ( IRouteAosOptionImpl  control)

成员函数说明

◆ addExtraParam()

void com.autonavi.gbl.route.model.RouteAosOption.addExtraParam ( @ExtraRequestParam.ExtraRequestParam1 int  eParam,
String  paramValue 
)

添加额外的参数,方便后续扩展,统一为字符串型

参数
[in]eParam参数对应的字段
[in]paramValue参数值
注解
thread: main

◆ clean()

void com.autonavi.gbl.route.model.RouteAosOption.clean ( )
protected

◆ create()

static RouteAosOption com.autonavi.gbl.route.model.RouteAosOption.create ( )
static

创建对象

返回
IRouteAosOption* Aos算路条件类

◆ delete()

synchronized void com.autonavi.gbl.route.model.RouteAosOption.delete ( )

◆ destroy()

static void com.autonavi.gbl.route.model.RouteAosOption.destroy ( RouteAosOption  routeOption)
static

销毁Aos算路条件对象

参数
[in]routeOptionAos算路条件对象
注解
thread: main
备注
同步接口

◆ getControl()

IRouteAosOptionImpl com.autonavi.gbl.route.model.RouteAosOption.getControl ( )
protected

◆ getExtraParamByFild()

String com.autonavi.gbl.route.model.RouteAosOption.getExtraParamByFild ( @ExtraRequestParam.ExtraRequestParam1 int  eParam)

返回对应字段的参数值,统一为字符串型

参数
[in]eParam参数对应的字段
返回
dice::String16

◆ onDestroy()

void com.autonavi.gbl.route.model.RouteAosOption.onDestroy ( )

◆ setAngleRadius()

void com.autonavi.gbl.route.model.RouteAosOption.setAngleRadius ( float  angleRadius)

定位准确半径

参数
[in]angleRadius取值: 单位:米
注解
thread: main

◆ setCarHeight()

void com.autonavi.gbl.route.model.RouteAosOption.setCarHeight ( float  carHeight)

设置货车高度

参数
[in]carHeight单位米,浮点型,v_type为1时有效
注解
thread: main

◆ setCarLength()

void com.autonavi.gbl.route.model.RouteAosOption.setCarLength ( float  carLength)

设置货车长度

参数
[in]carLength单位米,浮点型,单位:吨,v_type为1时有效
注解
thread: main

◆ setCarLoad()

void com.autonavi.gbl.route.model.RouteAosOption.setCarLoad ( float  carLoad)

设置货车最大总重

参数
[in]carLoad单位顿,浮点型,单位:吨,v_type为1时有效
注解
thread: main

◆ setCarPlate()

void com.autonavi.gbl.route.model.RouteAosOption.setCarPlate ( String  carPlate)

算路车牌

参数
[in]carPlate车牌
注解
thread: main

◆ setCarSize()

void com.autonavi.gbl.route.model.RouteAosOption.setCarSize ( int  carSize)

设置货车大小

参数
[in]carSize1:微型货车 2:轻型/小型货车 3:中型货车 4:重型货车,v_type为1时有效
注解
thread: main

◆ setCarType()

void com.autonavi.gbl.route.model.RouteAosOption.setCarType ( int  carType)

设置车辆类型

参数
[in]carType0客车,1货车, 2电动客车,3电动货车,4插电式混动客车,5插电式混动货车
注解
thread: main

◆ setCarWeight()

void com.autonavi.gbl.route.model.RouteAosOption.setCarWeight ( float  carWeight)

设置货车最大载重

参数
[in]carWeight单位顿,浮点型,单位:吨,v_type为1时有效
注解
thread: main

◆ setCarWidth()

void com.autonavi.gbl.route.model.RouteAosOption.setCarWidth ( float  carWidth)

设置货车宽度

参数
[in]carWidth单位米,浮点型,单位:吨,v_type为1时有效
注解
thread: main

◆ setCompassDir()

void com.autonavi.gbl.route.model.RouteAosOption.setCompassDir ( float  compassDir)

当前罗盘方向

◆ setContentOption()

void com.autonavi.gbl.route.model.RouteAosOption.setContentOption ( int  contentOption)

附加提示功能的开关,高1字节整型数

参数
[in]contentOption0x4000 是否包含多路线分歧点,合并点,以及最长独立段信息
注解
thread: main

◆ setEndPoiId()

void com.autonavi.gbl.route.model.RouteAosOption.setEndPoiId ( String  endPoiId)

终点POIID

参数
[in]endPoiId终点ID字符串
注解
thread: main

◆ setEndPoiType()

void com.autonavi.gbl.route.model.RouteAosOption.setEndPoiType ( String  endPoiType)

终点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI坐标.

与toX的数量一致,格式:type1| type2|…

参数
[in]endPoiType终点类型集合字符串
注解
thread: main

◆ setEndTypeCode()

void com.autonavi.gbl.route.model.RouteAosOption.setEndTypeCode ( String  endTypeCode)

终点poi-typecode

参数
[in]endTypeCode终点poi-typecode字符串
注解
thread: main

◆ setFlag()

void com.autonavi.gbl.route.model.RouteAosOption.setFlag ( int  flag)

设置附加标志

参数
[in]flag标志
注解
数据类型 标识位 备注
高速优先 0x0000 0002 1:高速优先(尽量走高速) 0:不做处理
起点找路是否有距离的限制(超过50m则不进行算路) 0x0000 0004 1:包含距离的限制 0:不包含距离的限制
是否包含动态交通信息 0x0000 0008 1:包含动态交通信息 0:不含动态交通信息
旅行时间 0x0000 0010 0:实际的旅行时间 1:参考旅行时间 (该标示位只有在包含动态交通信息的情况下有效)
是否包含导航段的Lcode信息 0x0000 0020 0:不含这些信息 1:包含这些信息 (该标示位只有在包含动态交通信息的情况下有效)
路口数据(保留) 0x0000 0080 1:包含路口描述 0:不含路口描述
目标信息 0x0000 0100 1:包含目的地描述 0:不含目的地描述
从Callcenter获取信息标示 0x0000 0200 1:从Callcenter获取信息 0:不从Callcenter获取信息
是否允许调头 0x0000 0400 1:不允许调头 0:允许调头
是否允许预览抽稀 0x0000 0800 1:允许预览点 0:不允许预览点
是否需要提及提升算路效率 0x0000 1000 1:需要提及 0:不需要提及
距离大于2000m中间添加直行点 0x0001 0000 1:添加直行提示 0:不添加直行提示
忽略红绿灯(保留) 0x0002 0000 1:红绿灯不作为导航点 0:红绿灯作为导航点
是否开启路径排重 0x0004 0000 1:开启路径排重 0:关闭路径排重
是否避开收费道路 0x0008 0000 1:避开收费道路 0:不避开
交通安全信息 0x0010 0000 1:包含交通安全信息 0:不含交通安全信息
是否绝对不走高速 0x0020 0000 1:绝对不走高速; 0:不限制,可以走高速;
是否压缩数据 0x0040 0000 1:压缩数据 0:不压缩数据
是否启用多条备选路径计算 0x0080 0000 0:不启用, 1:启动
是否启用分段下载 0x0100 0000 0:不启用,1:启用
是否启用主辅路双路径模式(此模式下其它多路径选项无效) 0x0200 0000 0:不启用,1:启用
是否禁用路口处理(经由地规划时,起点处不建议启用该标志位,若启用,则仅处理其中一条路径) 0x0400 0000 0:不禁用,1:禁用
是否启用多起点多终点算路 0x0800 0000 0:不启用, 1:启动
是否启用非导航道路 0x1000 0000 0:不启用,1:启用
是否禁用轮渡线参与路径计算 0x2000 0000 0:不禁用,1:禁用
是否启用岔路口多路径计算(经由地规划时,起点处不建议启用该标志位,若启用,则仅处理其中一条路径) 0x4000 0000 0:不启用, 1:启动

◆ setFromX()

void com.autonavi.gbl.route.model.RouteAosOption.setFromX ( String  fromX)

起始点X或者起始点X集合,集合使用|分隔,比如:x1|x2...

参数
[in]fromX起点X集合字符串
注解
thread: main

◆ setFromY()

void com.autonavi.gbl.route.model.RouteAosOption.setFromY ( String  fromY)

起始点Y或者起始点Y集合,集合使用|分隔,比如:y1|y2...

参数
[in]fromY起点Y集合字符串
注解
thread: main

◆ setGpsCredibility()

void com.autonavi.gbl.route.model.RouteAosOption.setGpsCredibility ( float  gpsCredibility)

GPS可信度

参数
[in]gpsCredibility取值:0.0~1.0
注解
thread: main

◆ setGpsDir()

void com.autonavi.gbl.route.model.RouteAosOption.setGpsDir ( float  gpsDir)

当前GPS方向

参数
[in]gpsDir取值:0~360
注解
thread: main

◆ setGpsHelter()

void com.autonavi.gbl.route.model.RouteAosOption.setGpsHelter ( String  gpsHelter)

gps遮挡

参数
[in]gpsHelter值域一般为(0,1)之间的小数,也可能为-1,表示不需参考这个参数
注解
thread: main

◆ setInvoker()

void com.autonavi.gbl.route.model.RouteAosOption.setInvoker ( String  invoker)

AMap用户触发路线规划的方式

参数
[in]invokerAMap用户触发路线规划的方式有以下几种:
f. 在路线规划页面点击“搜索”。取值:"plan"。
g. 直接开始导航,触发路线规划。取值:"navi"。
h. 进入路线规划页面,会自动规划回家和去公司的路线,属于被动路线规划。取值:"home", "work"。
i. 路况提醒触发的路线规划。取值:"traffic"。
j. 通勤异常功能,取值"commute"。
注解
thread: main

◆ setMatchingDir()

void com.autonavi.gbl.route.model.RouteAosOption.setMatchingDir ( float  matchingDir)

当前巡航绑路方向

参数
[in]matchingDir取值:0~360
注解
thread: main

◆ setPlayStyle()

void com.autonavi.gbl.route.model.RouteAosOption.setPlayStyle ( int  playStyle)

客户端的播报设置

注解
0:无意义;
1:老手模式;
2:新手模式;
thread: main

◆ setPolicy2()

void com.autonavi.gbl.route.model.RouteAosOption.setPolicy2 ( String  calcType)

设置算路类型

参数
[in]calcType算路类型,对应policy2
注解
thread: main
policy2 导航计算策略(适用AMAP),
1:多策略算路,
2:躲避拥堵,
4:避免收费,
8:避免高速,
16:高速优先,
32:GreenRoute模式,
64:充电算路.
除了1以外,其他值可以组合,使用 | 连接,比如:2 | 4 | 8;
其中16不能和4, 8同时使用。
http://docs.aosdev.amap.com/docs/maps/navigation/auto

◆ setRefresh()

void com.autonavi.gbl.route.model.RouteAosOption.setRefresh ( int  refrest)

可选,是否是刷新重新算路。默认值为0,当值为1时,表示接收的route请求时刷新重新算路请求。

参数
[in]refrest刷新间隔
注解
thread: main

◆ setRequestTimeOut()

void com.autonavi.gbl.route.model.RouteAosOption.setRequestTimeOut ( long  un32TimeOut)

设置在线算路超时

参数
[in]un32TimeOut超时时间,单位毫秒,默认为8000毫秒即8秒
注解
thread: main @detail 一个网络请求分为 1、DNS域名解析 2、和服务端创建连接 3、发送请求 4、接受应答 5、断开连接 @detail 当un32TimeOut小于等于10000毫秒时,如8000毫秒,8000毫秒内 上述5个过程没有完成,会直接断开连接,返回失败的错误码; @detail 当un32TimeOut大于10000毫秒时,如18000毫秒,分为两种情况 1、18000毫秒,DNS域名解析失败,返回失败的错误码; 2、10000毫秒内,DNS域名解析成功,但是和服务端创建连接失败,返回失败的错误码;(DNS域名解析和服务端创建连接的总超时10000毫秒目前不支持配置) 3、18000毫秒内,DNS域名解析成功,和服务端创建连接成功,但是发送请求失败或者接受应答失败,返回失败的错误码;

◆ setReturnFormat()

void com.autonavi.gbl.route.model.RouteAosOption.setReturnFormat ( int  returnFormat)

返回格式 默认值为0(二进制格式),1为压缩后的Json格式;

参数
[in]returnFormat返回格式
注解
thread: main

◆ setRouteMode()

void com.autonavi.gbl.route.model.RouteAosOption.setRouteMode ( int  routeMode)

请求类型

参数
[in]routeMode取值:
1 直接算路
2 偏航
3 更改了算路策略
4 平行路切换
5 躲避拥堵
6 限行算路
7 道路关闭
8 未使用
9 改变了终点(终点停车场模式或沿途搜索设置途经点或终点)
11 时段限时禁行的重算
12 手动刷新
14 多路线的更新备选路请求
注解
thread: main

◆ setRouteVer()

void com.autonavi.gbl.route.model.RouteAosOption.setRouteVer ( String  routeVer)

设置算路版本

参数
[in]routeVer路径协议版本号,随tbt版本号变动
注解
thread: main

◆ setSdkVer()

void com.autonavi.gbl.route.model.RouteAosOption.setSdkVer ( String  sdkVer)

设置算路引擎tbt sdk版本

注解
thread: main

◆ setSigType()

void com.autonavi.gbl.route.model.RouteAosOption.setSigType ( int  sigType)

信号类型

参数
[in]sigType取值:1代表GPS,2代表网络点,3代表巡航绑路,4:导航路线匹配位置。默认0
注解
thread: main

◆ setSoundType()

void com.autonavi.gbl.route.model.RouteAosOption.setSoundType ( int  soundType)

语音类型 0:默认语音;
1:林志玲性感语音;
2:郭德纲;
3:周星星语音;
4:中国好声音;
5:百变欢笑语音;
6:超俪嗨语音;
7:央视春晚语音;
8:易烊千玺语音;
9:林志玲语音;
10:小甜心语音;
11:标准男中音;
12:豪爽东北话;
13:朴实河南话;
14:快乐湖南话;
15:麻辣四川话;
16:贴心台湾话;
17:动感广东话;
18:TFBOYS 王源;
19:TFBOYS 王俊凯;

注解
thread: main

◆ setStartAngleAngle()

void com.autonavi.gbl.route.model.RouteAosOption.setStartAngleAngle ( int  startAngleAngle)

车头角度,方位角表示法,正北方向为0,顺时针0~360度。如无可用角度则不传

参数
[in]startAngleAngle取值:0~360
注解
thread: main

◆ setStartAngleCredibility()

void com.autonavi.gbl.route.model.RouteAosOption.setStartAngleCredibility ( float  startAngleCredibility)

车头角度可信度,取值范围:0~1, 默认传0.5,如无可用角度则不传

参数
[in]startAngleCredibility取值:0~1
注解
thread: main

◆ setStartDirType()

void com.autonavi.gbl.route.model.RouteAosOption.setStartDirType ( int  startDirType)

算路起点方向的类型:1代表GPS方向,2代表轨迹拟合方向,3代表罗盘方向 ,4代表道路方向

参数
[in]startDirType取值:1~4
注解
thread: main

◆ setStartLocatePrecision()

void com.autonavi.gbl.route.model.RouteAosOption.setStartLocatePrecision ( float  startLocatePrecision)

起点定位精度

参数
[in]startLocatePrecision起点定位精度 0~1
注解
thread: main

◆ setStartLocateSpeed()

void com.autonavi.gbl.route.model.RouteAosOption.setStartLocateSpeed ( int  startLocateSpeed)

起点定位速度

参数
[in]startLocateSpeed起点定位速度
注解
thread: main

◆ setStartPoiId()

void com.autonavi.gbl.route.model.RouteAosOption.setStartPoiId ( String  startPoiId)

起点POIID

参数
[in]startPoiId起点ID字符串
注解
thread: main

◆ setStartPoiType()

void com.autonavi.gbl.route.model.RouteAosOption.setStartPoiType ( String  startPoiType)

起点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI坐标.

与fromX的数量一致,格式:type1| type2|…

参数
[in]startPoiType起点类型集合字符串
注解
thread: main

◆ setStartTypeCode()

void com.autonavi.gbl.route.model.RouteAosOption.setStartTypeCode ( String  startTypeCode)

起点poi-typecode

参数
[in]startTypeCode起点poi-typecode字符串
注解
thread: main

◆ setThreeD()

void com.autonavi.gbl.route.model.RouteAosOption.setThreeD ( int  threeD)

是否请求三维数据

参数
[in]threeD0:不请求, 1:请求
注解
thread: main

◆ setToX()

void com.autonavi.gbl.route.model.RouteAosOption.setToX ( String  toX)

终止点X或者终止点X集合,集合使用|分隔,比如:x1|x2...

参数
[in]toX终止点X集合字符串
注解
thread: main

◆ setToY()

void com.autonavi.gbl.route.model.RouteAosOption.setToY ( String  toY)

终止点Y或者终止点Y集合,集合使用|分隔,比如:y1|y2...

参数
[in]toY终止点Y集合字符串
注解
thread: main

◆ setUsePoiQuery()

void com.autonavi.gbl.route.model.RouteAosOption.setUsePoiQuery ( String  usePoiQuery)

是否使用POIID查询坐标和及到达坐标进行路线规划,取值:true/false

参数
[in]usePoiQuerytrue:是 false:否
注解
thread: main

◆ setVehicleCharge()

void com.autonavi.gbl.route.model.RouteAosOption.setVehicleCharge ( float  vehicleCharge)

设置当前电量浮点型,重算必须有上层设置

参数
[in]vehicleCharge当前电量(新能源电动车要使用)
返回
void
注解
thread: main

◆ setViaPointIds()

void com.autonavi.gbl.route.model.RouteAosOption.setViaPointIds ( String  viaPointIds)

途经点POIID串,需与viapoints的点数一致,格式:POIID1| POIID2|…

参数
[in]viaPointIds途径点集合字符串
注解
thread: main

◆ setViaPoints()

void com.autonavi.gbl.route.model.RouteAosOption.setViaPoints ( String  viaPoints)

途径点集,形如 x1,y1|x2,y2|x3,y3|x3,y4,

参数
[in]viaPoints途径点集合字符串
注解
thread: main

◆ setViaPoiType()

void com.autonavi.gbl.route.model.RouteAosOption.setViaPoiType ( String  viaPoiType)

途经点点类型:0表示坐标为用户当前GPS位置,1表示为用户手动选择的点,2表示为POI显示坐标,3表示为poi到达点坐标.

与viapoints的数量一致,格式:type1| type2|…

参数
[in]viaPoiType途径点类型集合字符串
注解
thread: main

◆ setViaTypeCode()

void com.autonavi.gbl.route.model.RouteAosOption.setViaTypeCode ( String  viaTypeCode)

途经点poi-typecode

参数
[in]viaTypeCode途经点poi-typecode字符串
注解
thread: main

◆ unbind()

void com.autonavi.gbl.route.model.RouteAosOption.unbind ( )
protected

该类的文档由以下文件生成: