22 lines
630 B
Objective-C
22 lines
630 B
Objective-C
#import <CoreLocation/CoreLocation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface MLNScaleBar : UIView
|
|
|
|
// Sets the scale and redraws the scale bar
|
|
@property (nonatomic, assign) CLLocationDistance metersPerPoint;
|
|
|
|
// Sets whether the scale uses styles that make it easier to read on a dark styled map
|
|
@property (nonatomic, assign) BOOL shouldShowDarkStyles;
|
|
|
|
// Sets whether the scale uses metric
|
|
@property (nonatomic, assign) BOOL usesMetricSystem;
|
|
|
|
// Sets the primary color of the scale bar
|
|
@property (nonatomic) UIColor *primaryColor;
|
|
|
|
// Sets the secondary color of the scale bar
|
|
@property (nonatomic) UIColor *secondaryColor;
|
|
|
|
@end
|