Returns a new camera object using the specified distance, pitch, and heading information.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
The coordinate point on which the map should be centered.
The line-of-sight distance from the camera to the center coordinate of the map.
The viewing angle of the camera, measured in degrees. A value of
0results in a camera pointed straight down at the map. Angles greater than
0result in a camera that is pitched toward the horizon by the specified number of degrees.
The heading of the camera (measured in degrees) relative to true north. The value
0means that the top edge of the map view corresponds to true north. The value
90means the top of the map is pointing due east. The value
180means the top of the map points due south, and so on.
A new camera object initialized with the specified information.
The altitude of the camera is obtained by multiplying
distance by the cosine of the