A structure that contains a geographical coordinate using the WGS 84 reference frame.


Coordinate Functions

func CLLocationCoordinate2DIsValid(CLLocationCoordinate2D)

Returns a Boolean indicating whether the specified coordinate is valid.

func CLLocationCoordinate2DMake(CLLocationDegrees, CLLocationDegrees)

Formats a latitude and longitude value into a coordinate data structure format.

Instance Properties

var latitude: CLLocationDegrees

The latitude in degrees. Positive values indicate latitudes north of the equator. Negative values indicate latitudes south of the equator.

var longitude: CLLocationDegrees

The longitude in degrees. Measurements are relative to the zero meridian, with positive values extending east of the meridian and negative values extending west of the meridian.