t×tecexpressby TeKOcloud
ENv0.7.1
API & Datentypen / VUE

TxMapMarker.

Koordinate mit eindeutiger ID und optionalem Popuptext und Farbe.

ts
interface TxMapMarker extends TxCoordinate {
  id: string | number
  text?: string
  color?: string
}
FeldBedeutung
idEindeutige stabile ID.
textAnzuzeigender Text.
colorDarstellungsfarbe.
latGeografische Breite in Grad.
lngGeografische Länge in Grad.
ts
import type { TxMapMarker } from '@tekocloud.de/tecexpress'
const example: TxMapMarker = { id: 1, lat: 52.52, lng: 13.405, text: 'Berlin' }
console.log(example)