Skip to main content

XR8.Vps.projectWayspots()

XR8.Vps.projectWayspots()

Description

Query data about each of your Project Locations.

Parameters

None

Returns

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

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

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

Example

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