Creates a geographic anchor at the specified coordinate and optional altitude.
- Parameters:
- coordinate: The geographic coordinate (latitude and longitude).
- altitude: The altitude in meters above mean sea level. If `nil`, the altitude will be determined automatically.
Creates a named geographic anchor at the specified coordinate and optional altitude.
- Parameters:
- name: A descriptive name for the anchor.
- coordinate: The geographic coordinate (latitude and longitude).
- altitude: The altitude in meters above mean sea level. If `nil`, the altitude will be determined automatically.
get · iOS 14.0+
altitude
TypeScript
get altitude(): (number) | null
Swift declaration
@nonobjc var altitude: CLLocationDistance? { get }
The altitude of the anchor in meters, or `nil` if the altitude is unknown.
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.