SBSDKZoomRange
@interface SBSDKZoomRange : NSObject
Helper class to define a range for zooming.
-
The minimum zoom scale. Defaults to 1.0.
Declaration
Objective-C
@property (readonly) CGFloat minZoom;
Swift
var minZoom: CGFloat { get }
-
The maximum zoom scale. Defaults to 12.0.
Declaration
Objective-C
@property (readonly) CGFloat maxZoom;
Swift
var maxZoom: CGFloat { get }
-
Designated initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithMinZoom:(CGFloat)minZoom andMaxZoom:(CGFloat)maxZoom;
Swift
init(minZoom: CGFloat, andMaxZoom maxZoom: CGFloat)
Parameters
minZoom
The minimum zoom scale.
maxZoom
The maximum zoom scale.