X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/f2633dcc2939466943d2257439c12775fb712a11..ff85679c2bc5fcc4119ab4da563fa5222440f3ab:/src/pages/DetailsPage.svelte diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte index bbf2bf5..9d72944 100644 --- a/src/pages/DetailsPage.svelte +++ b/src/pages/DetailsPage.svelte @@ -4,19 +4,20 @@ import { osmLink, wikipediaLink, coverageType, isAdminBoundary, - formatAddressRank, formatKeywordToken + formatAddressRank, formatKeywordToken, formatOSMType } from '../lib/helpers.js'; import Header from '../components/Header.svelte'; import MapIcon from '../components/MapIcon.svelte'; import SearchSectionDetails from '../components/SearchSectionDetails.svelte'; import DetailsOneRow from '../components/DetailsOneRow.svelte'; import DetailsLink from '../components/DetailsLink.svelte'; + import DetailsPostcodeHint from '../components/DetailsPostcodeHint.svelte'; import InfoRow from '../components/DetailsInfoRow.svelte'; import InfoRowList from '../components/DetailsInfoRowList.svelte'; import Map from '../components/Map.svelte'; let aPlace; - let base_url = window.location.search; + let base_url; let api_request_params; let api_request_finished = false; @@ -57,6 +58,7 @@ let pageinfo = $page; if (pageinfo.tab === 'details') { loaddata(pageinfo.params); + base_url = window.location.search; } } @@ -70,7 +72,7 @@
Linked Places | |||||
Address Keywords | |||||
{formatKeywordToken(keyword.token)} | - {#if keyword.id} -word id: {keyword.id} | - {/if} -||||
Address Keywords | |||||
{formatKeywordToken(keyword.token)} | + {#if keyword.id} +word id: {keyword.id} | + {/if} +||||
@@ -240,10 +255,10 @@ border-top: none !important; padding-left: 0 !important; } - - .table { - width: 100%; + :global(span.noname){ + color:#800; } + #map-wrapper { width:100%; min-height: auto; |