Koordinate mit eindeutiger ID und optionalem Popuptext und Farbe.
interface TxMapMarker extends TxCoordinate {
id: string | number
text?: string
color?: string
}| Feld | Bedeutung |
|---|---|
| id | Eindeutige stabile ID. |
| text | Anzuzeigender Text. |
| color | Darstellungsfarbe. |
| lat | Geografische Breite in Grad. |
| lng | Geografische Länge in Grad. |
import type { TxMapMarker } from '@tekocloud.de/tecexpress'
const example: TxMapMarker = { id: 1, lat: 52.52, lng: 13.405, text: 'Berlin' }
console.log(example)