> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ploterr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ViewManager

> Creates views and finds them by id.

## Import

```typescript theme={null}
import { ViewManager } from '@opengeometry/floorkit';
```

## Constructor

This class uses its default or inherited constructor.

## Methods

### createView

```typescript theme={null}
createView(options: IViewOptions): View;
```

### getView

```typescript theme={null}
getView(ogid: string): View | undefined;
```

## Types

### IViewOptions

```typescript theme={null}
interface IViewOptions {
  ogid?: string;
  container?: HTMLElement;
  bounds: {
    min: {
      x: number;
      y: number;
      z: number;
    };
    max: {
      x: number;
      y: number;
      z: number;
    };
  };
  camera: {
    position: {
      x: number;
      y: number;
      z: number;
    };
    target: {
      x: number;
      y: number;
      z: number;
    };
  };
  lockCamera?: boolean;
  elementOverides?: {
    [elementId: string]: {
      options: any;
    };
  };
}
```

## Related

* [`View`](/floorkit/api/views/view)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.