init(name:coordinate:altitude:)
Initializes a named location anchor with the given coordinates and altitude.
Declaration
init(name: String, coordinate: CLLocationCoordinate2D, altitude: CLLocationDistance)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.