export let addressLine;
export let bDistanceInMeters;
export let bMarkUnusedLines = false;
+ export let sCountryCode;
$: bAddressLineUsed = addressLine.isaddress;
$: reverse_only = Nominatim_Config.Reverse_Only;
{/if}
</td>
<td>{formatPlaceType(addressLine)}</td>
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
<td>{@html osmLink(addressLine)}</td>
<td>{addressLine.rank_address}</td>
<td>{formatAdminLevel(addressLine.admin_level)}</td>
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
<td>{@html formatDistance(addressLine.distance, bDistanceInMeters)}</td>
<td>
{#if addressLine.osm_id}
search by name
</PageLink>
{:else if !reverse_only && addressLine.type === 'postcode'}
- <PageLink page='search' params_hash={{ postalcode: addressLine.localname }}>
+ <PageLink page='search'
+ params_hash={{ postalcode: addressLine.localname, country: sCountryCode }}>
search by name
</PageLink>
{/if}