|
高德地图SDK(导航)
V11.1.000
|
#import <AMapNaviDriveView.h>
Instance Methods | |
| (void) | - driveViewCloseButtonClicked: |
| 导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface More... | |
| (void) | - driveViewMoreButtonClicked: |
| 导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface More... | |
| (void) | - driveViewTrunIndicatorViewTapped: |
| 导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface More... | |
| (void) | - driveView:didChangeShowMode: |
| 导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes More... | |
| (void) | - driveView:didChangeTrackingMode: |
| 驾车导航界面跟随模式改变后的回调函数. since 6.2.0 Callback function after the follow mode of the navigation interface changes More... | |
| (void) | - driveViewTrackingModeAnimationFinished: |
| 驾车导航界面跟随模式改变动画执行完成的回调函数,可在此函数中设置地图状态。注意,只有在showMode为AMapNaviDriveViewShowModeNormal时才会回调。 since 10.0.2 Callback function executed after the animation of the driving navigation interface's following mode change is completed, where the map state can be set within this function. Note that the callback is only triggered when showMode is AMapNaviDriveViewShowModeNormal. More... | |
| (void) | - driveView:didChangeOrientation: |
| 驾车导航界面横竖屏切换后的回调函数. since 6.2.0 Callback function after switching between landscape and portrait modes in the navigation interface 如果使用行前功能,行前只支持竖屏,横竖屏切换需要用户请使用Controller相关接口自动行判断。 If using the pre line function, the pre line only supports vertical screen, and switching between horizontal and vertical screens requires users to use the Controller's relevant interface to automatically determine. More... | |
| (void) | - driveView:didChangeDayNightType: |
| 驾车导航界面白天黑夜模式切换后的回调函数. since 6.2.0 Callback function after switching between day and night modes in the navigation interface More... | |
| (UIEdgeInsets) | - driveViewEdgePadding: |
| 在showUIElements为NO时,驾车导航界面需要实时的取得可视区域,比如切换成全览时、横竖屏切换时、动态计算地图的缩放级别时. 注意:此回调只在showUIElements为NO时,才会调用且比较频繁,在获取EdgePadding时请勿进行大量的计算. since 6.2.0 When showUIElements is NO, the driving navigation interface needs to obtain the visible area in real time, such as when switching to full view, when switching between landscape and portrait, and when dynamically calculating the zoom level of the map. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding. More... | |
| (void) | - driveViewOnSearchBarBackClicked: |
| 路线规划状态返回按钮点击 Click the route planning status return button More... | |
| (void) | - driveView:onDriveStrategyChanged: |
| 设置页面\路径规划页 驾车路径规划策略改变调用此方法 Set Page Path Planning Page Driving Path Planning Strategy Change Call this method More... | |
| (void) | - driveView:didChangeBroadcastType: |
| 导航语音播报模式设置改变的回调函数. Callback function for changes in navigation voice broadcast mode settings. More... | |
| (void) | - driveView:didChangeAutoZoomMapLevel: |
| 比例尺智能缩放设置改变的回调函数. The callback function for changing the intelligent scaling setting of the scale bar More... | |
| (void) | - driveView:didChangeMapViewModeType: |
| 导航界面地图的日夜模式设置改变的回调函数. The callback function for changing the day and night mode settings of the navigation interface map More... | |
| (void) | - driveView:didChangeShowEagleMap: |
| 导航界面地图的鹰眼地图设置改变的回调函数. The callback function for changing the eagle eye map settings on the navigation interface map More... | |
| (void) | - driveView:didChangeToState: |
| 导航界面页面状态变化 Navigation interface page status changes More... | |
| (void) | - driveView:asyncScreenShot:state: |
| (void) | - driveView:onInputChange:callBack: |
| 路线规划页面起终点输入内容变化,如果callback返回的tips 为空或者个数为 0 展示 提示:“查无结果” 实现此接口后,内部不再发起inputTip网络请求,使用callback返回的结果展示输入提示 The start and end point input content changes on the route planning page. If the tips returned by the callback are empty or the count is 0, display the prompt: 'No results found' After implementing this interface, the inputTip network request will no longer be initiated internally, and the input prompt will be displayed using the result returned by callback More... | |
| (void) | - driveView:updateRemainServiceAreaDetailInfos: |
| 导航界面的服务区卡片View点击时触发的剩余服务区列表回调函数 The callback function for the remaining service area list triggered when clicking on the service area card View in the navigation interface More... | |
| (void) | - driveView:onRouteHighlightChange:triggerType: |
| 导航高亮(主)路线更新 Navigation highlight (main) route update More... | |
|
optional |
异步截图代理回调 Asynchronous screenshot agent callback
|
optional |
比例尺智能缩放设置改变的回调函数. The callback function for changing the intelligent scaling setting of the scale bar
| autoZoomMapLevel | 锁车模式下是否为了预见下一导航动作自动缩放地图 Does the map automatically zoom to anticipate the next navigation action in car lock mode |
|
optional |
导航语音播报模式设置改变的回调函数. Callback function for changes in navigation voice broadcast mode settings.
| type | 参考 AMapNaviCompositeBroadcastType . Refer to AMapNaviCompositeBroadcastType. |
|
optional |
驾车导航界面白天黑夜模式切换后的回调函数. since 6.2.0 Callback function after switching between day and night modes in the navigation interface
| driveView | 驾车导航界面 Driving navigation interface |
| showStandardNightType | 是否为黑夜模式 Is it in night mode |
|
optional |
导航界面地图的日夜模式设置改变的回调函数. The callback function for changing the day and night mode settings of the navigation interface map
| type | 参考 AMapNaviViewMapModeType . Refer to AMapNaviViewMapModeType . |
|
optional |
驾车导航界面横竖屏切换后的回调函数. since 6.2.0 Callback function after switching between landscape and portrait modes in the navigation interface 如果使用行前功能,行前只支持竖屏,横竖屏切换需要用户请使用Controller相关接口自动行判断。 If using the pre line function, the pre line only supports vertical screen, and switching between horizontal and vertical screens requires users to use the Controller's relevant interface to automatically determine.
| driveView | 驾车导航界面 Driving navigation interface |
| isLandscape | 是否是横屏 Is it in landscape mode |
|
optional |
导航界面地图的鹰眼地图设置改变的回调函数. The callback function for changing the eagle eye map settings on the navigation interface map
| show | YES:鹰眼地图显示,NO:不显示 YES: Eagle Eye map display, NO: Not displayed |
|
optional |
导航界面显示模式改变后的回调函数 Callback function after the display mode of the navigation interface changes
| driveView | 驾车导航界面 Driving navigation interface |
| showMode | 显示模式 Display mode |
|
optional |
导航界面页面状态变化 Navigation interface page status changes
| AMapNaviDriveViewState |
|
optional |
驾车导航界面跟随模式改变后的回调函数. since 6.2.0 Callback function after the follow mode of the navigation interface changes
| driveView | 驾车导航界面 Driving navigation interface |
| trackMode | 跟随模式 Follow mode |
|
optional |
设置页面\路径规划页 驾车路径规划策略改变调用此方法 Set Page Path Planning Page Driving Path Planning Strategy Change Call this method
| driveView | 驾车导航界面 Driving navigation interface |
| driveStrategy | 驾车路径规划策略,参考 AMapNaviDrivingStrategy . Driving route planning strategy, refer to AMapNaviDrivingStrategy. |
|
optional |
路线规划页面起终点输入内容变化,如果callback返回的tips 为空或者个数为 0 展示 提示:“查无结果” 实现此接口后,内部不再发起inputTip网络请求,使用callback返回的结果展示输入提示 The start and end point input content changes on the route planning page. If the tips returned by the callback are empty or the count is 0, display the prompt: 'No results found' After implementing this interface, the inputTip network request will no longer be initiated internally, and the input prompt will be displayed using the result returned by callback
| driveView | AMapNaviDriveView inputText: 输入框内容 Input box content callback: tips数组建议一次返回10条以内数据 The tips array suggests returning no more than 10 items at a time |
|
optional |
导航高亮(主)路线更新 Navigation highlight (main) route update
| highLightPathId | 高亮(主)路线ID Highlight (Primary) Route ID |
| triggerType | 触发换路的类型 0:自动切换(自动走上备选路) 1:手动点击路线换路(手动点击路线换路/手动点击路线气泡换路) Route Switch Trigger Types: 0: Automatic Switch (Automatically take the alternative route), 1: Manual Click Route Switch (Manual route switch by clicking the route / Manual route switch by clicking the route bubble). |
|
optional |
导航界面的服务区卡片View点击时触发的剩余服务区列表回调函数 The callback function for the remaining service area list triggered when clicking on the service area card View in the navigation interface
| driveView | 驾车导航界面 Driving navigation interface |
| remainServiceAreaDetails | 剩余服务区列表详情 Details of the remaining service area list |
|
optional |
导航界面关闭按钮点击时的回调函数 Callback function when the close button is clicked on the navigation interface
| driveView | 驾车导航界面 Driving navigation interface |
|
optional |
在showUIElements为NO时,驾车导航界面需要实时的取得可视区域,比如切换成全览时、横竖屏切换时、动态计算地图的缩放级别时. 注意:此回调只在showUIElements为NO时,才会调用且比较频繁,在获取EdgePadding时请勿进行大量的计算. since 6.2.0 When showUIElements is NO, the driving navigation interface needs to obtain the visible area in real time, such as when switching to full view, when switching between landscape and portrait, and when dynamically calculating the zoom level of the map. Note: This callback is only called and relatively frequent when showUIElements is NO, please avoid heavy calculations when obtaining EdgePadding.
| driveView | 驾车导航界面 Driving navigation interface |
|
optional |
导航界面更多按钮点击时的回调函数 Callback function when the more button is clicked on the navigation interface
| driveView | 驾车导航界面 Driving navigation interface |
|
optional |
路线规划状态返回按钮点击 Click the route planning status return button
| driveView | 驾车导航界面 Driving navigation interface |
|
optional |
驾车导航界面跟随模式改变动画执行完成的回调函数,可在此函数中设置地图状态。注意,只有在showMode为AMapNaviDriveViewShowModeNormal时才会回调。 since 10.0.2 Callback function executed after the animation of the driving navigation interface's following mode change is completed, where the map state can be set within this function. Note that the callback is only triggered when showMode is AMapNaviDriveViewShowModeNormal.
| driveView | 驾车导航界面 Driving navigation interface |
|
optional |
导航界面转向指示View点击时的回调函数 Callback function when the turn indicator View is clicked in the navigation interface
| driveView | 驾车导航界面 Driving navigation interface |