Package com.baidu.mapapi.bikenavi.model
Class BikeNaviDisplayOption
java.lang.Object
com.baidu.mapapi.bikenavi.model.BikeNaviDisplayOption
- All Implemented Interfaces:
IBikeNaviDisplayListener
骑行导航UI展示配置参数
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandroid.graphics.Typefaceintintandroid.view.ViewbooleanbooleanbooleanbooleanbooleanbooleanbooleanintintbooleanbooleanbooleanbooleanrunInFragment(boolean isRunInFragment) 是否在Fragment中发起导航setBottomSettingLayout(int bottomSetLayout) 设置骑行导航底部退出栏布局setCustomBottomView(android.view.View bottomView) 设置底部自定义viewsetCustomBottomViewHeight(int bottomViewHeight) 设置自定义view底部高度setNaviTextTypeface(android.graphics.Typeface typeface) 设置骑行导航界面特殊字体样式setSpeedLayout(int speedLayout) 设置骑行导航速度展示布局setTopGuideLayout(int topGuideLayout) 设置骑行导航顶部引导布局showBottomGuideLayout(boolean isShowBottomGuideLayout) 是否展示底部引导布局资源 设置setBottomSettingLayout自定义布局情况此接口不生效showDialogEnable(boolean isShowDialog) 是否展示退出、GPS等弹窗开关showDialogWithExitNavi(boolean isShowDialogWithExitNavi) 退出导航时是否展示默认弹窗showExitDialogEnable(boolean isShowDialog) 是否展示退出弹窗showLocationImage(boolean isShowImageToLocation) 是否展示视角切换图片资源showSpeedLayout(boolean isShowSpeedLayout) 是否展示速度展示布局showTopGuideLayout(boolean isShowTopLayout) 是否展示顶部引导布局toString()
-
Constructor Details
-
BikeNaviDisplayOption
public BikeNaviDisplayOption()
-
-
Method Details
-
runInFragment
是否在Fragment中发起导航- Specified by:
runInFragmentin interfaceIBikeNaviDisplayListener- Parameters:
isRunInFragment- 默认:false- Returns:
- 骑行导航UI展示配置参数对象
-
setCustomBottomViewHeight
设置自定义view底部高度- Specified by:
setCustomBottomViewHeightin interfaceIBikeNaviDisplayListener- Parameters:
bottomViewHeight-- Returns:
-
setCustomBottomView
设置底部自定义view- Specified by:
setCustomBottomViewin interfaceIBikeNaviDisplayListener- Parameters:
bottomView-- Returns:
-
showDialogEnable
是否展示退出、GPS等弹窗开关- Specified by:
showDialogEnablein interfaceIBikeNaviDisplayListener- Parameters:
isShowDialog- 默认:true- Returns:
-
showExitDialogEnable
是否展示退出弹窗- Specified by:
showExitDialogEnablein interfaceIBikeNaviDisplayListener- Parameters:
isShowDialog- 默认:true- Returns:
-
showBottomGuideLayout
是否展示底部引导布局资源 设置setBottomSettingLayout自定义布局情况此接口不生效- Specified by:
showBottomGuideLayoutin interfaceIBikeNaviDisplayListener- Parameters:
isShowBottomGuideLayout-- Returns:
-
showTopGuideLayout
是否展示顶部引导布局- Specified by:
showTopGuideLayoutin interfaceIBikeNaviDisplayListener- Parameters:
isShowTopLayout- 默认:true
-
showSpeedLayout
是否展示速度展示布局- Specified by:
showSpeedLayoutin interfaceIBikeNaviDisplayListener- Parameters:
isShowSpeedLayout- 默认:true
-
showLocationImage
是否展示视角切换图片资源- Specified by:
showLocationImagein interfaceIBikeNaviDisplayListener- Parameters:
isShowImageToLocation- 默认:true
-
setTopGuideLayout
设置骑行导航顶部引导布局- Specified by:
setTopGuideLayoutin interfaceIBikeNaviDisplayListener- Parameters:
topGuideLayout- 顶部引导布局
-
setSpeedLayout
设置骑行导航速度展示布局- Specified by:
setSpeedLayoutin interfaceIBikeNaviDisplayListener- Parameters:
speedLayout- 速度展示布局
-
setBottomSettingLayout
设置骑行导航底部退出栏布局- Specified by:
setBottomSettingLayoutin interfaceIBikeNaviDisplayListener- Parameters:
bottomSetLayout- 底部退出栏布局
-
getTopGuideLayout
public int getTopGuideLayout() -
isUseCustomTopGuideLayout
public boolean isUseCustomTopGuideLayout() -
getSpeedLayout
public int getSpeedLayout() -
isUseCustomSpeedLayout
public boolean isUseCustomSpeedLayout() -
getBottomSettingLayout
public int getBottomSettingLayout() -
isUseCustomBottomSetting
public boolean isUseCustomBottomSetting() -
getShowImageToLocation
public boolean getShowImageToLocation() -
getShowTopLayout
public boolean getShowTopLayout() -
getShowSpeedLayout
public boolean getShowSpeedLayout() -
getIsShowBottomGuideLayout
public boolean getIsShowBottomGuideLayout() -
getShowDialogEnable
public boolean getShowDialogEnable() -
getShowExitDialogEnable
public boolean getShowExitDialogEnable() -
getCustomBottomView
public android.view.View getCustomBottomView() -
getBottomViewHeight
public int getBottomViewHeight() -
isIsRunInFragment
public boolean isIsRunInFragment() -
toString
-