chore: update map library to leaflet and adjust styles
This commit is contained in:
parent
25017ef0dc
commit
0165e9a4bf
@ -5,12 +5,20 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Journey Mapper - Interactive Map</title>
|
<title>Journey Mapper - Interactive Map</title>
|
||||||
|
|
||||||
<link rel='stylesheet' href='https://unpkg.com/maplibre-gl@5.19.0/dist/maplibre-gl.css' />
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
||||||
<script src='https://unpkg.com/maplibre-gl@5.19.0/dist/maplibre-gl.js'></script>
|
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body { margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
|
body { margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
|
||||||
html, body, #map { height: 100%; }
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#map {
|
||||||
|
height: 100vh;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
/* Sidebar Styles */
|
/* Sidebar Styles */
|
||||||
.app-container {
|
.app-container {
|
||||||
@ -585,7 +593,7 @@
|
|||||||
<i class="fas fa-list"></i> All Journeys
|
<i class="fas fa-list"></i> All Journeys
|
||||||
</a>
|
</a>
|
||||||
<a href="about.html" class="nav-link">
|
<a href="about.html" class="nav-link">
|
||||||
<i class="fas fa-question-circle"></i> Help
|
<i class="fas fa-question-circle">/i> Help
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="footer-text">Journey Mapper v1.0</p>
|
<p class="footer-text">Journey Mapper v1.0</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user