Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
28
iphone/Maps/Core/Routing/MWMRoutePoint.h
Normal file
28
iphone/Maps/Core/Routing/MWMRoutePoint.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
typedef NS_CLOSED_ENUM(NSUInteger, MWMRoutePointType) {
|
||||
MWMRoutePointTypeStart,
|
||||
MWMRoutePointTypeIntermediate,
|
||||
MWMRoutePointTypeFinish
|
||||
};
|
||||
|
||||
@interface MWMRoutePoint : NSObject
|
||||
|
||||
- (instancetype)initWithLastLocationAndType:(MWMRoutePointType)type
|
||||
intermediateIndex:(size_t)intermediateIndex;
|
||||
|
||||
- (instancetype)initWithCGPoint:(CGPoint)point
|
||||
title:(NSString *)title
|
||||
subtitle:(NSString *)subtitle
|
||||
type:(MWMRoutePointType)type
|
||||
intermediateIndex:(size_t)intermediateIndex;
|
||||
|
||||
@property(copy, nonatomic, readonly) NSString * title;
|
||||
@property(copy, nonatomic, readonly) NSString * subtitle;
|
||||
@property(copy, nonatomic, readonly) NSString * latLonString;
|
||||
@property(nonatomic, readonly) BOOL isMyPosition;
|
||||
@property(nonatomic) MWMRoutePointType type;
|
||||
@property(nonatomic) size_t intermediateIndex;
|
||||
|
||||
@property(nonatomic, readonly) double latitude;
|
||||
@property(nonatomic, readonly) double longitude;
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue