BasemapPickerProps
Props for BasemapPicker.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { BasemapPickerProps } from "@mapcairn/map";
interface BasemapPickerProps
Properties
onChange
readonly onChange: (id: string) => void;
Called with the id of the tile the user pressed. Pressing the tile that is already shown calls it too, because a host whose default follows the theme takes that as the person choosing it, so it stays when the theme changes.
value
readonly value: string;
The chosen basemap id. An id that names no basemap on offer is shown as the default basemap.
Source: packages/map/src/panels/BasemapPicker/BasemapPicker.tsx:39