com.amap.api.navi

## 类 AMapNaviViewOptions

- java.lang.Object
- - com.amap.api.navi.AMapNaviViewOptions

-     public class AMapNaviViewOptions
      extends java.lang.Object

  导航视图参数类
  Navigation view options class.

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `AMapNaviViewOptions.VoiceAssistSettings` 导航过程中语音辅助功能设置 Voice assistance settings during navigation 注意： Note： 所有设置仅对使用内置语音时才会生效，开启与关闭内置语音请参考：`AMapNavi.setUseInnerVoice(boolean, boolean)` All settings only take effect when using the built-in voice.

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static int` | `HUD_MIRROR_SHOW` HUD镜像显示（数值：2） HUD mirror display (value: 2)
    `static int` | `HUD_NORMAL_SHOW` HUD正向显示（数值：1） HUD normal display (value: 1)

  - ### 构造器概要

    构造器
    构造器和说明
    `AMapNaviViewOptions()`

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Bitmap` | `getCarBitmap()` 获取车标的bitmap对象 Get the bitmap object of the vehicle icon
    `Bitmap` | `getFourCornersBitmap()` 获取罗盘位图对象 Get the compass bitmap object.
    `int` | `getLeaderLineColor()` 获取牵引线颜色 Get the guide line color
    `long` | `getLockMapDelayed()` 获取锁定地图延迟毫秒数 Get the map lock delay in milliseconds.
    `double` | `getMapCenter_X()` 自车位置锁定在x轴的位置，范围：(0,1]。
    `double` | `getMapCenter_Y()` 自车位置锁定在y轴的位置，范围：(0,1]。
    `float` | `getMaxAutoZoom()` 获取自动缩放地图的最大级别 Get the maximum zoom level of the auto-scaling map
    `float` | `getMinAutoZoom()` 获取自动缩放地图的最小级别 Obtain the minimum zoom level of the auto-scaling map
    `int` | `getTilt()` 获取锁车态下地图倾角 Get the map tilt angle under vehicle lock state
    `int` | `getZoom()` 获取锁车下地图缩放等级（仅在关闭了动态比例尺下生效） Get the map zoom level under vehicle lock (only effective when dynamic scale is turned off)
    `boolean` | `isAutoChangeZoom()` 是否开启了动态比例尺 (锁车态下自动进行地图缩放变化) Whether dynamic scale is enabled (automatically zoom the map under vehicle lock state)
    `boolean` | `isAutoDrawRoute()` 是否自动画路，默认为True，此时当算路成功后会立即自动画路 Whether to automatically draw the route, default is True, at this time the route will be automatically drawn immediately after successful route calculation
    `boolean` | `isCompassEnabled()` 已过时。 此接口已失效 This interface is deprecated.
    `boolean` | `isEyrieCrossDisplay()` 是否显示鹰巢路口放大图 Whether to display Eagle Nest intersection enlargement map
    `boolean` | `isLaneInfoShow()` 是否显示道路信息view Whether to display road information view
    `boolean` | `isLayoutVisible()` 获取当前导航界面是否显示 Get whether the current navigation interface is displayed.
    `boolean` | `isLeaderLineEnabled()` 返回是否绘制牵引线 Return whether to draw the guide line.
    `boolean` | `isModelCrossDisplayShow()` 是否显示路口放大图(路口模型图) Whether to display intersection enlargement map (intersection model map)
    `boolean` | `isRealCrossDisplayShow()` 是否显示路口放大图(实景图) Whether to display intersection enlargement map (real scene map)
    `boolean` | `isRouteListButtonShow()` 是否显示路线全览按钮 Whether to display route overview button
    `boolean` | `isSettingMenuEnabled()` 设置菜单按钮是否显示 Set whether the menu button is displayed.
    `boolean` | `isStopTtsWhenNaviExit()` 退出导航页面是否停止内置语音播报，默认值：true，停止 Whether to stop built-in voice broadcast when exiting the navigation page, default value: true, stop
    `boolean` | `isTrafficLayerEnabled()` 是否显示实时交通图层开关按钮（只适用于驾车导航，需要联网） Whether to display real-time traffic layer switch button (only applicable to driving navigation, requires internet connection)
    `boolean` | `isTrafficLine()` 地图上是否显示交通路况（彩虹线） Whether to display traffic conditions (rainbow lines) on the map.
    `void` | `setAfterRouteAutoGray(boolean afterRouteAutoGray)` 通过路线是否自动置灰 Whether passed routes are automatically grayed out.
    `void` | `setAMapNaviType(AmapNaviType naviType)` 设置导航类型。
    `void` | `setAutoChangeZoom(boolean isAutoChangeZoom)` 设置是否开启动态比例尺 (锁车态下自动进行地图缩放变化) Set whether to enable dynamic scale (automatically zoom the map under vehicle lock state)
    `void` | `setAutoDisplayOverview(boolean isAutoDisplay)` 设置是否自动全览模式，即在算路成功后自动进入全览模式 Set whether to enable automatic overview mode, that is, automatically enter overview mode after successful route calculation
    `void` | `setAutoDrawRoute(boolean autoDrawRoute)` 设置是否自动画路 Set whether to automatically draw the route
    `void` | `setAutoLockCar(boolean autoLockCar)` 设置6秒后是否自动锁车 Set whether to automatically lock the vehicle after 6 seconds
    `void` | `setAutoNaviViewNightMode(boolean isAutoNaviViewNightMode)` 已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)` Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
    `void` | `setAutoZoomRange(float minZoom, float maxZoom)` 设置自动缩放地图的缩放范围。
    `void` | `setBroadcastModeEnabled(boolean enabled)` 设置是否启用播报模式控件 Set whether to enable broadcast mode control
    `void` | `setCameraBubbleShow(boolean cameraBubbleShow)` 已过时。 请配合 `RouteOverlayOptions.setOnRouteCameShow(boolean)` 与 `AMapNaviViewOptions.setRouteOverlayOptions(RouteOverlayOptions)` 使用 Please use with `RouteOverlayOptions.setOnRouteCameShow(boolean)` and `AMapNaviViewOptions.setRouteOverlayOptions(RouteOverlayOptions)`
    `void` | `setCarBitmap(Bitmap carBitmap)` 设置自车的图片对象 Set the image object of the vehicle
    `void` | `setCompassEnabled(java.lang.Boolean enabled)` 已过时。 此接口已失效 This interface is deprecated.
    `void` | `setCrossLocation(Rect landscape, Rect vertical)` 已过时。 使用 `AMapNaviViewOptions.setEyrieCrossLocation(Rect, Rect)`来控制路口大图位置
    `void` | `setCustomMapStylePath(java.lang.String path)` 已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)` Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
    `void` | `setDrawBackUpOverlay(boolean drawBackUpRouteOverlay)` 设置是否绘制备选路线,只是控制是否绘制，并不影响多备选路线功能 Set whether to draw alternative routes, only controls whether to draw, does not affect the multi-alternative route function
    `void` | `setEagleMapVisible(boolean show)` 设置鹰眼小地图是否显示 Set whether to display Eagle Eye mini map
    `void` | `setEndPointBitmap(Bitmap icon)` 设置终点位图，须在画路前设置 Set the end point bitmap, must be set before drawing the route
    `void` | `setFourCornersBitmap(Bitmap fourCornersBitmap)` 设置罗盘位图对象 Set the compass bitmap object
    `void` | `setLaneInfoShow(boolean isLaneInfoShow)` 设置是否显示道路信息view Set whether to display road information view
    `void` | `setLayoutVisible(boolean isLayoutVisible)` 设置导航界面UI是否显示 Set whether the navigation interface UI is displayed.
    `void` | `setLeaderLineEnabled(int color)` 设置是否绘制牵引线（当前位置到目的地的指引线）,默认不绘制牵引线 Set whether to draw the guide line (guidance line from current position to destination), Default is not to draw the guide line.
    `void` | `setLockMapDelayed(long lockMapDelayed)` 设置锁定地图延迟毫秒数 Set the map lock delay in milliseconds.
    `void` | `setMapStyle(MapStyle mapStyle, java.lang.String customStylePath)` 设置地图的显示样式 Set the display style of the map
    `void` | `setModeCrossDisplayShow(boolean isCrossDisplayShow)` 已过时。 此方法已过期，使用 `AMapNaviViewOptions.setEyrieCrossDisplay(boolean show)`来控制路口大图显隐 This method is deprecated, use `AMapNaviViewOptions.setEyrieCrossDisplay(boolean show)` to control the display\/hide of intersection overview
    `void` | `setMonitorCameraBitmap(Bitmap icon)` 设置导航路线上的摄像头监控图标（只适用于驾车导航） Set the camera monitoring icon on the navigation route (only applicable to driving navigation).
    `void` | `setNaviArrowVisible(boolean isArrow)` 设置路线转向箭头隐藏和显示 Set route turn arrow hide and show
    `void` | `setNaviMode(int mode)` 设置导航模式， 默认值：AMapNaviView.CAR_UP_MODE, 车头向上模式 Set navigation mode, default: AMapNaviView.CAR_UP_MODE, heading-up mode 注意：从10.0.820开始，已不建议使用`AMapNaviView.setNaviMode(int)`, Note: Starting from version 10.0.820, it is no longer recommended for use `AMapNaviView.setNaviMode(int)`, 如果您之前有调用`AMapNaviView.setNaviMode(int)`请保证`AMapNaviView.setNaviMode(int)` If you have previously called `AMapNaviView.setNaviMode(int)` Please ensure `AMapNaviView.setNaviMode(int)` 设置的值与该值一致，否则以最后一次的设置为准。
    `void` | `setNaviNight(boolean isNight)` 已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)` Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
    `void` | `setNaviStatusBarEnabled(boolean naviStatusBarEnabled)` 设置是否启用导航状态栏 Set whether to enable navigation status bar
    `void` | `setOverBitmap(Bitmap defaultBitmap, Bitmap pressedBitmap)` 设置全览按钮的默认图片和点击图片（默认态与点击态图片同时设置才生效） Set the default image and click image of the overview button (both default and click state images need to be set simultaneously to take effect)
    `void` | `setPointToCenter(double x, double y)` 设置自车位置锁定在屏幕中的位置 Set the vehicle position locked in the screen
    `void` | `setRealCrossDisplayShow(boolean isCrossDisplayEnabled)` 已过时。 使用 `AMapNaviViewOptions.setEyrieCrossDisplay(boolean)`代替当前调用方式 Use `AMapNaviViewOptions.setEyrieCrossDisplay(boolean)`Replace the current calling method
    `void` | `setRestrictAreaInfoStatus(boolean drawRestrictArea)` 设置是否绘制限行图层，注意只影响绘制，只会在算路页面显示，默认值：false，不显示 "Set whether to draw the traffic restriction layer.
    `void` | `setRouteListButtonShow(boolean isShow)` 设置导航界面是否显示路线全览按钮 Set whether the route overview button is displayed in the navigation interface.
    `void` | `setRouteOverlayOptions(RouteOverlayOptions routeOverlayOptions)` 设置导航内置主路线相关的属性，如：路线的路况颜色，路线上是否显示摄像头气泡等 Set navigation built-in main route related properties, such as: route traffic condition colors, whether to display camera bubbles on the route, etc.
    `void` | `setRouteStrategy(int routeStrategy)` 设置规划路线的策略， Set route planning strategy 默认为`PathPlanningStrategy.DRIVING_MULTIPLE_ROUTES_DEFAULT`，速度优先+躲避拥堵+距离较短 Default `PathPlanningStrategy.DRIVING_MULTIPLE_ROUTES_DEFAULT`， Speed priority + Avoid congestion + Shorter distance
    `void` | `setSecondActionVisible(boolean visible)` 设置是否显示下下个路口的转向引导，默认不显示 Set whether to display turn guidance for the next next intersection, default is not display.
    `void` | `setSensorEnable(boolean sensorEnable)` 自车图标是否使用陀螺仪方向（只在骑行导航和步行导航下有效） Whether the vehicle icon uses gyroscope direction (only valid in cycling and walking navigation)
    `void` | `setSettingMenuEnabled(java.lang.Boolean enabled)` 设置菜单按钮是否在导航界面显示 Set whether the menu button is displayed in the navigation interface.
    `void` | `setShowCameraDistance(boolean show)` 设置电子眼的距离是否显示 Set whether to display the distance of electronic eye
    `void` | `setShowNaviPopTips(boolean isShow)` 导航过程中是否显示底部的tips, 包括：路线切换，禁限行提示等，默认值：true， 显示 导航过程中是否显示底部的tips, 包括：路线切换，禁限行提示等，默认值：true， 显示\":{\"en\":\"Whether to display the bottom tips during navigation, including: route switching, traffic restriction prompts, etc.
    `void` | `setShowRouteStrategyPreferencePanel(boolean isShow)` 设置路径规划偏好策略面板是否显示， 默认值：true, 显示 "Set whether the route planning preference strategy panel is displayed.
    `void` | `setShowSettingsPanel(boolean isShow)` 设置当点击设置按钮时是否显示默认的设置面板。
    `void` | `setStartPointBitmap(Bitmap icon)` 设置起点位图，须在画路前设置 Set the start point bitmap, must be set before drawing the route
    `void` | `setStopTtsWhenNaviExit(boolean stopTtsWhenNaviExit)` 退出导航页面是否停止内置语音播报，默认值：true，停止 Whether to stop built-in voice broadcast when exiting the navigation page, default value: true, stop
    `void` | `setTilt(int tilt)` 设置锁车态下地图倾角 Set the map tilt angle under vehicle lock state.
    `void` | `setTrafficBarEnabled(java.lang.Boolean enabled)` 设置路况光柱条是否显示（只适用于驾车导航，需要联网） Set whether the traffic condition light column bar is displayed (only applicable to driving navigation, requires internet connection).
    `void` | `setTrafficBitmap(Bitmap defaultBitmap, Bitmap pressedBitmap)` 设置路况按钮的开启态图片和关闭态图片（开启态与关闭态图片同时设置才生效） Set the enabled state image and disabled state image of the traffic condition button (both enabled and disabled state images need to be set simultaneously to take effect)
    `void` | `setTrafficLayerEnabled(java.lang.Boolean enabled)` 设置[实时交通图层开关按钮]是否显示（只适用于驾车导航，需要联网） Set whether the [real-time traffic layer switch button] is displayed (only applicable to driving navigation, requires internet connection).
    `void` | `setTrafficLine(boolean enabled)` 设置地图上是否显示交通路况（彩虹线） Set whether to display traffic conditions (rainbow lines) on the map.
    `void` | `setVoiceAssistSettings(AMapNaviViewOptions.VoiceAssistSettings voiceAssistSettings)` 设置语音辅助功能的相关配置项 Set the relevant configuration items for voice assistance function
    `void` | `setWayPointBitmap(Bitmap icon)` 设置导航过程中的途经点位图，须在画路前设置 Set the waypoint bitmap during navigation, must be set before drawing the route
    `void` | `setWidgetOverSpeedPulseEffective(boolean effective)` 设置超速脉冲是否显示 Set whether to display overspeed pulse
    `void` | `setZoom(int zoom)` 设置锁车下地图缩放等级（仅在关闭了动态比例尺下生效） Set the map zoom level under vehicle lock (only effective when dynamic scale is turned off)

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### HUD_NORMAL_SHOW

          public static final int HUD_NORMAL_SHOW

      HUD正向显示（数值：1）
      HUD normal display (value: 1)
      另请参阅:
        常量字段值

    - #### HUD_MIRROR_SHOW

          public static final int HUD_MIRROR_SHOW

      HUD镜像显示（数值：2）
      HUD mirror display (value: 2)
      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### AMapNaviViewOptions

          public AMapNaviViewOptions()

  - ### 方法详细资料

    - #### setDrawBackUpOverlay

          public void setDrawBackUpOverlay(boolean drawBackUpRouteOverlay)

      设置是否绘制备选路线,只是控制是否绘制，并不影响多备选路线功能
      Set whether to draw alternative routes, only controls whether to draw, does not affect the multi-alternative route function
      参数:
        `drawBackUpRouteOverlay` - 默认为true，设置false不会绘制备选路线
        Default is true, setting false will not draw alternative routes
      从以下版本开始:
        6.7.0

    - #### setAfterRouteAutoGray

          public void setAfterRouteAutoGray(boolean afterRouteAutoGray)

      通过路线是否自动置灰
      Whether passed routes are automatically grayed out.

      可以使用`RouteOverlayOptions.setPassRoute(Bitmap)`改变纹理
      Can use `RouteOverlayOptions.setPassRoute(Bitmap)` to change texture

      参数:
        `afterRouteAutoGray` -
      从以下版本开始:
        6.2.0

    - #### setAutoLockCar

          public void setAutoLockCar(boolean autoLockCar)

      设置6秒后是否自动锁车
      Set whether to automatically lock the vehicle after 6 seconds
      参数:
        `autoLockCar` - true代表自动锁车，false代表不自动锁车
        true represents automatic lock, false represents no automatic lock

    - #### setCameraBubbleShow

          public void setCameraBubbleShow(boolean cameraBubbleShow)

      已过时。 请配合 `RouteOverlayOptions.setOnRouteCameShow(boolean)` 与 `AMapNaviViewOptions.setRouteOverlayOptions(RouteOverlayOptions)` 使用
      Please use with `RouteOverlayOptions.setOnRouteCameShow(boolean)` and `AMapNaviViewOptions.setRouteOverlayOptions(RouteOverlayOptions)`
      设置路线上的摄像头气泡是否显示
      Set whether camera bubbles on the route are displayed
      参数:
        `cameraBubbleShow` - true代表显示，false代表不显示
        true represents display, false represents not display

    - #### setSensorEnable

          public void setSensorEnable(boolean sensorEnable)

      自车图标是否使用陀螺仪方向（只在骑行导航和步行导航下有效）
      Whether the vehicle icon uses gyroscope direction (only valid in cycling and walking navigation)
      参数:
        `sensorEnable` - true自车图标使用陀螺仪方向, false自车图标使用路线行进方向。
        true vehicle icon uses gyroscope direction, false vehicle icon uses route direction.

    - #### setRouteOverlayOptions

          public void setRouteOverlayOptions(RouteOverlayOptions routeOverlayOptions)

      设置导航内置主路线相关的属性，如：路线的路况颜色，路线上是否显示摄像头气泡等
      Set navigation built-in main route related properties, such as: route traffic condition colors, whether to display camera bubbles on the route, etc.
      参数:
        `routeOverlayOptions` -

    - #### setCrossLocation

          public void setCrossLocation(Rect landscape,
                                       Rect vertical)

      已过时。 使用 `AMapNaviViewOptions.setEyrieCrossLocation(Rect, Rect)`来控制路口大图位置
      设置路口放大图的显示位置
      Set the display position of the intersection enlargement map.

      路口放大图分为模型图和实景图，这里设置的是模型图的位置.
      The intersection enlargement map is divided into model map and real scene map, here sets the position of the model map.
      实景图可通过自定义ZoomInIntersectionView进行设置.
      Real scene map can be set through custom ZoomInIntersectionView.

      参数:
        `landscape` - 横屏路口放大图显示位置。
        Landscape intersection enlargement map display position.
        `vertical` - 竖屏路口放大图显示位置。
        Vertical intersection enlargement map display position.
      从以下版本开始:
        5.0.0

    - #### getCarBitmap

          public Bitmap getCarBitmap()

      获取车标的bitmap对象
      Get the bitmap object of the vehicle icon
      返回:

    - #### setCarBitmap

          public void setCarBitmap(Bitmap carBitmap)

      设置自车的图片对象
      Set the image object of the vehicle
      参数:
        `carBitmap` - 车标对象
        Vehicle icon object

    - #### getFourCornersBitmap

          public Bitmap getFourCornersBitmap()

      获取罗盘位图对象
      Get the compass bitmap object.
      返回:
        bitmap

    - #### setFourCornersBitmap

          public void setFourCornersBitmap(Bitmap fourCornersBitmap)

      设置罗盘位图对象
      Set the compass bitmap object
      参数:
        `fourCornersBitmap` -

    - #### isCompassEnabled

          public boolean isCompassEnabled()

      已过时。 此接口已失效
      This interface is deprecated.
      返回指南针图标是否显示
      Return whether the compass icon is displayed.
      返回:
        返回true，代表显示指南针；返回false，代表不显示指南针。
        Return true, representing display compass; return false, representing not display compass.

    - #### setCompassEnabled

          public void setCompassEnabled(java.lang.Boolean enabled)

      已过时。 此接口已失效
      This interface is deprecated.
      设置指南针图标否在导航界面显示，默认显示
      Set whether the compass icon is displayed in the navigation interface, default is display.

      true，显示；false，隐藏
      true, display; false, hide.

      参数:
        `enabled` - true，显示；false，隐藏。
        true, display; false, hide.

    - #### setTrafficBarEnabled

          public void setTrafficBarEnabled(java.lang.Boolean enabled)

      设置路况光柱条是否显示（只适用于驾车导航，需要联网）
      Set whether the traffic condition light column bar is displayed (only applicable to driving navigation, requires internet connection).
      参数:
        `enabled` - 路况光柱条是否在导航界面显示，默认为true，代表显示路况光柱条。true，显示；false，隐藏。
        Whether the traffic condition light column bar is displayed in the navigation interface, default is true, representing display traffic condition light column bar. true, display; false, hide.

    - #### isTrafficLayerEnabled

          public boolean isTrafficLayerEnabled()

      是否显示实时交通图层开关按钮（只适用于驾车导航，需要联网）
      Whether to display real-time traffic layer switch button (only applicable to driving navigation, requires internet connection)
      返回:
        返回实时交通图层开关按钮是否显示。默认为true，代表显示实时交通图层。true，显示；false，隐藏。
        Return whether the real-time traffic layer switch button is displayed. Default is true, representing display real-time traffic layer. true, display; false, hide.

    - #### setTrafficLayerEnabled

          public void setTrafficLayerEnabled(java.lang.Boolean enabled)

      设置[实时交通图层开关按钮]是否显示（只适用于驾车导航，需要联网）
      Set whether the [real-time traffic layer switch button] is displayed (only applicable to driving navigation, requires internet connection).
      参数:
        `enabled` - 实时实时交通图层开关按钮是否在导航界面显示，默认为true，代表显示实时交通图层。true，显示；false，隐藏。
        Whether the real-time traffic layer switch button is displayed in the navigation interface, default is true, representing display real-time traffic layer. true, display; false, hide.

    - #### isRouteListButtonShow

          public boolean isRouteListButtonShow()

      是否显示路线全览按钮
      Whether to display route overview button
      返回:
        返回全览按钮是否在导航界面显示，默认显示。true，显示；false，隐藏。
        Return whether the overview button is displayed in the navigation interface, default is display. true, display; false, hide.

    - #### setRouteListButtonShow

          public void setRouteListButtonShow(boolean isShow)

      设置导航界面是否显示路线全览按钮
      Set whether the route overview button is displayed in the navigation interface.
      参数:
        `isShow` - 设置全览按钮是否在导航界面显示，默认显示。true，显示；false，隐藏。
        Set whether the overview button is displayed in the navigation interface, default is display. true, display; false, hide.

    - #### setNaviNight

          public void setNaviNight(boolean isNight)

      已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      设置导航界面是否显示黑夜模式
      Set whether the navigation interface displays night mode.

      此方法与`AMapNaviViewOptions.setCustomMapStylePath(String path)`方法相斥，不可同时调用.
      This method is mutually exclusive with `AMapNaviViewOptions.setCustomMapStylePath(String path)` method, cannot be called simultaneously.

      参数:
        `isNight` - 导航界面是否显示黑夜模式。true代表显示；false代表不显示。
        Whether the navigation interface displays night mode. true represents display; false represents not display.

    - #### setAutoNaviViewNightMode

          public void setAutoNaviViewNightMode(boolean isAutoNaviViewNightMode)

      已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      设置是否开启自动黑夜模式切换，默认为false，不自动切换
      Set whether to enable automatic night mode switching, default is false, not automatically switching
      参数:
        `isAutoNaviViewNightMode` -
      从以下版本开始:
        6.2.0

    - #### setCustomMapStylePath

          public void setCustomMapStylePath(java.lang.String path)

      已过时。 请使用 `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      Please use `AMapNaviViewOptions.setMapStyle(MapStyle mapStyle, String customStylePath)`
      设置地图自定义样式文件的路径
      Set the path of the map custom style file.

      此方法与`AMapNaviViewOptions.setNaviNight(boolean isNight)`方法相斥，不可同时调用.
      This method is mutually exclusive with `AMapNaviViewOptions.setNaviNight(boolean isNight)` method, cannot be called simultaneously.

      从以下版本开始:
        5.0.0

    - #### setMapStyle

          public void setMapStyle(MapStyle mapStyle,
                                  java.lang.String customStylePath)

      设置地图的显示样式
      Set the display style of the map
      参数:
        `mapStyle` - 地图样式类型 `MapStyle`
        Map style type `MapStyle`
        `customStylePath` - 自定义地图样式文件路径，仅在 mapStyle 为 `MapStyle.CUSTOM` 时生效
        Custom map style file path, only effective when mapStyle is `MapStyle.CUSTOM`

    - #### setStartPointBitmap

          public void setStartPointBitmap(Bitmap icon)

      设置起点位图，须在画路前设置
      Set the start point bitmap, must be set before drawing the route
      参数:
        `icon` - 起点位图
        Start point bitmap

    - #### setEndPointBitmap

          public void setEndPointBitmap(Bitmap icon)

      设置终点位图，须在画路前设置
      Set the end point bitmap, must be set before drawing the route
      参数:
        `icon` - 终点位图
        End point bitmap

    - #### setWayPointBitmap

          public void setWayPointBitmap(Bitmap icon)

      设置导航过程中的途经点位图，须在画路前设置
      Set the waypoint bitmap during navigation, must be set before drawing the route
      参数:
        `icon` - 途经点位图
        Waypoint bitmap

    - #### setMonitorCameraBitmap

          public void setMonitorCameraBitmap(Bitmap icon)

      设置导航路线上的摄像头监控图标（只适用于驾车导航）
      Set the camera monitoring icon on the navigation route (only applicable to driving navigation).
      参数:
        `icon` - 指定自定义图标的Bitmap对象。
        Specify the Bitmap object of the custom icon.

    - #### isSettingMenuEnabled

          public boolean isSettingMenuEnabled()

      设置菜单按钮是否显示
      Set whether the menu button is displayed.
      返回:
        返回导航界面菜单按钮是否显示。true，开启；false，不开启。
        Return whether the menu button is displayed in the navigation interface. true, enabled; false, disabled.

    - #### setSettingMenuEnabled

          public void setSettingMenuEnabled(java.lang.Boolean enabled)

      设置菜单按钮是否在导航界面显示
      Set whether the menu button is displayed in the navigation interface.
      参数:
        `enabled` - 菜单按钮是否在导航界面显示。true代表显示，false代表不显示。
        Whether the menu button is displayed in the navigation interface. true represents display, false represents not display.

    - #### isTrafficLine

          public boolean isTrafficLine()

      地图上是否显示交通路况（彩虹线）
      Whether to display traffic conditions (rainbow lines) on the map.

      拥堵-红色，畅通-绿色，缓慢-黄色，未知-蓝色。
      Congestion-red, smooth-green, slow-yellow, unknown-blue.

      返回:
        返回 true 表示绘制；返回 false 表示未绘制.
        Return true means draw; return false means not draw.

    - #### setTrafficLine

          public void setTrafficLine(boolean enabled)

      设置地图上是否显示交通路况（彩虹线）
      Set whether to display traffic conditions (rainbow lines) on the map.

      拥堵-红色，畅通-绿色，缓慢-黄色，未知-蓝色。默认显示。
      Congestion-red, smooth-green, slow-yellow, unknown-blue. Default is display.

      参数:
        `enabled` - true-显示交通路况；false-不显示交通路况
        true-display traffic conditions; false-do not display traffic conditions

    - #### getLeaderLineColor

          public int getLeaderLineColor()

      获取牵引线颜色
      Get the guide line color
      返回:
        牵引线颜色
        Guide line color

    - #### isLeaderLineEnabled

          public boolean isLeaderLineEnabled()

      返回是否绘制牵引线
      Return whether to draw the guide line.
      返回:
        返回 true 表示绘制；返回 false 表示未绘制。
        Return true means draw; return false means not draw.

    - #### setLeaderLineEnabled

          public void setLeaderLineEnabled(int color)

      设置是否绘制牵引线（当前位置到目的地的指引线）,默认不绘制牵引线
      Set whether to draw the guide line (guidance line from current position to destination), Default is not to draw the guide line.
      参数:
        `color` - 设置牵引线颜色，为ARGB格式。不显示牵引线时，颜色设置为-1即可。
        Set the guide line color, in ARGB format. When not displaying the guide line, set the color to -1.

    - #### isLayoutVisible

          public boolean isLayoutVisible()

      获取当前导航界面是否显示
      Get whether the current navigation interface is displayed.
      返回:
        boolean true导航界面显示，false导航界面不显示。
        boolean true navigation interface is displayed, false navigation interface is not displayed.

    - #### setLayoutVisible

          public void setLayoutVisible(boolean isLayoutVisible)

      设置导航界面UI是否显示
      Set whether the navigation interface UI is displayed.

      注意：该接口会同时隐藏模型放大图和实景放大图，隐藏后可以通过`AMapModeCrossOverlay`绘制放大图
      Note: This interface will hide both the model enlargement map and the real scene enlargement map at the same time. After hiding, the enlargement map can be drawn through `AMapModeCrossOverlay`

      参数:
        `isLayoutVisible` - true导航界面显示，false导航界面不显示。
        true navigation interface is displayed, false navigation interface is not displayed.

    - #### getLockMapDelayed

          public long getLockMapDelayed()

      获取锁定地图延迟毫秒数
      Get the map lock delay in milliseconds.
      返回:
        long 延迟毫秒。
        long delay milliseconds.

    - #### setLockMapDelayed

          public void setLockMapDelayed(long lockMapDelayed)

      设置锁定地图延迟毫秒数
      Set the map lock delay in milliseconds.
      参数:
        `lockMapDelayed` - 延迟毫秒。
        Delay milliseconds.

    - #### isAutoDrawRoute

          public boolean isAutoDrawRoute()

      是否自动画路，默认为True，此时当算路成功后会立即自动画路
      Whether to automatically draw the route, default is True, at this time the route will be automatically drawn immediately after successful route calculation
      返回:
        true, 自动画路;false，不自动画路
        true, automatically draw route; false, do not automatically draw route
      从以下版本开始:
        1.5.0

    - #### setAutoDrawRoute

          public void setAutoDrawRoute(boolean autoDrawRoute)

      设置是否自动画路
      Set whether to automatically draw the route
      参数:
        `autoDrawRoute` - true, 自动画路；false，不自动画路
        true, automatically draw route; false, do not automatically draw route
      从以下版本开始:
        1.5.0

    - #### isRealCrossDisplayShow

          public boolean isRealCrossDisplayShow()

      是否显示路口放大图(实景图)
      Whether to display intersection enlargement map (real scene map)
      返回:
        true，开启；false，不开启
        true, enabled; false, disabled
      从以下版本开始:
        5.0.0

    - #### setRealCrossDisplayShow

          public void setRealCrossDisplayShow(boolean isCrossDisplayEnabled)

      已过时。 使用 `AMapNaviViewOptions.setEyrieCrossDisplay(boolean)`代替当前调用方式
      Use `AMapNaviViewOptions.setEyrieCrossDisplay(boolean)`Replace the current calling method
      设置是否显示路口放大图(实景图)
      Set whether to display intersection enlargement map (real scene map)
      参数:
        `isCrossDisplayEnabled` - true，开启；false，不开启
        true, enabled; false, disabled
      从以下版本开始:
        5.0.0

    - #### isModelCrossDisplayShow

          public boolean isModelCrossDisplayShow()

      是否显示路口放大图(路口模型图)
      Whether to display intersection enlargement map (intersection model map)
      返回:
        true，显示；false，不显示
        true, display; false, not display
      从以下版本开始:
        1.5.0

    - #### setModeCrossDisplayShow

          public void setModeCrossDisplayShow(boolean isCrossDisplayShow)

      已过时。 此方法已过期，使用 `AMapNaviViewOptions.setEyrieCrossDisplay(boolean show)`来控制路口大图显隐
      This method is deprecated, use `AMapNaviViewOptions.setEyrieCrossDisplay(boolean show)` to control the display\/hide of intersection overview
      设置是否显示路口放大图(路口模型图)
      Set whether to display intersection enlargement map (intersection model map)
      参数:
        `isCrossDisplayShow` - true，显示；false，不显示
        true, display; false, not display
      从以下版本开始:
        1.5.0

    - #### isLaneInfoShow

          public boolean isLaneInfoShow()

      是否显示道路信息view
      Whether to display road information view
      返回:
        true，显示；false，不显示
        true, display; false, not display
      从以下版本开始:
        1.5.0

    - #### setLaneInfoShow

          public void setLaneInfoShow(boolean isLaneInfoShow)

      设置是否显示道路信息view
      Set whether to display road information view
      参数:
        `isLaneInfoShow` - true，显示；false，不显示
        true, display; false, not display
      从以下版本开始:
        1.5.0

    - #### setAutoZoomRange

          public void setAutoZoomRange(float minZoom,
                                       float maxZoom)

      设置自动缩放地图的缩放范围。默认14--18级，(骑步行有效，驾车无效)
      参数:
        `minZoom` - 最小范围（不小于14）
        `maxZoom` - 最大范围（不大于18）
      从以下版本开始:
        10.0.820

    - #### getMinAutoZoom

          public float getMinAutoZoom()

      获取自动缩放地图的最小级别
      Obtain the minimum zoom level of the auto-scaling map
      返回:
      从以下版本开始:
        10.0.820

    - #### getMaxAutoZoom

          public float getMaxAutoZoom()

      获取自动缩放地图的最大级别
      Get the maximum zoom level of the auto-scaling map
      返回:
      从以下版本开始:
        10.0.820

    - #### getZoom

          public int getZoom()

      获取锁车下地图缩放等级（仅在关闭了动态比例尺下生效）
      Get the map zoom level under vehicle lock (only effective when dynamic scale is turned off)
      返回:
        缩放等级
        Zoom level

    - #### setZoom

          public void setZoom(int zoom)

      设置锁车下地图缩放等级（仅在关闭了动态比例尺下生效）
      Set the map zoom level under vehicle lock (only effective when dynamic scale is turned off)
      参数:
        `zoom` - 缩放等级，取值范围[14-18]
        Zoom level, value range [14-18]

    - #### getTilt

          public int getTilt()

      获取锁车态下地图倾角
      Get the map tilt angle under vehicle lock state
      返回:
        倾角
        Tilt angle

    - #### setTilt

          public void setTilt(int tilt)

      设置锁车态下地图倾角
      Set the map tilt angle under vehicle lock state.

      倾角为0时地图模式是2D模式。
      When the tilt angle is 0, the map mode is 2D mode.

      参数:
        `tilt` - 倾角， 取值范围[0-60]
        Tilt angle, value range [0-60]

    - #### isAutoChangeZoom

          public boolean isAutoChangeZoom()

      是否开启了动态比例尺 (锁车态下自动进行地图缩放变化)
      Whether dynamic scale is enabled (automatically zoom the map under vehicle lock state)
      返回:
        true, 自动改变；false，不自动改变
        true, automatically change; false, not automatically change
      从以下版本开始:
        1.5.0

    - #### setAutoChangeZoom

          public void setAutoChangeZoom(boolean isAutoChangeZoom)

      设置是否开启动态比例尺 (锁车态下自动进行地图缩放变化)
      Set whether to enable dynamic scale (automatically zoom the map under vehicle lock state)
      参数:
        `isAutoChangeZoom` - true,自动改变；false，不自动改变
        true, automatically change; false, not automatically change
      从以下版本开始:
        1.5.0

    - #### setPointToCenter

          public void setPointToCenter(double x,
                                       double y)

      设置自车位置锁定在屏幕中的位置
      Set the vehicle position locked in the screen
      参数:
        `x` - 取值范围：(0,1] 在x轴的位置，百分比。如设置0，则根据横/竖屏使用默认值。
        x value range: (0, 1], representing the position on the x-axis as a percentage. If set to 0, the default value is used based on the screen orientation (landscape or portrait).
        `y` - 取值范围：(0,1] 在y轴的位置，百分比。如设置0，则根据横/竖屏使用默认值。
        "y value range: (0, 1], representing the position on the y-axis as a percentage. If set to 0, the default value is used based on the screen orientation (landscape or portrait)."
      从以下版本开始:
        1.5.0

    - #### getMapCenter_X

          public double getMapCenter_X()

      自车位置锁定在x轴的位置，范围：(0,1]。如返回0，则根据横/竖屏使用默认值。
      The vehicle position is fixed along the x-axis with a range of (0, 1]. If the value is 0, the default is used based on screen orientation (landscape or portrait).
      返回:
        自车位置锁定在x轴的位置
        Vehicle position locked on x-axis
      从以下版本开始:
        1.5.0

    - #### getMapCenter_Y

          public double getMapCenter_Y()

      自车位置锁定在y轴的位置，范围：(0,1]。如返回0，则根据横/竖屏使用默认值。
      The vehicle position is fixed along the y-axis with a range of (0, 1]. If the value is 0, the default is used based on screen orientation (landscape or portrait).
      返回:
        自车位置锁定在y轴的位置
        Vehicle position locked on y-axis
      从以下版本开始:
        1.5.0

    - #### setTrafficBitmap

          public void setTrafficBitmap(Bitmap defaultBitmap,
                                       Bitmap pressedBitmap)

      设置路况按钮的开启态图片和关闭态图片（开启态与关闭态图片同时设置才生效）
      Set the enabled state image and disabled state image of the traffic condition button (both enabled and disabled state images need to be set simultaneously to take effect)
      参数:
        `defaultBitmap` - 开启态图片
        Enabled state image
        `pressedBitmap` - 关闭态图片
        Disabled state image

    - #### setOverBitmap

          public void setOverBitmap(Bitmap defaultBitmap,
                                    Bitmap pressedBitmap)

      设置全览按钮的默认图片和点击图片（默认态与点击态图片同时设置才生效）
      Set the default image and click image of the overview button (both default and click state images need to be set simultaneously to take effect)
      参数:
        `defaultBitmap` - 默认的图片
        Default image
        `pressedBitmap` - 点击的图片
        Click image

    - #### setAutoDisplayOverview

          public void setAutoDisplayOverview(boolean isAutoDisplay)

      设置是否自动全览模式，即在算路成功后自动进入全览模式
      Set whether to enable automatic overview mode, that is, automatically enter overview mode after successful route calculation
      参数:
        `isAutoDisplay` -
      从以下版本开始:
        6.2.0

    - #### setNaviArrowVisible

          public void setNaviArrowVisible(boolean isArrow)

      设置路线转向箭头隐藏和显示
      Set route turn arrow hide and show
      参数:
        `isArrow` -
      从以下版本开始:
        6.3.0

    - #### setSecondActionVisible

          public void setSecondActionVisible(boolean visible)

      设置是否显示下下个路口的转向引导，默认不显示
      Set whether to display turn guidance for the next next intersection, default is not display.

      注意：该接口仅驾车模式有效
      Note: This interface is only valid in driving mode

      参数:
        `visible` - true-显示，false-不显示
        true-display, false-not display
      从以下版本开始:
        7.7.0

    - #### isEyrieCrossDisplay

          public boolean isEyrieCrossDisplay()

      是否显示鹰巢路口放大图
      Whether to display Eagle Nest intersection enlargement map
      返回:
        true-显示 false-不显示
        true-display false-not display
      从以下版本开始:
        7.4.0

    - #### setEagleMapVisible

          public void setEagleMapVisible(boolean show)

      设置鹰眼小地图是否显示
      Set whether to display Eagle Eye mini map
      参数:
        `show` -
      从以下版本开始:
        10.0.0

    - #### setShowCameraDistance

          public void setShowCameraDistance(boolean show)

      设置电子眼的距离是否显示
      Set whether to display the distance of electronic eye
      参数:
        `show` -
      从以下版本开始:
        10.0.0

    - #### setWidgetOverSpeedPulseEffective

          public void setWidgetOverSpeedPulseEffective(boolean effective)

      设置超速脉冲是否显示
      Set whether to display overspeed pulse
      参数:
        `effective` -
      从以下版本开始:
        10.0.0

    - #### setShowSettingsPanel

          public void setShowSettingsPanel(boolean isShow)

      设置当点击设置按钮时是否显示默认的设置面板。默认值：false
      "Set whether the default settings panel is displayed when the settings button is clicked. Default value: false."
    - true: 会显示默认的设置面板
      The default settings panel will be displayed
    - false: 不会显示，您可以在收到`AMapNaviViewListener.onNaviSetting()`回调时显示自己的设置面板
      Will not be displayed, you can receive it `AMapNaviViewListener.onNaviSetting()` Display your own settings panel during callback

