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() {
onMount(loaddata);
</script>
-
+<Header/>
<div class="container">
<div class="row">
<div class="col-sm-12">
{#each aPolygons as polygon}
<tr>
<td>{polygon.osm_type}</td>
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
<td>{@html osmLink(polygon)}</td>
<td>{polygon.class}</td>
<td>{polygon.type}</td>