# openSheet

Opens the sheet at the half detent. Focus returns to Settings for the
`settings` and `help` sections and to Map options for the rest, except that
closing a sheet opened over a drawing goes back to the draw tool with focus
on its Shapes button, and over a measurement back to the measure tool with
focus on the Measure button.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { openSheet } from "@mapcairn/core";
 
function openSheet(section?: SheetSection): SurfaceAction;
```

## Parameters

- `section?` (`SheetSection`): The section to show. Defaults to the basemap picker.

## Returns

`SurfaceAction`

## See also

- [`SheetSection`](https://docs.mapcairn.com/api/core/SheetSection.md)
- [`SurfaceAction`](https://docs.mapcairn.com/api/core/SurfaceAction.md)

Source: [packages/core/src/surface/surface.ts:118](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/surface/surface.ts#L118)