参数:
  `isShow` - 是否显示默认的设置面板
  Whether to display the default settings panel
从以下版本开始:
  10.0.820

- #### setShowRouteStrategyPreferencePanel

      public void setShowRouteStrategyPreferencePanel(boolean isShow)

  设置路径规划偏好策略面板是否显示， 默认值：true, 显示
  "Set whether the route planning preference strategy panel is displayed. Default value: true (displayed)."
  参数:
    `isShow` - 是否显示, 默认值：true, 显示
    Display or not。 Default value ： true , yes
  从以下版本开始:
    10.0.820

- #### setRouteStrategy

      public void setRouteStrategy(int routeStrategy)

  设置规划路线的策略，
  Set route planning strategy 默认为`PathPlanningStrategy.DRIVING_MULTIPLE_ROUTES_DEFAULT`，速度优先+躲避拥堵+距离较短
  Default `PathPlanningStrategy.DRIVING_MULTIPLE_ROUTES_DEFAULT`， Speed priority + Avoid congestion + Shorter distance
  参数:
    `routeStrategy` - `PathPlanningStrategy`。
- 普通客车、货车请使用"DRIVING_"开头的策略，驾车推荐使用默认策略 `PathPlanningStrategy.DRIVING_MULTIPLE_ROUTES_DEFAULT`
For regular buses and trucks, please use strategies starting with DRIVING_. The default strategy is recommended for driving.
- 摩托车请使用"MOTOR_"开头的策略, 摩托车推荐使用默认策略`PathPlanningStrategy.MOTOR_MULTIPLE_DEFAULT`
"Motorcycles should use strategies prefixed with 'MOTOR_'. It is recommended that motorcycles use the default strategy."
从以下版本开始:
  10.0.820

