Package com.baidu.mapapi.walknavi.model
Class WalkNaviDisplayOption
java.lang.Object
com.baidu.mapapi.walknavi.model.WalkNaviDisplayOption
- All Implemented Interfaces:
IWalkNaviDisplayListener
步行导航UI展示配置参数
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintbooleanandroid.view.Viewandroid.graphics.Bitmapandroid.graphics.Bitmapandroid.graphics.Bitmapandroid.graphics.Bitmapbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintandroid.graphics.TypefaceimageToAr(android.graphics.Bitmap imageToAR) AR步行导航入口图片资源imageToNormal(android.graphics.Bitmap imageToNormal) 普通步行导航入口图片资源booleanbooleanbooleanrunInFragment(boolean isRunInFragment) 是否在Fragment中发起导航setArNaviResources(android.graphics.Bitmap arClose, android.graphics.Bitmap arNPC, android.graphics.Bitmap arToNormal) 设置步行导航AR模式资源setAutoChangeNaviMode(boolean isAuto) 设置是否默认打开自动切换步导模式开关setBottomSettingLayout(int walkGuideLayout) 设置步行导航底部退出栏布局资源setCalorieLayout(int walkGuideLayout) 设置步行导航热量消耗布局资源setCustomBottomView(android.view.View bottomView) 设置底部自定义viewsetCustomBottomViewHeight(int bottomViewHeight) 设置自定义view底部高度setNaviTextTypeface(android.graphics.Typeface typeface) 设置步行导航界面特殊字体样式setTopGuideLayout(int walkGuideLayout) 设置步行导航顶部引导布局资源showBottomGuideLayout(boolean isShowBottomGuideLayout) 是否展示底部引导布局资源 设置setBottomSettingLayout自定义布局情况此接口不生效showBottomSmallMapUI(boolean isShowSmallMap) 设置是否默认展示AR步导底部小地图showCalorieLayoutEnable(boolean calorieLayoutEnable) 是否展示热量消耗布局资源showDialogEnable(boolean isShowDialog) 是否展示退出、GPS等弹窗开关showDialogWithExitNavi(boolean isShowDialogWithExitNavi) 退出导航时是否展示默认弹窗showExitDialogEnable(boolean isShowDialog) 是否展示退出弹窗(手动退出导航)showImageToAr(boolean isShowImageToAR) 是否展示AR导航入口图片资源showLocationImage(boolean isShowImageToLocation) 是否展示视角切换图片资源showTopGuideLayout(boolean isShowTopGuideLayout) 是否展示顶部引导布局资源 设置setTopGuideLayout自定义布局情况此接口不生效
-
Constructor Details
-
WalkNaviDisplayOption
public WalkNaviDisplayOption()
-
-
Method Details
-
setCustomBottomViewHeight
设置自定义view底部高度- Specified by:
setCustomBottomViewHeightin interfaceIWalkNaviDisplayListener- Parameters:
bottomViewHeight-- Returns:
-
setCustomBottomView
设置底部自定义view- Specified by:
setCustomBottomViewin interfaceIWalkNaviDisplayListener- Parameters:
bottomView- 默认:true- Returns:
-
showDialogEnable
是否展示退出、GPS等弹窗开关- Specified by:
showDialogEnablein interfaceIWalkNaviDisplayListener- Parameters:
isShowDialog- 默认:true- Returns:
-
showExitDialogEnable
是否展示退出弹窗(手动退出导航)- Specified by:
showExitDialogEnablein interfaceIWalkNaviDisplayListener- Parameters:
isShowDialog- 默认:true- Returns:
-
showLocationImage
是否展示视角切换图片资源- Specified by:
showLocationImagein interfaceIWalkNaviDisplayListener- Parameters:
isShowImageToLocation- 默认:true
-
showCalorieLayoutEnable
是否展示热量消耗布局资源- Specified by:
showCalorieLayoutEnablein interfaceIWalkNaviDisplayListener- Parameters:
calorieLayoutEnable- 默认:true
-
showImageToAr
是否展示AR导航入口图片资源- Specified by:
showImageToArin interfaceIWalkNaviDisplayListener- Parameters:
isShowImageToAR- 默认:true
-
imageToAr
AR步行导航入口图片资源- Specified by:
imageToArin interfaceIWalkNaviDisplayListener- Parameters:
imageToAR- 关键字- Returns:
- 步行导航UI展示配置参数对象
-
imageToNormal
普通步行导航入口图片资源- Specified by:
imageToNormalin interfaceIWalkNaviDisplayListener- Parameters:
imageToNormal- 关键字- Returns:
- 步行导航UI展示配置参数对象
-
setTopGuideLayout
设置步行导航顶部引导布局资源- Specified by:
setTopGuideLayoutin interfaceIWalkNaviDisplayListener- Parameters:
walkGuideLayout- 布局
-
setCalorieLayout
设置步行导航热量消耗布局资源- Specified by:
setCalorieLayoutin interfaceIWalkNaviDisplayListener- Parameters:
walkGuideLayout- 布局资源
-
setBottomSettingLayout
设置步行导航底部退出栏布局资源- Specified by:
setBottomSettingLayoutin interfaceIWalkNaviDisplayListener- Parameters:
walkGuideLayout- 布局资源
-
runInFragment
是否在Fragment中发起导航- Specified by:
runInFragmentin interfaceIWalkNaviDisplayListener- Parameters:
isRunInFragment- 默认:false- Returns:
- 步行导航UI展示配置参数对象
-
showTopGuideLayout
是否展示顶部引导布局资源 设置setTopGuideLayout自定义布局情况此接口不生效- Specified by:
showTopGuideLayoutin interfaceIWalkNaviDisplayListener- Parameters:
isShowTopGuideLayout-- Returns:
-
showBottomGuideLayout
是否展示底部引导布局资源 设置setBottomSettingLayout自定义布局情况此接口不生效- Specified by:
showBottomGuideLayoutin interfaceIWalkNaviDisplayListener- Parameters:
isShowBottomGuideLayout-- Returns:
-
showBottomSmallMapUI
设置是否默认展示AR步导底部小地图- Parameters:
isShowSmallMap-- Returns:
-
getImageToAR
public android.graphics.Bitmap getImageToAR() -
getImageToNormal
public android.graphics.Bitmap getImageToNormal() -
getImageNPC
public android.graphics.Bitmap getImageNPC() -
getImageArCloseIcon
public android.graphics.Bitmap getImageArCloseIcon() -
isIsRunInFragment
public boolean isIsRunInFragment() -
getTopGuideLayout
public int getTopGuideLayout() -
getCalorieLayout
public int getCalorieLayout() -
getBottomSettingLayout
public int getBottomSettingLayout() -
getShowImageToAR
public boolean getShowImageToAR() -
getCalorieLayoutEnable
public boolean getCalorieLayoutEnable() -
getShowImageToLocation
public boolean getShowImageToLocation() -
getIsShowTopGuideLayout
public boolean getIsShowTopGuideLayout() -
getIsShowBottomGuideLayout
public boolean getIsShowBottomGuideLayout() -
getIsShowBottomSmallMapUI
public boolean getIsShowBottomSmallMapUI() -
getShowDialogEnable
public boolean getShowDialogEnable() -
getShowExitDialogEnable
public boolean getShowExitDialogEnable() -
getCustomBottomView
public android.view.View getCustomBottomView() -
getBottomViewHeight
public int getBottomViewHeight()
-