Gets the geolocation of the device's last known camera pose.
- Parameter headingMode: Controls how the heading is derived.
Use .cameraDirection when the device is upright,
or .deviceTop when flat or for a compass-style heading.
- Returns: Geolocation data corresponding to the device's current pose,
or nil if VPS2 tracking is unavailable.
Gets the geolocation of the device's last known camera pose.
- Parameter headingMode: Controls how the heading is derived.
Use
.cameraDirectionwhen the device is upright,or
.deviceTopwhen flat or for a compass-style heading.- Returns: Geolocation data corresponding to the device's current pose,
or
nilif VPS2 tracking is unavailable.