MBMapkit
|
00001 // 00002 // MBStep.h 00003 // MBMapkit_library 00004 // 00005 // Created by 张嘉伟 on 11-10-26. 00006 // Copyright 2011 Mapbar Inc. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 #import <CoreLocation/CoreLocation.h> 00011 00018 @interface MBStep : NSObject { 00019 @private 00020 NSDictionary *_internal; 00021 } 00022 00028 @property (nonatomic, readonly) NSUInteger index; 00029 00034 @property (nonatomic ,readonly) NSString *instructions; 00035 00041 @property (nonatomic, readonly) double distance; 00042 00048 @property (nonatomic, readonly) NSTimeInterval duration;//deprecate 00049 00054 @property (nonatomic, readonly) CLLocationCoordinate2D start; 00055 00060 @property (nonatomic, readonly) CLLocationCoordinate2D end; 00061 00066 @property (nonatomic, readonly) NSUInteger numPoints; 00067 00073 @property (nonatomic, readonly) NSArray *path; 00074 00081 - (id)initWithDictionary:(NSDictionary *)dictionary; 00082 00083 @end