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() {
- fetch_from_api('polygons', {format: 'json'}, function(data){
+ fetch_from_api('polygons', { format: 'json' }, function (data) {
aPolygons = data;
});
update_html_title('Broken polygons');
onMount(loaddata);
</script>
-
+<Header/>
<div class="container">
<div class="row">
<div class="col-sm-12">