CameraState

public struct CameraState : Hashable

Undocumented

  • The geographic coordinate that will be rendered at the midpoint of the area defined by padding.

    Declaration

    Swift

    public var center: CLLocationCoordinate2D
  • Insets from each edge of the map. Impacts the “principal point” of the graphical projection and the location at which center is rendered.

    Declaration

    Swift

    public var padding: UIEdgeInsets
  • The zoom level of the map.

    Declaration

    Swift

    public var zoom: CGFloat
  • The bearing of the map, measured in degrees clockwise from true north.

    Declaration

    Swift

    public var bearing: CLLocationDirection
  • Pitch toward the horizon measured in degrees, with 0 degrees resulting in a top-down view for a two-dimensional map.

    Declaration

    Swift

    public var pitch: CGFloat
  • Undocumented

    Declaration

    Swift

    public init(center: CLLocationCoordinate2D,
                padding: UIEdgeInsets,
                zoom: CGFloat,
                bearing: CLLocationDirection,
                pitch: CGFloat)
  • Declaration

    Swift

    public static func == (lhs: CameraState, rhs: CameraState) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)