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/MGLMapView.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/MGLMapView.h')
-rw-r--r-- | platform/ios/src/MGLMapView.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index 4872ff2448..31320ac977 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -226,6 +226,12 @@ IB_DESIGNABLE - (IBAction)reloadStyle:(id)sender; /** + A control indicating the scale of the map. The scale bar is positioned in the + upper-left corner. The scale bar is hidden by default. + */ +@property (nonatomic, readonly) UIView *scaleBar; + +/** A control indicating the map’s direction and allowing the user to manipulate the direction, positioned in the upper-right corner. */ |