高德地图SDK(导航)  V11.1.000
<AMapNaviWalkViewDelegate> Protocol Reference

#import <AMapNaviWalkView.h>

Inheritance diagram for <AMapNaviWalkViewDelegate>:

Instance Methods

(void) - walkViewCloseButtonClicked:
 导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface More...
 
(void) - walkViewMoreButtonClicked:
 导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface More...
 
(void) - walkViewTrunIndicatorViewTapped:
 导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface More...
 
(void) - walkView:didChangeShowMode:
 导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes More...
 
(void) - walkView:didChangeTrackingMode:
 导航界面跟随模式改变后的回调函数. since 7.4.0 Callback function after the follow mode of the navigation interface changes More...
 
(void) - walkView:didChangeOrientation:
 导航界面横竖屏切换后的回调函数. since 7.4.0 Callback function after switching between landscape and portrait modes in the navigation interface More...
 
(void) - walkView:didChangeDayNightType:
 导航界面白天黑夜模式切换后的回调函数. since 8.0.0 Callback function after switching between day and night modes in the navigation interface More...
 
(UIEdgeInsets) - walkViewEdgePadding:
 在showUIElements为NO时,步行导航界面需要实时的取得可视区域,比如切换成全览时、横竖屏切换时. 注意:此回调只在showUIElements为NO时,才会调用且比较频繁,在获取EdgePadding时请勿进行大量的计算. since 8.0.0 When showUIElements is NO, the walking navigation interface needs to obtain the visible area in real time, such as when switching to overview mode or during portrait-landscape screen rotation. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding. More...
 

Method Documentation

◆ walkView:didChangeDayNightType:

- (void) walkView: (AMapNaviWalkView *)  walkView
didChangeDayNightType: (BOOL)  showStandardNightType 
optional

导航界面白天黑夜模式切换后的回调函数. since 8.0.0 Callback function after switching between day and night modes in the navigation interface

Parameters
walkView步行导航界面 Walking navigation interface
showStandardNightType是否为黑夜模式 Is it in night mode

◆ walkView:didChangeOrientation:

- (void) walkView: (AMapNaviWalkView *)  walkView
didChangeOrientation: (BOOL)  isLandscape 
optional

导航界面横竖屏切换后的回调函数. since 7.4.0 Callback function after switching between landscape and portrait modes in the navigation interface

Parameters
walkView步行导航界面 Walking navigation interface
isLandscape是否是横屏 Is it in landscape mode

◆ walkView:didChangeShowMode:

- (void) walkView: (AMapNaviWalkView *)  walkView
didChangeShowMode: (AMapNaviWalkViewShowMode showMode 
optional

导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes

Parameters
walkView步行导航界面 Walking navigation interface
showMode显示模式 Display mode

◆ walkView:didChangeTrackingMode:

- (void) walkView: (AMapNaviWalkView *)  walkView
didChangeTrackingMode: (AMapNaviViewTrackingMode trackMode 
optional

导航界面跟随模式改变后的回调函数. since 7.4.0 Callback function after the follow mode of the navigation interface changes

Parameters
walkView步行导航界面 Walking navigation interface
trackMode跟随模式 Follow mode

◆ walkViewCloseButtonClicked:

- (void) walkViewCloseButtonClicked: (AMapNaviWalkView *)  walkView
optional

导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface

Parameters
walkView步行导航界面 Walking navigation interface

◆ walkViewEdgePadding:

- (UIEdgeInsets) walkViewEdgePadding: (AMapNaviWalkView *)  walkView
optional

在showUIElements为NO时,步行导航界面需要实时的取得可视区域,比如切换成全览时、横竖屏切换时. 注意:此回调只在showUIElements为NO时,才会调用且比较频繁,在获取EdgePadding时请勿进行大量的计算. since 8.0.0 When showUIElements is NO, the walking navigation interface needs to obtain the visible area in real time, such as when switching to overview mode or during portrait-landscape screen rotation. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding.

Parameters
walkView步行导航界面 Walking navigation interface
Returns
如(100, 50, 80, 60)表示的是:walkView.bounds 上边留出100px,左边留出50px,底部留出80px,右边留出60px后的区域为可视区域,一般EdgePadding的值由用户的界面布局决定. For example, (100, 50, 80, 60) means: the area left after leaving 100px at the top, 50px at the left, 80px at the bottom, and 60px at the right of walkView.bounds is the visible area. The value of EdgePadding is generally determined by the user's interface layout.

◆ walkViewMoreButtonClicked:

- (void) walkViewMoreButtonClicked: (AMapNaviWalkView *)  walkView
optional

导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface

Parameters
walkView步行导航界面 Walking navigation interface

◆ walkViewTrunIndicatorViewTapped:

- (void) walkViewTrunIndicatorViewTapped: (AMapNaviWalkView *)  walkView
optional

导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface

Parameters
walkView步行导航界面 Walking navigation interface

The documentation for this protocol was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。