Use Leaflet for map

This commit is contained in:
2023-03-02 16:07:15 +01:00
parent 00b5195a1f
commit 167545ffbf
7 changed files with 45 additions and 9 deletions

View File

@@ -4,8 +4,10 @@
<title>DataSpace | Report</title>
<link href="../vendor/spectre.css/dist/spectre.css" rel="stylesheet" />
<link href="../css/ds.css" rel="stylesheet" />
<link href="../vendor/leaflet/dist/leaflet.css" rel="stylesheet" />
<link rel="shortcut icon" href="../img/favicon_dataspace.svg" />
<script src="../vendor/spotlight.js/dist/spotlight.bundle.js"></script>
<script src="../vendor/leaflet/dist/leaflet.js"></script>
<script src="../js/views/report.js" type="module"></script>
</head>
<body>
@@ -32,7 +34,7 @@
</header>
<main>
<div class="columns report-container">
<div class="column col-8">
<div class="column col-6">
<h2 class="mt-2 p-2" id="rep-tit">
</h2>
<table class="table table-hover mt-2" id="resource">
@@ -40,8 +42,8 @@
</tbody>
</table>
</div>
<div class="column col-4 p-2">
<img id="map" class="img-responsive mt-2" src="../img/map.png" />
<div class="column col-6 p-2 mt-2">
<div id="map"></div>
</div>
<div class="container grid-md">
<div class="columns d-hide mt-2" id="gallery">