TechnologiesMaps & Location

_LocationEssentials cross-import overlay

iOSmacOStvOSwatchOSvisionOS

_LocationEssentials provides the essential Core Location value types for representing geographic positions across iOS, macOS, tvOS, watchOS, and visionOS. Use CLLocationCoordinate2D to express a latitude and longitude, and CLLocation to model a measured geographic position. The framework also defines CLFloor for indoor level information and CLLocationSourceInformation to describe where a location reading originated.

Geographic Positions 2

The core value types for representing a measured location and a latitude-longitude coordinate.

  • Cl
    CLLocationiOS 2.0+
    An object that represents a measured geographic position, including coordinate, altitude, accuracy, and timestamp.
  • St
    CLLocationCoordinate2D
    A structure that contains a geographic coordinate expressed as a latitude and longitude in degrees.

Indoor and Source Details 2

Supplementary types that describe a location's indoor level and the origin of a reading.

  • Cl
    CLFlooriOS 8.0+
    An object that contains the logical floor level for a location within a building.
  • Cl
    CLLocationSourceInformationiOS 15.0+
    An object that describes the origin of a location reading, such as simulated or externally produced data.

Type Aliases 7

  • Ty
    CLLocationDegrees
  • Ty
    CLLocationAccuracy
  • Ty
    CLLocationSpeed
  • Ty
    CLLocationSpeedAccuracy
  • Ty
    CLLocationDirection
  • Ty
    CLLocationDirectionAccuracy
  • Ty
    CLLocationDistance
← Maps & Location