MapKeyProps
Props for MapKey.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { MapKeyProps } from "@mapcairn/map";
interface MapKeyProps
Properties
defaultMinimised
readonly defaultMinimised?: boolean;
Whether the key starts minimised. Left out, a phone in either orientation starts it minimised (the viewport is narrower than the bottom sheet's width or shorter than the side panel's height threshold) and a larger screen starts it open. It is decided when the key first appears, so turning the phone does not change it, and the person's own choice replaces it from then on.
layers
readonly layers: DataLayers;
The layers state, whose enabled layers the key lists.