Coordinate with a unique ID and optional popup text and color.
interface TxMapMarker extends TxCoordinate {
id: string | number
text?: string
color?: string
}| Field | Meaning |
|---|---|
| id | Unique stable ID. |
| text | Text to display. |
| color | Display color. |
| lat | Latitude in degrees. |
| lng | Longitude in degrees. |
import type { TxMapMarker } from '@tekocloud.de/tecexpress'
const example: TxMapMarker = { id: 1, lat: 52.52, lng: 13.405, text: 'Berlin' }
console.log(example)