Response from the reverse geocoding service.
It is a place with address information for the given coordinates.
Where nothing matches, such as at sea, it is the queried point alone, without properties. Check properties before you read it, which also narrows the response to a Place.
properties
Place
const place = await reverseGeocode({ position: [4.9041, 52.3676] });if (place.properties) { await placesModule.show(place);} Copy
const place = await reverseGeocode({ position: [4.9041, 52.3676] });if (place.properties) { await placesModule.show(place);}
Response from the reverse geocoding service.
It is a place with address information for the given coordinates.