Package | Description |
---|---|
com.baidu.mapapi.walknavi |
步行导航工具类, 集成步行导航SDK工具包,传入起终点坐标,可进入步行导航功能
|
com.baidu.mapapi.walknavi.model |
步行导航过程信息实体类
|
Modifier and Type | Method and Description |
---|---|
void |
WalkNavigateHelper.setWalkNaviDisplayOption(WalkNaviDisplayOption walkNaviDisplayOption)
设置步行导航中的UI展示控制参数,该方法需要在
WalkNavigateHelper.onCreate(Activity) 方法之前调用才能生效 |
Modifier and Type | Method and Description |
---|---|
WalkNaviDisplayOption |
WalkNaviDisplayOption.imageToAr(Bitmap imageToAR)
AR步行导航入口图片资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.imageToNormal(Bitmap imageToNormal)
普通步行导航入口图片资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.runInFragment(boolean isRunInFragment)
是否在Fragment中发起导航
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setArNaviResources(Bitmap arClose,
Bitmap arNPC,
Bitmap arToNormal)
设置步行导航AR模式资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setAutoChangeNaviMode(boolean isAuto)
设置是否默认打开自动切换步导模式开关
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setBottomSettingLayout(int walkGuideLayout)
设置步行导航底部退出栏布局资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setCalorieLayout(int walkGuideLayout)
设置步行导航热量消耗布局资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setCustomBottomView(View bottomView)
设置底部自定义view
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setCustomBottomViewHeight(int bottomViewHeight)
设置自定义view底部高度
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setNaviTextTypeface(Typeface typeface)
设置步行导航界面特殊字体样式
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.setTopGuideLayout(int walkGuideLayout)
设置步行导航顶部引导布局资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showBottomGuideLayout(boolean isShowBottomGuideLayout)
是否展示底部引导布局资源
设置setBottomSettingLayout自定义布局情况此接口不生效
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showBottomSmallMapUI(boolean isShowSmallMap)
设置是否默认展示AR步导底部小地图
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showCalorieLayoutEnable(boolean calorieLayoutEnable)
是否展示热量消耗布局资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showDialogEnable(boolean isShowDialog)
是否展示退出、GPS等弹窗开关
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showDialogWithExitNavi(boolean isShowDialogWithExitNavi)
退出导航时是否展示默认弹窗
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showImageToAr(boolean isShowImageToAR)
是否展示AR导航入口图片资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showLocationImage(boolean isShowImageToLocation)
是否展示视角切换图片资源
|
WalkNaviDisplayOption |
WalkNaviDisplayOption.showTopGuideLayout(boolean isShowTopGuideLayout)
是否展示顶部引导布局资源
设置setTopGuideLayout自定义布局情况此接口不生效
|