-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (63 loc) · 3.87 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<title>Home | Crimelite</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<script src="crimes.js"></script>
<script src = "script.js"></script>
<script src= "lights.js" ></script>
</head>
<body>
<div class="header">
<div class="logo-div">
<a href="index.html">
<img class="logo" src="logo.png" alt="logo" height="47" width="233">
</a>
</div>
<div class="navigation">
<div class="navigation-div"><a href = "about.html">About Us</a></div>
<div class="navigation-div"><a href = "summary.html">Summary</a></div>
<div class="navigation-div"><a href = "lookup.html">Lookup</a></div>
<div class="navigation-div" style="background-color: lightgray"><a href = "index.html">Home</a></div>
<!--
<div class="navigation-div"><a href = "index.html">Temp</a></div>-->
</div>
</div>
<div class="main">
<div class="contents">
<div id="style-selector-control" class="map-control">
<select id="style-selector" class="selector-control">
<option value="default">Default</option>
<option value="retro" selected="selected">Retro</option>
<option value="huskymode">Husky Mode</option>
<option value="hiding">Hide features</option>
</select>
</div>
<div id="floating-panel">
<button onclick="toggleHeatmap()">Toggle Heatmap</button>
<button onclick="changeGradient()">Change gradient</button>
<button onclick="changeRadius()">Change radius</button>
<button onclick="changeOpacity()">Change opacity</button>
</div>
<div id = "map"></div>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD_wuCRqJ5zvkLqyC1D0EM7fzgDlWMw5Cg&libraries=visualization&callback=initMap"></script>
<div id="legend" style="padding-top: 5px; width: 100%; height: 5%; background-color: white">
<div style="width: 20px; height: 20px; float: left; background-color: blue"></div>
<div style="padding-left: 5px; width: 200px; height: 100%; float: left; background-color: white;"><h3 style="margin-block-start: 0; margin-block-end: 0;">Streetlamps</h3></div>
<div style="padding-left: 5px; width: 200px; height: 100%; float: right; background-color: white;"><h3 style="margin-block-start: 0; margin-block-end: 0;">Crime Level Heatmap</h3></div>
<div style="width: 8px; height: 20px; float: right; background-color: red"></div>
<div style="width: 8px; height: 20px; float: right; background-color: orange"></div>
<div style="width: 8px; height: 20px; float: right; background-color: green"></div>
</div>
</div>
</div>
<div class="footer">
<hr>
<hr>
<img src="5racketeers.png" alt="the 5 racketeers logo" height="20" width="206">
<p style="margin-block-start: 0px; margin-block-end: 0px;" class="footer-text">Powered by Google Maps API<br>The 5 Racketeers is a group of student programmers from Northeastern University. They believe in raising awareness about crime and urban factors that influence it.</p>
</div>
</body>
</html>