- PageType - com.amap.api.navi.enums中的类
-
- ParallelRoadListener - com.amap.api.navi中的接口
-
平行路切换监听
Parallel road switching listener
- ParallelRoadView - com.amap.api.navi.view中的类
-
- ParallelRoadView(Context) - 类 的构造器com.amap.api.navi.view.ParallelRoadView
-
- ParallelRoadView(Context, AttributeSet) - 类 的构造器com.amap.api.navi.view.ParallelRoadView
-
- ParallelRoadView(Context, AttributeSet, int) - 类 的构造器com.amap.api.navi.view.ParallelRoadView
-
- PARK - 类 中的静态变量com.amap.api.navi.enums.IconType
-
通过公园图标(数值:33)骑行、步行专有图标
Through park icon (Value: 33) Cycling and walking exclusive icons
- pathId - 类 中的变量com.amap.api.navi.model.AMapNaviForbiddenInfo
-
禁止信息对应路线id
Prohibited information corresponding route id
- pathId - 类 中的变量com.amap.api.navi.model.AMapNaviLimitInfo
-
路线id
Route ID
- PathPlanningErrCode - com.amap.api.navi.enums中的类
-
路径规划错误码
Path planning error codes.
- PathPlanningStrategy - com.amap.api.navi.enums中的类
-
算路策略类型
Route planning strategy type
开发者可以使用此类策略进行算路,如果你想实现跟高德地图一样的checkbox选项,那么建议您直接使用我们封装的AmapNavi.strategyConvert()方法进行获取策略值
Developers can use these strategies for route calculation, If you want to implement checkbox options like AutoNavi Map, it is recommended to directly use our encapsulated AmapNavi.strategyConvert() method to obtain the strategy value
用法如下:
Usage as follows:
int strategy=mAMapNavi.strategyConvert(congestion, avoidhightspeed, cost, hightspeed, multipleroute);
mAMapNavi.calculateDriveRoute(mStartPointList, mEndPointList, mWayPointList, strategy);
参数:
Parameters:
congestion 躲避拥堵
congestion Avoid congestion
avoidhightspeed 不走高速
avoidhightspeed Avoid highway
cost 避免收费
cost Avoid tolls
hightspeed 高速优先
hightspeed Highway priority
multipleroute 多路径
multipleroute Multiple routes
说明:
Description:
以上参数都是boolean类型,其中multipleroute参数表示是否多条路线,如果为true则此策略会算出多条路线
All the above parameters are boolean types, The multipleroute parameter indicates whether multiple routes are calculated, If true, this strategy will calculate multiple routes
注意:
Note:
不走高速与高速优先不能同时为true
Avoid highway and highway priority cannot both be true
高速优先与避免收费不能同时为true
Highway priority and avoid tolls cannot both be true
- pauseNavi() - 类 中的方法com.amap.api.navi.AMapNavi
-
暂停导航,仅支持模拟导航
Pause navigation, only supports simulated navigation.
- playTTS(String, boolean) - 类 中的方法com.amap.api.navi.AMapNavi
-
播放自定义文字,注意如果当前正在播放导航语音,可能导致播放失败,只在内置语音下生效
Play custom text, note that if the navigation voice is currently playing, it may cause playback failure, effective only under built-in voice
- processNightMode(boolean) - 类 中的方法com.amap.api.navi.view.OverviewButtonView
-
切换昼夜模式
Switch day/night mode
- processNightMode(boolean) - 类 中的方法com.amap.api.navi.view.TrafficButtonView
-
切换昼夜模式
Switch day/night mode
- processNightMode(boolean) - 类 中的方法com.amap.api.navi.view.ZoomButtonView
-
切换昼夜模式
Switch day/night mode
- PROVINCIALWAY - 类 中的静态变量com.amap.api.navi.enums.RoadClass
-
2-道路类型:省道
2-Road type: Provincial road
- pushRouteGuideWithData(JSONObject, NaviPoi, NaviPoi, List<NaviPoi>, int, AMapCalculateRouteListener) - 类 中的方法com.amap.api.navi.AMapNavi
-
- pushTrajectoryRestoration(Context, List<LatLng>, List<LatLng>, String, String, TrajectoryRestorationTaskCallback) - 类 中的方法com.amap.api.navi.AMapNavi
-
轨迹还原