Skip to main content

MapKeyOptions

Which of the optional map keys a host has wired. Each defaults to true.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MapKeyOptions } from "@mapcairn/core";

interface MapKeyOptions

Properties​

identify​

readonly identify?: boolean;

The I key, which lists the features at the centre. Without it, set false.

pin​

readonly pin?: boolean;

The P key, which drops a pin. Without a pin tool, set false.

Source: packages/core/src/keyboard/keyboard.ts:122