t×tecexpressby TeKOcloud
DEv0.7.1
API & types / VUE

TxMapMarker.

Coordinate with a unique ID and optional popup text and color.

ts
interface TxMapMarker extends TxCoordinate {
  id: string | number
  text?: string
  color?: string
}
FieldMeaning
idUnique stable ID.
textText to display.
colorDisplay color.
latLatitude in degrees.
lngLongitude in degrees.
ts
import type { TxMapMarker } from '@tekocloud.de/tecexpress'
const example: TxMapMarker = { id: 1, lat: 52.52, lng: 13.405, text: 'Berlin' }
console.log(example)