pointng.openWidget(pointng.start()).then(value => {
document.getElementById("locateMeWithPointNG").addEventListener("click", listenForPrediction)
function listenForPrediction() {
var updateContent = function() {
if (pointng.predictionData.ready == true) {
clearInterval(checkForUserLocation);
console.log(pointng.predictionData)
//do your magic with pointng.predictionData
var checkForUserLocation = setInterval(updateContent, 100)