64 lines
2.6 KiB
HTML
64 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
|
<meta content="utf-8" http-equiv="encoding">
|
|
<title>Library Map</title>
|
|
<link rel="shortcut icon" href="logo.svg" type="image/x-icon">
|
|
<!-- css -->
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
|
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
|
crossorigin=""/>
|
|
<link rel="stylesheet" type="text/css" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div id="loading">Loading, please be patient...</div>
|
|
<!-- leaflet script -->
|
|
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
|
|
<!-- TopoJSON -->
|
|
<script src="https://unpkg.com/topojson@3"></script>
|
|
<!-- boundaries file -->
|
|
<script src="boundaries.topo.js" type="text/javascript"></script>
|
|
<!-- geocsv -->
|
|
<script src="leaflet.geocsv.js" type="text/javascript"></script>
|
|
<!-- leaflet fill patterns -->
|
|
<script src="leaflet.pattern.js" type="text/javascript"></script>
|
|
<!-- library branches -->
|
|
<script src="public_branches.js" type="text/javascript"></script>
|
|
<script src="ikcs.js" type="text/javascript"></script>
|
|
<script src="mechanics.js" type="text/javascript"></script>
|
|
<script src="nsla.js" type="text/javascript"></script>
|
|
|
|
<header>
|
|
<section id="title">
|
|
<img id="logo" src="logo.svg"/>
|
|
<h2>Library Map</h2>
|
|
<p id="beta">Beta!</p>
|
|
</section>
|
|
<div></div>
|
|
<div id="mode-switch">
|
|
<button id="mode-button" name="mode-button">View in White Fragility Mode</button>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="intro">
|
|
<p>Made by <a href="https://www.hughrundle.net">Hugh Rundle</a> using open data. Play with the layers by using the layer control at the top right of the map.</p>
|
|
<p>Email <strong>librarymap@hugh.run</strong> if you have any tips or suggestions.</p>
|
|
<p>You need a <b>modern browser</b> with JavaScript turned on to use Library Map. Internet Explorer probably won't work properly.</p>
|
|
</section>
|
|
|
|
<!-- div to attach everything to -->
|
|
<div id="mapid"></div>
|
|
<!-- this is the guts of it -->
|
|
<script src="load-map.js" type="text/javascript"></script>
|
|
<script>
|
|
window.onload = () => {
|
|
var loading = document.getElementById("loading");
|
|
loading.remove()
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|
|
|