9 #import <QuartzCore/QuartzCore.h>
10 #import <CoreLocation/CLLocation.h>
15 NS_ASSUME_NONNULL_BEGIN
17 typedef NS_ENUM (NSInteger, BMKRoutePassedDisplayMode) {
18 BMKRoutePassedDisplayModeNone,
19 BMKRoutePassedDisplayModeErased,
20 BMKRoutePassedDisplayModeGrayed
24 typedef NS_ENUM (NSInteger, BMKViaPointPassedDisplayMode) {
25 BMKViaPointPassedDisplayModeNone,
26 BMKViaPointPassedDisplayModeErased,
27 BMKViaPointPassedDisplayModeGrayed
33 @property (nonatomic, assign) CLLocationCoordinate2D
location;
49 @property (nonatomic, strong, nullable) NSArray<NSValue *> *routeInfo;
51 @property (nonatomic, strong, nullable) NSArray<NSNumber *> *trafficInfo;
57 @property (nonatomic, copy) NSString *routeName;
59 @property (nonatomic, copy) NSArray<NSValue *> *coordinates;
65 @property (nonatomic, assign) CLLocationCoordinate2D
location;
67 @property (nonatomic, assign) BOOL isPassed;
77 @property (nonatomic, weak) id<BMKBackgroundNavigationViewDataSource> dataSource;
82 @property (nonatomic, assign) BOOL needDrawGuideLine;
84 @property (nonatomic, strong) UIColor *guideLineColor;
86 @property (nonatomic, assign) CGFloat guideLineWidth;
89 @property (nonatomic, assign) BOOL needDrawRedLine;
91 @property (nonatomic, strong) UIColor *redLineColor;
93 @property (nonatomic, assign) CGFloat redLineWidth;
96 @property (nonatomic, assign) BOOL needDrawStartPoint;
98 @property (nonatomic, assign) CLLocationCoordinate2D startPoint;
100 @property (nonatomic, strong, nullable) UIImage *startPointIcon;
102 @property (nonatomic, assign) CGSize startPointIconSize;
104 @property (nonatomic, assign) CGPoint startPointIconOffset;
107 @property (nonatomic, assign) BOOL needDrawViaPoint;
109 @property (nonatomic, assign) BMKViaPointPassedDisplayMode viaPointPassedDisplayMode;
111 @property (nonatomic, copy, nullable) NSArray<BMKNaviViaPointInfo *> *viaPoints;
113 @property (nonatomic, strong, nullable) UIImage *viaPointIcon;
115 @property (nonatomic, strong, nullable) UIImage *viaPassedPointIcon;
117 @property (nonatomic, assign) CGSize viaPointIconSize;
119 @property (nonatomic, assign) CGPoint viaPointIconOffset;
122 @property (nonatomic, assign) BOOL needDrawEndPoint;
124 @property (nonatomic, assign) CLLocationCoordinate2D endPoint;
126 @property (nonatomic, strong, nullable) UIImage *endPointIcon;
128 @property (nonatomic, assign) CGSize endPointIconSize;
130 @property (nonatomic, assign) CGPoint endPointIconOffset;
133 @property (nonatomic, strong, nullable) UIImage *navigationIcon;
135 @property (nonatomic, assign) CGSize navigationIconSize;
137 @property (nonatomic, assign) BOOL needFllowPhoneHeading;
140 @property (nonatomic, assign) BOOL needDrawCompass;
142 @property (nonatomic, strong, nullable) UIImage *compassIcon;
144 @property (nonatomic, assign) CGSize compassIconSize;
147 @property (nonatomic, strong) UIColor *routeColor;
149 @property (nonatomic, assign) CGFloat lineWidth;
151 @property (nonatomic, assign) BMKRoutePassedDisplayMode routePassedDisplayMode;
153 @property (nonatomic, strong) UIColor *routePassedColor;
155 @property (nonatomic, strong) NSArray<UIColor *> *trafficColor;
158 @property (nonatomic, assign) BOOL needDrawRouteName;
160 @property (nonatomic, assign) CGFloat routeNameRepeatSpacing;
162 @property (nonatomic, strong) UIFont *routeNameFont;
164 @property (nonatomic, strong) UIColor *routeNameTextColor;
166 @property (nonatomic, strong) UIColor *routeNameStrokeColor;
168 @property (nonatomic, assign) CGFloat routeNameStrokeWidth;
178 - (void)renderWithMapStatus:(
BMKMapStatus *)mapstatus enable3D:(BOOL)enable3D fitScale:(CGFloat)fitScale mapScreenExtOffset:(CGPoint)mapScreenExtOffset;
181 NS_ASSUME_NONNULL_END