-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
42 lines (32 loc) · 1.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>All The Places | Map</title>
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
.places-popup { max-height: 40vh; }
.places-popup > div { overflow: auto; }
.places-popup pre { white-space: pre-wrap; }
</style>
<link rel=preload as=fetch crossorigin href=style.json>
<link rel=preload as=fetch crossorigin href="https://data.alltheplaces.xyz/runs/latest.json">
<link
href="https://unpkg.com/[email protected]/dist/index.js"
rel=modulepreload integrity="sha512-QgBqteN4rDB/VUmZyQY5TaALO6trUhJh2+QKfmMiYpXkAYjAm60OZhVPelXJmQBgte7aFQR2ZlfP7a8dnwKs1Q==">
<script
src="https://unpkg.com/[email protected]/dist/maplibre-gl.js"
crossorigin integrity="sha512-EzLsfPILfpJ/KP9ikfoPFBIoRaJryjaHHB4YHXAU9nfiQIttgk4F/FWsNht+2bBq7A+7Se9LbU0OZgJNVFmlOQ=="
></script>
<link
href="https://unpkg.com/[email protected]/dist/maplibre-gl.css"
rel="stylesheet"
crossorigin integrity="sha512-zFG1SdFAVbwb/egjQlLXkpfrFbSkzpt526xWJ41fIbY7/qpBk+WF+Wj/fA2If4AnMD3ukCjqaq1i+l1DelWUbA=="
/>
<script src="https://unpkg.com/@maplibre/[email protected]/dist/maplibre-gl-geocoder.min.js"></script>
<link
rel="stylesheet"
href="https://unpkg.com/@maplibre/[email protected]/dist/maplibre-gl-geocoder.css"
/>
<script type="module" src="viewer.js"></script>
<div id="map"></div>