[ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable. (#9729)

* [ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable.

* [ios, macos] Update changelogs.
This commit is contained in:
Fabian Guerra Soto
2017-08-30 16:25:57 -04:00
committed by GitHub
parent eedd909611
commit c8dc77f06f
4 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -6,6 +6,7 @@ This version of the Mapbox macOS SDK corresponds to version 3.6.2 of the Mapbox
* Added an `MGLStyle.localizesLabels` property, off by default, that localizes any Mapbox Streets–sourced symbol layer into the user’s preferred language. ([#9582](https://github.com/mapbox/mapbox-gl-native/pull/9582))
* Fixed an issue that caused `-[MGLShapeSource featuresMatchingPredicate:]` and `-[MGLVectorSource featuresInSourceLayersWithIdentifiers:predicate:]` to always return an empty array. ([#9784](https://github.com/mapbox/mapbox-gl-native/pull/9784))
* `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))
## 0.5.0

View File

@@ -239,7 +239,7 @@ MGL_EXPORT IB_DESIGNABLE
The default value of this property is 0.
*/
@property (nonatomic) double minimumZoomLevel;
@property (nonatomic) IBInspectable double minimumZoomLevel;
/**
The maximum zoom level the map can be shown at.
@@ -249,7 +249,7 @@ MGL_EXPORT IB_DESIGNABLE
The default value of this property is 20.
*/
@property (nonatomic) double maximumZoomLevel;
@property (nonatomic) IBInspectable double maximumZoomLevel;
/**
Changes the zoom level of the map and optionally animates the change.