TencentNavKit

Instance Methods | Class Methods | List of all members
TNKDriveRoutePlanService Class Reference

独立算路服务，算路结果不能用于导航 More...

`#import <TNKDriveRoutePlanService.h>`

Inheritance diagram for TNKDriveRoutePlanService:

## Instance Methods
(instancetype) | - NS_UNAVAILABLE
(TNKSearchTask *_Nullable) | - searchRoutesWithRequest:completion:
| 发起驾车导航路线规划，不能应用于开启导航. 通过路线规划请求配置起点、终点、途经点(可选)、规划参数(可选)发起路线规划. More...

## Class Methods
(instancetype) | + sharedInstance
| 单例模式，获取独立算路管理对象 More...

## Detailed Description

独立算路服务，算路结果不能用于导航

## Method Documentation

## ◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE |  |  |

## ◆ searchRoutesWithRequest:completion:

- (TNKSearchTask *_Nullable) searchRoutesWithRequest: |  | (TNKDriveRouteRequest *) | request
completion: |  | (void(^)(TNKDriveRouteSearchResult *_Nullable searchResult, NSError *_Nullable error)) | completion

发起驾车导航路线规划，不能应用于开启导航. 通过路线规划请求配置起点、终点、途经点(可选)、规划参数(可选)发起路线规划.

Parameters

  request | 路线规划请求
  completion | 路线规划完成回调

Returns
  路线规划任务

错误信息参考TNKDriveRouteSearchErrorCode, TNKDriveRouteSearchErrorDomain

## ◆ sharedInstance

+ (instancetype) sharedInstance |  |  |

单例模式，获取独立算路管理对象

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

- TNKDriveRoutePlanService.h