- #### setNaviMode

      public void setNaviMode(int mode)

  设置导航模式， 默认值：AMapNaviView.CAR_UP_MODE, 车头向上模式
  Set navigation mode, default: AMapNaviView.CAR_UP_MODE, heading-up mode

  注意：从10.0.820开始，已不建议使用`AMapNaviView.setNaviMode(int)`,
  Note: Starting from version 10.0.820, it is no longer recommended for use `AMapNaviView.setNaviMode(int)`, 如果您之前有调用`AMapNaviView.setNaviMode(int)`请保证`AMapNaviView.setNaviMode(int)`
  If you have previously called `AMapNaviView.setNaviMode(int)` Please ensure `AMapNaviView.setNaviMode(int)` 设置的值与该值一致，否则以最后一次的设置为准。
  The set value should match this value, otherwise the last setting will prevail

  参数:
    `mode` - 导航模式 `AMapNaviView.CAR_UP_MODE`车头向上模式 `AMapNaviView.NORTH_UP_MODE`-北朝上模式
    Navigation Mode `AMapNaviView.CAR_UP_MODE` North-up mode `AMapNaviView.NORTH_UP_MODE`-North-up mode
  从以下版本开始:
    10.0.820

- #### setVoiceAssistSettings

      public void setVoiceAssistSettings(AMapNaviViewOptions.VoiceAssistSettings voiceAssistSettings)

  设置语音辅助功能的相关配置项
  Set the relevant configuration items for voice assistance function
  参数:
    `voiceAssistSettings` - 语音辅助功能相关配置项
    Configuration items related to voice assistance function
  从以下版本开始:
    10.0.820

- #### setRestrictAreaInfoStatus

      public void setRestrictAreaInfoStatus(boolean drawRestrictArea)

  设置是否绘制限行图层，注意只影响绘制，只会在算路页面显示，默认值：false，不显示
  "Set whether to draw the traffic restriction layer. Note that this only affects rendering and will only be displayed on the route calculation page. Default value: false (not displayed)."

  此功能为高级功能，如需使用，请先联系对应的商务开通权限。
  This is a premium feature. Please contact the corresponding sales representative to activate the permission if you need to use it.

  参数:
    `drawRestrictArea` - true 绘制 false不绘制，默认为false
    "true to draw, false to not draw. Default: false."
  从以下版本开始:
    10.0.820

- #### setShowNaviPopTips

      public void setShowNaviPopTips(boolean isShow)

  导航过程中是否显示底部的tips, 包括：路线切换，禁限行提示等，默认值：true， 显示
  导航过程中是否显示底部的tips, 包括：路线切换，禁限行提示等，默认值：true， 显示\":{\"en\":\"Whether to display the bottom tips during navigation, including: route switching, traffic restriction prompts, etc. Default value: true, display
  参数:
    `isShow` - 是否显示， true: 显示， false: 不显示
    Display or not ture:Display false:Not
  从以下版本开始:
    10.0.820

