forked from nighthawk/ASPolylineView
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathASPolylineView.h
More file actions
38 lines (27 loc) · 774 Bytes
/
ASPolylineView.h
File metadata and controls
38 lines (27 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// ASPolylineView.h
//
// Created by Adrian Schoenig on 21/02/13.
//
//
#import <MapKit/MapKit.h>
#import <Availability.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0
@interface ASPolylineView : MKOverlayPathView
/* The color used for the wider border around the polyline.
* Defaults to black.
*/
@property (nonatomic, strong) UIColor *borderColor;
/* The color used as the backdrop if there's a dash pattern.
* Defaults to white.
*/
@property (nonatomic, strong) UIColor *backgroundColor;
/* The factor by which the border expands past the line.
* 1.5 leads to a very thin line.
* Defaults to 2.0.
*/
@property (nonatomic, assign) CGFloat borderMultiplier;
- (id)initWithPolyline:(MKPolyline *)polyline;
- (MKPolyline *)polyline;
@end
#endif