Package | Description |
---|---|
com.baidu.mapapi.navi |
调起百度地图客户端驾车导航、步行导航、骑行导航功能
|
Modifier and Type | Class and Description |
---|---|
class |
TruckNaviOption |
Modifier and Type | Method and Description |
---|---|
NaviParaOption |
NaviParaOption.endName(java.lang.String endName)
导航终点名称
|
NaviParaOption |
NaviParaOption.endPoint(LatLng endPoint)
导航终点, 百度经纬度坐标
|
NaviParaOption |
NaviParaOption.endUid(java.lang.String endUid) |
NaviParaOption |
NaviParaOption.setNaviRoutePolicy(NaviParaOption.NaviRoutePolicy naviRoutePolicy)
设置导航路线策略 (默认推荐)
|
NaviParaOption |
NaviParaOption.setWayPoint(WayPoint wayPoint)
设置途径点参数(最多支持3个途径点)
(百度地图APP:10.2 后支持,如果百度地图app在后台的情况下暂不支持添加途径点)
|
NaviParaOption |
NaviParaOption.startName(java.lang.String startName)
导航起点名称
|
NaviParaOption |
NaviParaOption.startPoint(LatLng startPoint)
导航起点, 百度经纬度坐标
|
NaviParaOption |
NaviParaOption.startUid(java.lang.String startUid) |
Modifier and Type | Method and Description |
---|---|
static boolean |
BaiduMapNavigation.openBaiduMapBikeNavi(NaviParaOption para,
Context context)
调起百度地图骑行导航页面
|
static boolean |
BaiduMapNavigation.openBaiduMapNavi(NaviParaOption para,
Context context)
调起百度地图导航页面
|
static boolean |
BaiduMapNavigation.openBaiduMapWalkNavi(NaviParaOption para,
Context context)
调起百度地图步行导航页面
|
static boolean |
BaiduMapNavigation.openBaiduMapWalkNaviAR(NaviParaOption para,
Context context)
调起百度地图步行AR导航页面,客户端版本大于等于9.7.5时支持直接调用AR导航,否则调用普通步行导航
|
static void |
BaiduMapNavigation.openWebBaiduMapNavi(NaviParaOption para,
Context context)
Deprecated.
|