Map Doc  1.0
iOS-引擎SDK-开放平台
全部  文件 函数 变量 类型定义 枚举 枚举值 属性 宏定义
MBRouteCollection类 参考

#import <MBRouteCollection.h>

类 MBRouteCollection 继承关系图:

构造函数

(instancetype) - initWithHandle:
 
(instancetype) - initWithJsonStr:withPlan:andCode:
 
((deprecated("准备废弃此方法") - __attribute__
 
(void) - addRoute:
 
(void) - exchangeRoutesWithIndex:anotherIndex:
 

属性

NSArray * routeBases
 
NSInteger num
 

详细描述

路线集合

函数文档

◆ __attribute__()

- ((deprecated("准备废弃此方法") __attribute__

清空路线

◆ addRoute:()

- (void) addRoute: (MBRouteBase *)  route

加入路线

参数
route路线
自从
4.9.x

◆ exchangeRoutesWithIndex:anotherIndex:()

- (void) exchangeRoutesWithIndex: (NSUInteger)  idx1
anotherIndex: (NSUInteger)  idx2 

根据索引交换路线

◆ initWithHandle:()

- (instancetype) initWithHandle: (void *)  handle

◆ initWithJsonStr:withPlan:andCode:()

- (instancetype) initWithJsonStr: (NSString *)  jsonStr
withPlan: (MBRoutePlan *)  plan
andCode: (MBOnlineRouteCode)  code 

属性说明

◆ num

- (NSInteger) num
readnonatomicassign

路线条数

◆ routeBases

- (NSArray*) routeBases
readnonatomicassign

路线


该类的文档由以下文件生成: