forked from carderne/leaflet-gsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (59 loc) · 1.76 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<title>Leaflet web map with Google Sheets</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/leaflet.css"/>
<link rel="stylesheet" href="css/font-awesome.min.css"/>
<link rel="stylesheet" href="css/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="css/leaflet-sidebar.css"/>
<link rel="stylesheet" href="css/leaflet-search.css"/>
<link rel="stylesheet" href="css/leaflet-search.mobile.css"/>
<style>
body {
padding: 0;
margin: 0;
}
html, body, #map {
height: 100%;
width: 100%;
}
#sidebar-content, #sidebar-title {
word-break: break-word;
margin-right: 40px;
}
#searchInput {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ddd;
}
#pointList {
list-style-type: none;
padding: 0;
margin: 0;
}
#pointList li {
padding: 8px 16px;
border-bottom: 1px solid #ddd;
cursor: pointer;
}
#pointList li:hover {
background-color: #f6f6f6;
}
</style>
</head>
<body>
<div id="map"></div>
<div id="sidebar" class="sidebar collapsed">
<!-- Sidebar will be populated by JavaScript -->
</div>
<script src="js/leaflet.js"></script>
<script src="js/leaflet-sidebar.js"></script>
<script src="js/leaflet.awesome-markers.min.js"></script>
<script src="js/papaparse.min.js"></script>
<script src="main.js"></script>
<script src="js/leaflet-search.js"></script>
</body>
</html>