API reference: @salmonui/charts/geo-map
GeoMapAnnotationinterface
import type { GeoMapAnnotation } from '@salmonui/charts/geo-map';interface GeoMapAnnotation {
readonly id?: string | undefined;
readonly x: number | string;
readonly y: number | string;
readonly content: ReactNode;
readonly align?: 'start' | 'center' | 'end' | undefined;
}
| Name | Signature | Description |
|---|---|---|
idoptional | readonly id?: string | undefined; | |
x | readonly x: number | string; | Position in the drawing: px numbers or percentages ( |
y | readonly y: number | string; | |
content | readonly content: ReactNode; | |
alignoptional | readonly align?: 'start' | 'center' | 'end' | undefined; |