<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBLocation"
  },
  "title" : "CKDBLocation"
}
-->

# CKDBLocation

An object that represents a location field value.

```
dictionary CKDBLocation {
	Double latitude;
	Double longitude;
	Double? altitude;
	Double? horizontalAccuracy;
	Double? verticalAccuracy;
	Double? course;
	Double? speed;
	date? timestamp;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBLocation } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute Double? altitude;`](/documentation/CKToolJS/CKDBLocation/altitude)

The altitude measured in meters.

[`attribute Double? course;`](/documentation/CKToolJS/CKDBLocation/course)

The direction in which the device is traveling.

[`attribute Double? horizontalAccuracy;`](/documentation/CKToolJS/CKDBLocation/horizontalAccuracy)

The radius of uncertainty for the location measured in meters.

[`attribute Double latitude;`](/documentation/CKToolJS/CKDBLocation/latitude)

The latitude of the coordinate point.

[`attribute Double longitude;`](/documentation/CKToolJS/CKDBLocation/longitude)

The longitude of the coordinate point.

[`attribute Double? speed;`](/documentation/CKToolJS/CKDBLocation/speed)

The instantaneous speed of the device in meters per second.

[`attribute date? timestamp;`](/documentation/CKToolJS/CKDBLocation/timestamp)

The time at which this location was determined.

[`attribute Double? verticalAccuracy;`](/documentation/CKToolJS/CKDBLocation/verticalAccuracy)

The validity of the altitude values and their estimated uncertainty measured in meters.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)