MBMapkit
|
MBRoute对象表示路线结果中存储单条路线的信息 更多...
#import <MBRoute.h>
公有成员 | |
(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] |
返回表示此路线总时间。