* [ios] added a scale bar * [ios] update design * [ios] show/hide scale bar * [ios] Remove the need to localize 0 * [ios] Support for imperial units * [ios] Round to nearest foot * [ios] Make scale bar private * [ios] Update design and clean up * [ios] Rename and various optimizations * [ios] RTL support * [ios] added max scale and removed animations * [ios] animate scale bar
10 lines
211 B
Objective-C
10 lines
211 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <CoreLocation/CoreLocation.h>
|
|
|
|
@interface MGLScaleBar : UIView
|
|
|
|
// Sets the scale and redraws the scale bar
|
|
@property (nonatomic, assign) CLLocationDistance metersPerPoint;
|
|
|
|
@end
|