Loading...
Searching...
No Matches
NCRouteAnnotation.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
4#import <Foundation/Foundation.h>
5
10DEFAULT_EXPORT_ATTRIBUTE
11@interface NCRouteAnnotation : NSObject
12
16- (nonnull instancetype)initWithType:(NCRouteAnnotationType)type
17 point:(nonnull NCGlobalPoint *)point
18 sublocationId:(nullable NSNumber *)sublocationId
19 advance:(float)advance
20 title:(nullable NSString *)title;
21
25+ (nonnull instancetype)routeAnnotationWithType:(NCRouteAnnotationType)type
26 point:(nonnull NCGlobalPoint *)point
27 sublocationId:(nullable NSNumber *)sublocationId
28 advance:(float)advance
29 title:(nullable NSString *)title;
30
31@property (nonatomic, readonly) NCRouteAnnotationType type;
32
33@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
34
35@property (nonatomic, readonly, nullable) NSNumber * sublocationId;
36
37@property (nonatomic, readonly) float advance;
38
39@property (nonatomic, readonly, nullable) NSString * title;
40
41@end