MBMapkit
|
00001 // 00002 // MBTransitResult.h 00003 // MBMapkit_library 00004 // 00005 // Created by 张嘉伟 on 11-10-26. 00006 // Copyright 2011 Mapbar Inc. All rights reserved. 00007 // 00008 00009 //{{name:名称, lines:线路数, coordinate:坐标点, address:地址, more:更多},...} 00010 //|1,站点名称|1,站点包含线路条数|0,1|1,地址|9,站点更多信息 00011 00012 #import <Foundation/Foundation.h> 00013 00014 #import "MBDirections.h" 00015 #import "MBRoute.h" 00016 #import "MBStep.h" 00017 00024 @interface MBTransitDirections : MBDirections 00025 00026 //NSString 00027 @property (nonatomic, retain) NSArray *searchString; 00028 @end 00029 00036 @interface MBTransitRoute : MBRoute 00037 { 00038 @private 00039 NSUInteger _numTransits; 00040 } 00041 00046 @property (nonatomic, readonly) NSUInteger numTransits; 00047 @end 00048 00055 @interface MBTransitStep : MBStep 00056 { 00057 @private 00058 NSUInteger _numStops; 00059 NSUInteger _transitType; 00060 NSString *_startStation; 00061 NSString *_endStation; 00062 } 00063 00068 @property (nonatomic, readonly) NSUInteger numStops; 00069 00074 @property (nonatomic, readonly) NSUInteger transitType; 00075 00080 @property (nonatomic, readonly) NSString *startStation; 00081 00086 @property (nonatomic, readonly) NSString *endStation; 00087 00094 -(id)initWithDictionary:(NSDictionary *)dictionary; 00095 @end