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

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

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

```ts
import type { GeoMapColorStop } 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 GeoMapColorStop {
    readonly from?: number | undefined;
    readonly to?: number | undefined;
    readonly value?: unknown;
    readonly color?: string | undefined;
    readonly opacity?: number | undefined;
    readonly label?: string | undefined;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `from` | `readonly from?: number \| undefined;` | optional | Range stops: `from` (inclusive) and `to` (exclusive, the last one inclusive). |
| `to` | `readonly to?: number \| undefined;` | optional |  |
| `value` | `readonly value?: unknown;` | optional | Value stops: equality with the field value. |
| `color` | `readonly color?: string \| undefined;` | optional | Data color. Opacity scales use `opacity` with the scale `color`. |
| `opacity` | `readonly opacity?: number \| undefined;` | optional |  |
| `label` | `readonly label?: string \| undefined;` | optional | Legend text (default the range or value). |
