# GeoMapLegendOptions (@salmonui/charts/geo-map)

> The GeoMapLegendOptions interface of @salmonui/charts/geo-map.

Canonical: https://salmonui.dev/docs/reference/charts/geo-map/GeoMapLegendOptions

```ts
import type { GeoMapLegendOptions } from '@salmonui/charts/geo-map';
```

Entry index: https://salmonui.dev/docs/reference/charts/geo-map (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/geo-map.md).

## Reference

Kind: interface

```ts
interface GeoMapLegendOptions {
    readonly source?: 'shapes' | 'bubbles' | 'markers' | undefined;
    readonly mode?: 'list' | 'interactive' | undefined;
    readonly title?: string | undefined;
    readonly position?: 'top' | 'bottom' | 'start' | 'end' | 'float' | undefined;
    readonly x?: number | undefined;
    readonly y?: number | undefined;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source?: 'shapes' \| 'bubbles' \| 'markers' \| undefined;` | optional |  |
| `mode` | `readonly mode?: 'list' \| 'interactive' \| undefined;` | optional | `'interactive'` (default) toggles items; `'list'` only lists them. |
| `title` | `readonly title?: string \| undefined;` | optional |  |
| `position` | `readonly position?: 'top' \| 'bottom' \| 'start' \| 'end' \| 'float' \| undefined;` | optional | Default `'bottom'`; `'float'` draws the legend over the map at `x`, `y` (px, default 8). |
| `x` | `readonly x?: number \| undefined;` | optional |  |
| `y` | `readonly y?: number \| undefined;` | optional |  |
