Zum Hauptinhalt springen

XR8.Vps.projectWayspots()

XR8.Vps.projectWayspots()

Beschreibung

Abfrage von Daten über jeden Ihrer Projektstandorte.

Parameter

Keine

Returns

Ein Versprechen mit einem Array von ClientWayspotInfo, das Daten über jeden Ihrer Projektstandorte enthält.

[{id, name, imageUrl, title, lat, lng }]

EigentumTypBeschreibung
idStringid für diesen Ort, nur innerhalb einer Sitzung stabil.
name [Optional]StringEin Verweis auf einen Projektstandort.
imageUrlStringURL zu einem repräsentativen Bild für diesen Standort.
titelStringDer Titel des Standorts.
latNummerBreitengrad des Projektstandorts.
lngNummerLängengrad des Projektstandorts.

Beispiel

// Protokollieren Sie die Projektstandorte.
XR8.Vps.projectWayspots().then((projectLocations) => {
projectLocations.forEach((projectLocation) => {
console.log('projectLocation: ', projectLocation)
})
})