MBMapkit
公有成员 | 属性
MBRoute类参考

MBRoute对象表示路线结果中存储单条路线的信息 更多...

#import <MBRoute.h>

继承图,类MBRoute
MBDriveRoute MBTransitRoute MBWalkRoute

所有成员的列表。

公有成员

(id) - initWithDictionary:
 初始化MBRoute对象

属性

MBCoordinateRegion region
 返回表示此路线范围。
double distance
 返回表示此路线总距离。
NSTimeInterval duration
 返回表示此路线总时间。
NSString * instructions
 返回包含此路线的距离和时间概述
CLLocationCoordinate2D start
 此路程的原点地址。
CLLocationCoordinate2D end
 此路程的目标地址。
NSUInteger numSteps
 返回此路线的路段数。
NSArray * steps
 DirectionsStep 数组,其中每个路段都包含有关此路程中各个路段的信息。

详细描述

MBRoute对象表示路线结果中存储单条路线的信息

MBRoute对象表示步行路线结果中存储单条路线的信息


成员函数文档

- (id) initWithDictionary: (NSDictionary *)  dictionary

初始化MBRoute对象

参数:
dictionary包含MBRoute对象内容的数据字典

属性文档

- MBRoute: [read, assign]

返回表示此路线总距离。

注解:
此属性可能未定义,因为距离可能未知。单位千米
- MBRoute: [read, assign]

返回表示此路线总时间。

注解:
返回表示此路线总时间,此属性可能未定义,因为持续时间可能未知。

该类的文档由以下文件生成:
 全部  函数 变量 属性