API reference: @salmonui/charts/geo-map
GeoMapRouteinterface
import type { GeoMapRoute } from '@salmonui/charts/geo-map';interface GeoMapRoute {
readonly id?: string | undefined;
readonly points: readonly LatLon[];
readonly curvature?: number | undefined;
readonly arrows?: 'none' | 'start' | 'end' | 'both' | undefined;
readonly lineStyle?: 'solid' | 'dashed' | 'dotted' | undefined;
readonly color?: string | undefined;
readonly width?: number | undefined;
readonly label?: string | undefined;
}
| Name | Signature | Description |
|---|---|---|
idoptional | readonly id?: string | undefined; | |
points | readonly points: readonly LatLon[]; |
|
curvatureoptional | readonly curvature?: number | undefined; | Bend of each segment as a fraction of its length (0 = straight). |
arrowsoptional | readonly arrows?: 'none' | 'start' | 'end' | 'both' | undefined; | |
lineStyleoptional | readonly lineStyle?: 'solid' | 'dashed' | 'dotted' | undefined; | |
coloroptional | readonly color?: string | undefined; | |
widthoptional | readonly width?: number | undefined; | |
labeloptional | readonly label?: string | undefined; |