TencentNavKit

Instance Methods | Properties | List of all members
TNKRouteConfig Class Reference

导航路线样式配置类 More...

`#import <TNKRouteConfig.h>`

Inheritance diagram for TNKRouteConfig:

## Instance Methods
(instancetype) | - initWithMainRouteColorConfig:accompanyRouteColorConfig:
| 导航线在不同场景下的样式配置. More...

## Properties
TNKRouteLineConfig * | mainRouteColorConfig
| 导航主路线样式配置 More...
TNKRouteLineConfig * | accompanyRouteColorConfig
| 导航伴随路线样式配置 More...
CGFloat | flowArrowGap
| 导航过程中路况线上的箭头密度.需在导航开始前设置. 默认值是100. More...

## Detailed Description

导航路线样式配置类

## Method Documentation

## ◆ initWithMainRouteColorConfig:accompanyRouteColorConfig:

- (instancetype) initWithMainRouteColorConfig: |  | (TNKRouteLineConfig *__nullable) | mainRouteColorConfig
accompanyRouteColorConfig: |  | (TNKRouteLineConfig *__nullable) | accompanyRouteColorConfig

导航线在不同场景下的样式配置.

Parameters

  mainRouteColorConfig | 导航主路线颜色配置，为nil则无法展示路线
  accompanyRouteColorConfig | 导航伴随路线颜色配置，为nil则无法展示路线

Note
  TNKCarRouteColorPalette 中的eraseColor 不支持动态更新.

Returns
  导航路线样式配置对象

## Property Documentation

## ◆ accompanyRouteColorConfig

- (TNKRouteLineConfig*) accompanyRouteColorConfig
| read nonatomic strong

导航伴随路线样式配置

## ◆ flowArrowGap

- (CGFloat) flowArrowGap
| read write nonatomic assign

导航过程中路况线上的箭头密度.需在导航开始前设置. 默认值是100.

Since
  5.2.3.1

## ◆ mainRouteColorConfig

- (TNKRouteLineConfig*) mainRouteColorConfig
| read nonatomic strong

导航主路线样式配置

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

- TNKRouteConfig.h