<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARGeoAnchor/initWithCoordinate:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARGeoAnchor(im)initWithCoordinate:"
  },
  "title" : "initWithCoordinate:"
}
-->

# initWithCoordinate:

Initializes a new location anchor with the given coordinates.

```
- (instancetype) initWithCoordinate:(CLLocationCoordinate2D) coordinate;
```

## Parameters

`coordinate`

Lattitude and longitude of the anchor’s geographic location.

## Discussion

Because this initializer does not take an altitude argument, ARKit sets the anchor’s [`altitude`](/documentation/ARKit/ARGeoAnchor/altitude-9kges) to ground level.

---

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)