OpenSDK8.1.1
Loading...
Searching...
No Matches
<BNLongJourneyManagerProtocol> Protocol Reference
Inheritance diagram for <BNLongJourneyManagerProtocol>:

Instance Methods

(NSError *) - showPoiLayerWithType:
(void) - fetchLongJourneyWeatherWithCompletion:
(NSError *) - showWeatherLayer
(void) - clearLongJourneyLayer

Properties

id< BNLongJourneyManagerDelegate > delegate

Method Documentation

◆ clearLongJourneyLayer

- (void) clearLongJourneyLayer

清除地图上长途数据(长途沿途 POI 查询所展示的 POI 气泡)。 在路线页算路成功、退出路线页、进导航、不再需要使用长途poi数据展示时需要调用此接口移除涂层和长途数据。 不影响其他业务模块在地图上的展示内容。

◆ fetchLongJourneyWeatherWithCompletion:

- (void) fetchLongJourneyWeatherWithCompletion: (void(^)(BOOL success)) completion

长途搜索沿途天气

Parameters
completionsuccess==YES 就是请求到天气数据。NO则没有天气数据。

◆ showPoiLayerWithType:

- (NSError *) showPoiLayerWithType: (BNLongJourneySearchType) type

根据长途检索类型,查询沿途 POI 数据, 并将查询结果以气泡(Marker / Bubble)的形式展示在地图上。

Parameters
type长途 POI 检索类型 error:如有值则代表搜索失败

◆ showWeatherLayer

- (NSError *) showWeatherLayer

展示天气气泡POI 接口使用需要在 fetchLongJourneyWeatherWithCompletion 回调成功后有数据才能使用。 接口返回error有值 则无法展示POI图层。


The documentation for this protocol was generated from the following file: