Skip to main content

XR8.Vps.projectWayspots()

XR8.Vps.projectWayspots()

Description

Query data about each of your Project Wayspots.

Parameters

None

Returns

A promise with an array of ClientWayspotInfo, which contains data about each of your Project Wayspots.

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

PropertyTypeDescription
idStringid for this Wayspot, only stable within a session.
name [Optional]StringA reference to a Project Wayspot.
imageUrlStringURL to a representative image for this Wayspot.
titleStringThe Wayspot's title.
latNumberLatitude of the Project Wayspot.
lngNumberLongitude of the Project Wayspot.

Example

  // Log the Project Wayspots.
XR8.Vps.projectWayspots().then((projectWayspots) => {
projectWayspots.forEach((projectWayspot) => {
console.log('projectWayspot: ', projectWayspot)
})
})