MBMCameraBounds.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBMCoordinateBounds;
  4. /** Holds information about `camera bounds`. */
  5. NS_SWIFT_NAME(CameraBounds)
  6. __attribute__((visibility ("default")))
  7. @interface MBMCameraBounds : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithBounds:(nonnull MBMCoordinateBounds *)bounds
  13. maxZoom:(double)maxZoom
  14. minZoom:(double)minZoom
  15. maxPitch:(double)maxPitch
  16. minPitch:(double)minPitch;
  17. /** The latitude and longitude bounds to which the camera center are constrained. */
  18. @property (nonatomic, readonly, nonnull) MBMCoordinateBounds *bounds;
  19. /** The maximum zoom level, in Mapbox zoom levels 0-25.5. At low zoom levels, a small set of map tiles covers a large geographical area. At higher zoom levels, a larger number of tiles cover a smaller geographical area. */
  20. @property (nonatomic, readonly) double maxZoom;
  21. /** The minimum zoom level, in Mapbox zoom levels 0-25.5. */
  22. @property (nonatomic, readonly) double minZoom;
  23. /** The maximum allowed pitch value in degrees. */
  24. @property (nonatomic, readonly) double maxPitch;
  25. /** The minimum allowed pitch value in degrees. */
  26. @property (nonatomic, readonly) double minPitch;
  27. @end