CustomControl
API Reference (beta) for <CustomControl />
Property | Type | Description |
---|---|---|
position optional | "top-left" | "top-right" | "bottom-left" | "bottom-right" | - |
control optional | { onAdd: (map: Map) => HTMLElement, onRemove: (map: Map) => void, getDefaultPosition?: () => "top-left" | "top-right" | "bottom-left" | "bottom-right" } | - |
group optional | boolean | - default: true |
class optional | string | - |
children optional | Snippet<[]> | - |