summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2017-08-30 16:25:57 -0400
committerGitHub <noreply@github.com>2017-08-30 16:25:57 -0400
commitc8dc77f06fa58112797bf1ae21fe8578512dc317 (patch)
treeb6ae4cc6256ec55e2cc3672ef656d09d30797745 /platform/ios
parenteedd90961168037954e534507f632fac7cb0a8ae (diff)
downloadqtlocation-mapboxgl-c8dc77f06fa58112797bf1ae21fe8578512dc317.tar.gz
[ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable. (#9729)
* [ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable. * [ios, macos] Update changelogs.
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/CHANGELOG.md1
-rw-r--r--platform/ios/src/MGLMapView.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md
index a1d8808033..1fe6f35953 100644
--- a/platform/ios/CHANGELOG.md
+++ b/platform/ios/CHANGELOG.md
@@ -7,6 +7,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* Fixed an issue where user heading tracking mode would update too frequently. ([#9845](https://github.com/mapbox/mapbox-gl-native/pull/9845))
* Added support for iOS 11 location usage descriptions. ([#9869](https://github.com/mapbox/mapbox-gl-native/pull/9869))
* Fixed an issue where `MGLUserLocation.location` did not follow its documented initialization behavior. This property will now properly return `nil` until the user’s location has been determined. ([#9639](https://github.com/mapbox/mapbox-gl-native/pull/9639))
+* `MGLMapView`’s `minimumZoomLevel` and `maximumZoomLevel` properties are now available in Interface Builder’s Attributes inspector. ([#9729](https://github.com/mapbox/mapbox-gl-native/pull/9729))
## 3.6.2 - August 18, 2017
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index a514d15b41..b475a21d2b 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -577,7 +577,7 @@ MGL_EXPORT IB_DESIGNABLE
*
* The default minimumZoomLevel is 0.
*/
-@property (nonatomic) double minimumZoomLevel;
+@property (nonatomic) IBInspectable double minimumZoomLevel;
/**
* The maximum zoom level the map can be shown at.
@@ -587,7 +587,7 @@ MGL_EXPORT IB_DESIGNABLE
*
* The default maximumZoomLevel is 20.
*/
-@property (nonatomic) double maximumZoomLevel;
+@property (nonatomic) IBInspectable double maximumZoomLevel;
/**
The heading of the map, measured in degrees clockwise from true north.