Nativescript, JavaScript, iOS App Development, Android App Development, Programming.
element.types[0] marker.address = element.vicinity that.mapView.addMarker(marker); }) } else { console.log("Error getting google places data"); console.dir(data); } }) .catch(e => { console.log("Error getting google places data"); console.error(e); }); } }); }, While this does work, a better