CameraBounds

public struct CameraBounds : Hashable

Holds information about camera bounds.

  • The latitude and longitude bounds to which the camera center are constrained.

    Declaration

    Swift

    public let bounds: CoordinateBounds
  • 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.

    Declaration

    Swift

    public let maxZoom: CGFloat
  • The minimum zoom level, in mapbox zoom levels 0-25.5.

    Declaration

    Swift

    public let minZoom: CGFloat
  • The maximum allowed pitch value in degrees.

    Declaration

    Swift

    public let maxPitch: CGFloat
  • The minimum allowed pitch value degrees.

    Declaration

    Swift

    public let minPitch: CGFloat