export let addressLine;
export let bDistanceInMeters;
export let bMarkUnusedLines = false;
+ export let sCountryCode;
$: bAddressLineUsed = addressLine.isaddress;
$: reverse_only = Nominatim_Config.Reverse_Only;
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}