Use your IDE suggestions for an enhanced development experience
With GPS coordinates:
const metadata = checkingIn({
location: 'The Moon',
position: geoUri({
lat: 40.6892,
lng: -74.0444,
}),
});
See geoUri for more details.
With a physical address:
const metadata = checkingIn({
location: 'The Moon',
address: {
streetAddress: '1st Street',
locality: 'New York',
region: 'NY',
postalCode: '10001',
country: 'US',
},
});
Creates a valid CheckingInMetadata.