-
Undocumented
Declaration
Swift
public var center: CLLocationCoordinate2D? -
Undocumented
Declaration
Swift
public var padding: UIEdgeInsets? -
Undocumented
Declaration
Swift
public var anchor: CGPoint? -
Undocumented
Declaration
Swift
public var zoom: CGFloat? -
Undocumented
Declaration
Swift
public var bearing: CLLocationDirection? -
Undocumented
Declaration
Swift
public var pitch: CGFloat? -
CameraOptionsrepresents a set of updates to make to the camera.Declaration
Swift
public init(center: CLLocationCoordinate2D? = nil, padding: UIEdgeInsets? = nil, anchor: CGPoint? = nil, zoom: CGFloat? = nil, bearing: CLLocationDirection? = nil, pitch: CGFloat? = nil)Parameters
centerThe geographic coordinate that will be rendered at the midpoint of the area defined by
padding.paddingInsets from each edge of the map. Impacts the “principal point” of the graphical projection and the location at which
centeris rendered.anchorzoomThe zoom level of the map.
bearingThe bearing of the map, measured in degrees clockwise from true north.
pitchPitch toward the horizon measured in degrees, with 0 degrees resulting in a top-down view for a two-dimensional map.
Return Value
A
CameraOptionsthat contains all configuration information the map will use to determine which part of the map to render. -
Undocumented
Declaration
Swift
public init(cameraState: CameraState, anchor: CGPoint? = nil) -
Declaration
Swift
public static func == (lhs: CameraOptions, rhs: CameraOptions) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)
CameraOptions Structure Reference