Structure

CLLocationCoordinate2D

The latitude and longitude associated with a location, specified using the WGS 84 reference frame.

Declaration

typedef struct CLLocationCoordinate2D {
    ...
} CLLocationCoordinate2D;

Topics

Coordinates

latitude

The latitude in degrees.

longitude

The longitude in degrees.

Coordinate Functions

CLLocationCoordinate2DIsValid

Returns a Boolean value indicating whether the specified coordinate is valid.

CLLocationCoordinate2DMake

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

Constants

kCLLocationCoordinate2DInvalid

An invalid coordinate value.

See Also

Location Updates

Getting the User's Location

Learn how to receive location data in your app.

CLLocation

The latitude, longitude, and course information reported by the system.

CLFloor

The floor of a building on which the user's device is located.

CLVisit

Information about the user's location during a specific period of time.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software