Darzustellende Routenlinie aus Koordinaten; berechnet keine Route.
interface TxMapRoute {
id: string | number
points: TxCoordinate[]
color?: string
width?: number
}| Feld | Bedeutung |
|---|---|
| id | Eindeutige stabile ID. |
| points | Koordinaten der Routenlinie in Reihenfolge. |
| color | Darstellungsfarbe. |
| width | Breite; Vue-Zahlen in Pixeln, Flutter in logischen Pixeln. |
import type { TxMapRoute } from '@tekocloud.de/tecexpress'
const example: TxMapRoute = { id: 1, points: [{ lat: 52.52, lng: 13.405 }, { lat: 52.53, lng: 13.41 }] }
console.log(example)