Sending a location object
To send a location object, call:
MedalliaMXO.processLocation({
latitude: 1,
longitude: 1,
horizontalAccuracy: 1.0,
timestamp: (new Date()).getTime()
})).then(() => {
// do something after the location gets processed
})
.catch((error) => {
// do something with the error
console.error(error)
})