-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (37 loc) · 1.73 KB
/
index.html
File metadata and controls
47 lines (37 loc) · 1.73 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- boilerplate html tags to set up the bones of the website -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- sets the title of the website -->
<title>Leaflet Template</title>
<!-- defines fonts we want to use -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<!-- grabs Leaflet's stylesheet -->
<link rel="stylesheet" href="lib/leaflet/leaflet.css">
<!-- grabs jQuery's stylesheet -->
<link href="lib/jquery-ui/jquery-ui.css" rel="stylesheet">
<!-- 👇 grabs the Leaflet javascript library -- all the stuff that does the mappy magic -->
<script type="text/javascript" src ="lib/leaflet/leaflet.js"></script>
<!-- points to our own custom style sheet so we can make things look snazzy -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<!-- container for the map, with custom id name "#map" -->
<div id = "sidebar">
<h2>This is a header.</h2>
<p>This is a paragraph</p>
<li>Normal html content can go in here</li>
<li>Styled with normal css</li>
<li>You can also pull in values from the data</li>
</div>
<div id="map"></div>
<!-- container for the top banner, with custom id name "#banner" -->
<div id="banner"></div>
<script src="https://code.jquery.com/jquery-3.3.1.js"integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="crossorigin="anonymous"></script>
<script type= "text/javascript" src = "js/main.js"> </script>
</body>
</html>