TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ReverseGeocodingResponse

    ReverseGeocodingResponse:
        | Place<RevGeoAddressProps>
        | Omit<Place<RevGeoAddressProps>, "properties"> & {
            properties?: undefined;
        }

    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.

    const place = await reverseGeocode({ position: [4.9041, 52.3676] });
    if (place.properties) {
    await placesModule.show(place);
    }