# Map3DOptions.Companion

# Map3DOptions.Companion


```
public static class Map3DOptions.Companion
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions` | `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions.Companion#fromAttributeSet(android.content.Context,android.util.AttributeSet)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/android/content/Context.html context, https://developer.android.com/reference/android/util/AttributeSet.html attrs)` Creates a `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions` from an `https://developer.android.com/reference/android/util/AttributeSet.html`. |

## Public methods

### fromAttributeSet

```
public static final @NonNull Map3DOptions fromAttributeSet(@NonNull Context context, AttributeSet attrs)
```

Creates a `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions` from an `https://developer.android.com/reference/android/util/AttributeSet.html`.

| Parameters |
|---|---|
| `https://developer.android.com/reference/android/util/AttributeSet.html attrs` | The `https://developer.android.com/reference/android/util/AttributeSet.html` to read the options from. |

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions` | The `https://developers.google.com/maps/documentation/maps-3d/android-sdk/reference/com/google/android/gms/maps3d/Map3DOptions` created from the `https://developer.android.com/reference/android/util/AttributeSet.html`. |