Files
MapLibreParticleLab/platform/ios/src/MGLScaleBar.h
Fredrik Karlsson 8eb23cbac8 [ios] Scale bar (#7631)
* [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
2017-04-16 17:24:17 +02:00

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