blob: f78e469ea771b5de0bb5bc7a06a1734db1c5de05 (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.2/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14="
crossorigin=""
/>
<script
src="https://unpkg.com/leaflet@1.9.2/dist/leaflet.js"
integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg="
crossorigin=""
></script>
<style>
* {
padding: 0px;
margin: 0px;
}
#map {
width: 100vw;
height: 100vh;
}
</style>
<title>trash-map</title>
</head>
<body>
<noscript>
trash-map requires javascript. if really dont want to use js: point
your map viewer to /tiles/{z}/{x}/{y}
</noscript>
<div id="map"></div>
<script src="/viewer.js"></script>
</body>
</html>
|