- #### setAMapNaviType

      public void setAMapNaviType(AmapNaviType naviType)

  设置导航类型。默认为类为：`AmapNaviType.DRIVER`, 驾车类型
  Set navigation type. Default is: `AmapNaviType.DRIVER`, driving type 注意：
  Note：
- 目前仅支持`AmapNaviType.DRIVER`和`AmapNaviType.MOTORCYCLE`这两种类型的设置
  Currently only supports `AmapNaviType.DRIVER` and `AmapNaviType.MOTORCYCLE` These two types of settings
- 如果需要使用骑、步行模式，请在初始化AMapNaviView之前通过`AMapNavi.setIsNaviTravelView(boolean)`进行设置
  If you need to use the cycling or walking mode, please pass it before initializing AMapNaviView Perform settings

参数:
  `naviType` - 导航类型
  Navigation Type
从以下版本开始:
  10.0.820

- #### isStopTtsWhenNaviExit

      public boolean isStopTtsWhenNaviExit()

  退出导航页面是否停止内置语音播报，默认值：true，停止
  Whether to stop built-in voice broadcast when exiting the navigation page, default value: true, stop
  返回:
    返回 true 表示停止；返回 false 表示不停止.
    Return true indicates stop： Return false Indicate not to stop
  从以下版本开始:
    10.5.2.03

- #### setStopTtsWhenNaviExit

      public void setStopTtsWhenNaviExit(boolean stopTtsWhenNaviExit)

  退出导航页面是否停止内置语音播报，默认值：true，停止
  Whether to stop built-in voice broadcast when exiting the navigation page, default value: true, stop
  参数:
    `stopTtsWhenNaviExit` - true-停止；false-不停止
    Return true indicates stop： Return false Indicate not to stop
  从以下版本开始:
    10.5.2.03

- #### setBroadcastModeEnabled

      public void setBroadcastModeEnabled(boolean enabled)

  设置是否启用播报模式控件
  Set whether to enable broadcast mode control
  参数:
    `enabled` - true-启用；false-不启用
    true-enabled; false-disabled

- #### setNaviStatusBarEnabled

      public void setNaviStatusBarEnabled(boolean naviStatusBarEnabled)

  设置是否启用导航状态栏
  Set whether to enable navigation status bar
  参数:
    `naviStatusBarEnabled` - true-启用；false-不启用
    true-enabled; false-disabled