| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // This file is generated and will be overwritten automatically.
- #import <Foundation/Foundation.h>
- #import <CoreLocation/CoreLocation.h>
- @class MBMEdgeInsets;
- @class MBMScreenCoordinate;
- /**
- * Various options for describing the viewpoint of a camera. All fields are
- * optional.
- *
- * Anchor and center points are mutually exclusive, with preference for the
- * center point when both are set.
- */
- NS_SWIFT_NAME(CameraOptions)
- __attribute__((visibility ("default")))
- @interface MBMCameraOptions : NSObject
- // This class provides custom init which should be called
- - (nonnull instancetype)init NS_UNAVAILABLE;
- // This class provides custom init which should be called
- + (nonnull instancetype)new NS_UNAVAILABLE;
- - (nonnull instancetype)initWithCenter:(nullable CLLocation *)center
- padding:(nullable MBMEdgeInsets *)padding
- anchor:(nullable MBMScreenCoordinate *)anchor
- zoom:(nullable NSNumber *)zoom
- bearing:(nullable NSNumber *)bearing
- pitch:(nullable NSNumber *)pitch NS_REFINED_FOR_SWIFT;
- /** Coordinate at the center of the camera. */
- @property (nonatomic, readonly, nullable) CLLocation *center NS_REFINED_FOR_SWIFT;
- /**
- * Padding around the interior of the view that affects the frame of
- * reference for `center`.
- */
- @property (nonatomic, readonly, nullable) MBMEdgeInsets *padding NS_REFINED_FOR_SWIFT;
- /**
- * Point of reference for `zoom` and `angle`, assuming an origin at the
- * top-left corner of the view.
- */
- @property (nonatomic, readonly, nullable) MBMScreenCoordinate *anchor NS_REFINED_FOR_SWIFT;
- /**
- * Zero-based zoom level. Constrained to the minimum and maximum zoom
- * levels.
- */
- @property (nonatomic, readonly, nullable) NSNumber *zoom NS_REFINED_FOR_SWIFT;
- /** Bearing, measured in degrees from true north. Wrapped to [0, 360). */
- @property (nonatomic, readonly, nullable) NSNumber *bearing NS_REFINED_FOR_SWIFT;
- /** Pitch toward the horizon measured in degrees. */
- @property (nonatomic, readonly, nullable) NSNumber *pitch NS_REFINED_FOR_SWIFT;
- @end
|