Skip to main content

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​

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​

Source: packages/core/src/surface/surface.ts:118