X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/0aa28e47e87fc78e152de7f1750e97ccf260c595..9ad36e2ce2a63535b7071acd26bc819d989b2f17:/src/pages/DetailsPage.svelte diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte index 33fb94d..1f6d84e 100644 --- a/src/pages/DetailsPage.svelte +++ b/src/pages/DetailsPage.svelte @@ -106,7 +106,9 @@ {aPlace.admin_level} {/if} {aPlace.rank_search} - {aPlace.rank_address} ({formatAddressRank(aPlace.rank_address)}) + + {aPlace.rank_address} ({formatAddressRank(aPlace.rank_address)}) + {#if aPlace.calculated_importance} {aPlace.calculated_importance} @@ -120,7 +122,9 @@ {@html osmLink(aPlace)} {aPlace.place_id} - (on this server) + ( + on this server + ) {#if aPlace.calculated_wikipedia} {@html wikipediaLink(aPlace)} @@ -128,7 +132,9 @@ {#if aPlace.calculated_postcode} {aPlace.calculated_postcode} - + {/if} @@ -160,23 +166,27 @@ {#if aPlace.address} {#each aPlace.address as addressLine} - + {/each} {/if} {#if aPlace.linked_places} -

Linked Places

+

Linked Places

{#each aPlace.linked_places as addressLine} - + {/each} {/if} {#if !reverse_only} -

Keywords

+

Keywords

{#if api_request_params.keywords} {#if place_has_keywords(aPlace)} -

Name Keywords

+

Name Keywords

{#each aPlace.keywords.name as keyword} {formatKeywordToken(keyword.token)} @@ -187,7 +197,7 @@ {/each} {#if aPlace.keywords.address} -

Address Keywords

+

Address Keywords

{#each aPlace.keywords.address as keyword} {formatKeywordToken(keyword.token)} @@ -210,13 +220,13 @@ {/if} {/if} -

Parent Of

+

Parent Of

{#if api_request_params.hierarchy} {#if aPlace.hierarchy && typeof (aPlace.hierarchy) === 'object' && Object.keys(aPlace.hierarchy).length} {#each Object.keys(aPlace.hierarchy) as type} -

{type}

+

{type}

{#each aPlace.hierarchy[type] as line} - + {/each} {/each} @@ -267,7 +277,7 @@ } tr.all-columns { - background-color: white !important; + background-color: white !important; border: none; } tr.all-columns td { @@ -279,6 +289,7 @@ } #map-wrapper { + position: relative; width:100%; min-height: auto; height:300px;