init(centerCoordinate:distance:heading:pitch:)
Creates a camera using the specified distance, pitch, and heading information.
Declaration
init(centerCoordinate: CLLocationCoordinate2D, distance: Double, heading: Double = 0, pitch: Double = 0)Parameters
- centerCoordinate:
The map coordinate at the center of the map view.
- distance:
The distance from the center point of the map to the camera, in meters.
- heading:
The heading of the camera, in degrees, relative to true North.
- pitch:
The viewing angle of the camera, in degrees.