# GAREarth

Provides localization ability in Geospatial coordinates.

To use `https://developers.google.com/ar/reference/ios/interface/GAREarth#interface_g_a_r_earth`, configure the `https://developers.google.com/ar/reference/ios/interface/GARSession#interface_g_a_r_session` with an appropriate `https://developers.google.com/ar/reference/ios/group/GARGeospatialMode#gargeospatialmode` using `https://developers.google.com/ar/reference/ios/category/GARSessionConfiguration(Geospatial)#geospatialmode` and `https://developers.google.com/ar/reference/ios/interface/GARSession#setconfiguration:error:`.

## Summary

### Inheritance

Inherits from: `NSObject`

| ### Properties ||
|---|---|
| `https://developers.google.com/ar/reference/ios/interface/GAREarth#camerageospatialtransform` | `https://developers.google.com/ar/reference/ios/interface/GARGeospatialTransform#interface_g_a_r_geospatial_transform *` The current global transform of the device. |
| `https://developers.google.com/ar/reference/ios/interface/GAREarth#earthstate` | `https://developers.google.com/ar/reference/ios/group/GAREarthState#garearthstate` The current Earth state. |
| `https://developers.google.com/ar/reference/ios/interface/GAREarth#trackingstate` | `https://developers.google.com/ar/reference/ios/group/GARTrackingState#gartrackingstate` The current state of tracking for `https://developers.google.com/ar/reference/ios/interface/GAREarth#interface_g_a_r_earth`. |

## Properties

### cameraGeospatialTransform

```
@property(nonatomic, readonly, nullable) https://developers.google.com/ar/reference/ios/interface/GARGeospatialTransform#interface_g_a_r_geospatial_transform *https://developers.google.com/ar/reference/ios/interface/GAREarth#camerageospatialtransform;
```
The current global transform of the device.

If `https://developers.google.com/ar/reference/ios/interface/GAREarth#trackingstate` is not `https://developers.google.com/ar/reference/ios/group/GARTrackingState#gartrackingstatetracking`, this will be nil.

### earthState

```
@property(nonatomic, readonly) https://developers.google.com/ar/reference/ios/group/GAREarthState#garearthstate https://developers.google.com/ar/reference/ios/interface/GAREarth#earthstate;
```
The current Earth state.

### trackingState

```
@property(nonatomic, readonly) https://developers.google.com/ar/reference/ios/group/GARTrackingState#gartrackingstate https://developers.google.com/ar/reference/ios/interface/GAREarth#trackingstate;
```
The current state of tracking for `https://developers.google.com/ar/reference/ios/interface/GAREarth#interface_g_a_r_earth`.