diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2017-04-16 17:24:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 17:24:17 +0200 |
commit | 8eb23cbac8a6c5821dc5935e27689700216c3f1a (patch) | |
tree | d02fd3667c8e19daf3724384f4956f16ec0bf01c /platform/ios/src/MGLScaleBar.h | |
parent | fcf5d1b8af5ca01f8634107f00fbc843c892dd48 (diff) | |
download | qtlocation-mapboxgl-8eb23cbac8a6c5821dc5935e27689700216c3f1a.tar.gz |
[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
Diffstat (limited to 'platform/ios/src/MGLScaleBar.h')
-rw-r--r-- | platform/ios/src/MGLScaleBar.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/ios/src/MGLScaleBar.h b/platform/ios/src/MGLScaleBar.h new file mode 100644 index 0000000000..77fd6736b5 --- /dev/null +++ b/platform/ios/src/MGLScaleBar.h @@ -0,0 +1,9 @@ +#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 |