diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2017-08-08 09:43:38 -0400 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2017-08-29 19:31:11 -0400 |
commit | f0a90c288b6f0081a121328eed84ff145cb69bba (patch) | |
tree | 38b62703460326e56728dddbca9fa5db89abe12d | |
parent | eedd90961168037954e534507f632fac7cb0a8ae (diff) | |
download | qtlocation-mapboxgl-f0a90c288b6f0081a121328eed84ff145cb69bba.tar.gz |
[ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable.
-rw-r--r-- | platform/ios/src/MGLMapView.h | 4 | ||||
-rw-r--r-- | platform/macos/src/MGLMapView.h | 4 |
2 files changed, 4 insertions, 4 deletions
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. diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h index fb715a506d..06fd0a67ea 100644 --- a/platform/macos/src/MGLMapView.h +++ b/platform/macos/src/MGLMapView.h @@ -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. |