Package | Description |
---|---|
com.baidu.mapapi.bikenavi |
骑行导航工具类, 集成骑行导航SDK工具包,传入起终点坐标,可进入骑行导航功能
|
com.baidu.mapapi.bikenavi.model |
骑行导航过程信息实体类
|
Modifier and Type | Method and Description |
---|---|
void |
BikeNavigateHelper.setBikeNaviDisplayOption(BikeNaviDisplayOption bikeNaviDisplayOption)
设置骑行导航中的UI展示控制参数,该方法需要在
BikeNavigateHelper.onCreate(Activity) 方法之前调用才能生效 |
Modifier and Type | Method and Description |
---|---|
BikeNaviDisplayOption |
BikeNaviDisplayOption.runInFragment(boolean isRunInFragment)
是否在Fragment中发起导航
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setBottomSettingLayout(int bottomSetLayout)
设置骑行导航底部退出栏布局
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setCustomBottomView(View bottomView)
设置底部自定义view
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setCustomBottomViewHeight(int bottomViewHeight)
设置自定义view底部高度
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setNaviTextTypeface(Typeface typeface)
设置骑行导航界面特殊字体样式
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setSpeedLayout(int speedLayout)
设置骑行导航速度展示布局
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.setTopGuideLayout(int topGuideLayout)
设置骑行导航顶部引导布局
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.showBottomGuideLayout(boolean isShowBottomGuideLayout)
是否展示底部引导布局资源
设置setBottomSettingLayout自定义布局情况此接口不生效
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.showDialogEnable(boolean isShowDialog)
是否展示退出、GPS等弹窗开关
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.showLocationImage(boolean isShowImageToLocation)
是否展示视角切换图片资源
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.showSpeedLayout(boolean isShowSpeedLayout)
是否展示速度展示布局
|
BikeNaviDisplayOption |
BikeNaviDisplayOption.showTopGuideLayout(boolean isShowTopLayout)
是否展示顶部引导布局
|