<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARGeoAnchor/init(name:coordinate:altitude:)-csze",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:So11ARGeoAnchorC5ARKitE4name10coordinate8altitudeABSS_So22CLLocationCoordinate2DVSdSgtcfc"
  },
  "title" : "init(name:coordinate:altitude:)"
}
-->

# init(name:coordinate:altitude:)

Initializes a named location anchor with the given coordinates and altitude.

```
@nonobjc convenience init(name: String, coordinate: CLLocationCoordinate2D, altitude: CLLocationDistance? = nil)
```

## Parameters

`name`

Name of the anchor.

`coordinate`

Lattitude and longitude of the anchor’s geographic location.

`altitude`

Vertical distance, in meters, between this anchor and sea 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)