-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
32 lines (31 loc) · 1.5 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>leaflet-image-poster</title>
<meta name="description" content="Export leaflet map to a big image file using leaflet-image.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css"
integrity="sha384-99ZJFcuBCh9c/V/+8YwDX/TUGG8JWMG+gKFJWzk0BZP3IoDMN+pLGd3/H0yjg4oa"
crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="map" id="map"></div>
<div>
Width: <input type="number" id="width" value="1000" min="10" max="10000">
Height: <input type="number" id="height" value="1000" min="10" max="10000">
<button id="snap">Take a snapshot</button>
</div>
<ul id="layers"></ul>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"
integrity="sha384-Lh7SNUss9JoImCvc96eCUnLX3HvY4kb0UZCWZbYWvceJ+o5CJeOJqqNoheaGkNHT"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.12/proj4.js"
integrity="sha384-g71Vd1BhAzR1AWGvw5hCQvG8P8DqJCCPUvoTqnSxsXOecKi7SayxNDUqZ06bHeEb"
crossorigin="anonymous"></script>
<script src="js/proj4leaflet.js"></script>
<script src="bundle.js"></script>
</body>
</html>