X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c636646759d9c541f7baf19812be18d002a8ce1d..455b3fd8634b07667051506a623e8fb7f309209a:/src/pages/PolygonsPage.svelte diff --git a/src/pages/PolygonsPage.svelte b/src/pages/PolygonsPage.svelte index e61d89a..dc7ec04 100644 --- a/src/pages/PolygonsPage.svelte +++ b/src/pages/PolygonsPage.svelte @@ -3,6 +3,8 @@ import { fetch_from_api, update_html_title } from '../lib/api_utils.js'; import { formatOSMType, osmLink } from '../lib/helpers.js'; + import Header from '../components/Header.svelte'; + let aPolygons = []; function loaddata() { @@ -14,7 +16,7 @@ onMount(loaddata); - +
@@ -40,6 +42,7 @@ {#each aPolygons as polygon} {polygon.osm_type} + {@html osmLink(polygon)} {polygon.class} {polygon.type}