-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (57 loc) · 4.47 KB
/
index.html
File metadata and controls
63 lines (57 loc) · 4.47 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Sacramento Tree Foundation Map</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.0.0/mapbox.css' rel='stylesheet' />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Rokkitt:400,700" />
<link href='style.css' rel='stylesheet' />
</head>
<body>
<div class="panel-group" id='map-ui'>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" type="button" class='btn btn-default btn-lg' data-parent="#accordion"
href="#collapseOne">
Data Layers <span class="caret"></span>
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="panel-body">
<div class="btn-group-vertical" id="layerControls">
<h4>Tree Canopy Cover</h4>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent of the Census block group that is covered by tree canopy" class="layer btn btn-lg btn-success active" type="button" id="Percent_TC_bg" >Census Block Groups</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent of the zip code that is covered by tree canopy" class="layer btn btn-lg btn-success" type="button" id="Percent_TC" >ZIP Codes</a>
<h4>Health Outcomes</h4>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent reporting that they engage in at least 150 minutes of moderate or vigorous physical activity (MVPA) each week" class="layer btn btn-lg btn-primary" type="button" id="per_mvpa" >Physical Activity</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="A general self-assessment of overall health condition and a good predictor of future health risk" class="layer btn btn-lg btn-primary" type="button" id="per_gdex" >Good/Excellent Health</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent reporting high social cohesion, based on positive interactions with neighbors, a feeling of trust towards neighbors, and a feeling of safety in the neighborhood" class="layer btn btn-lg btn-primary" type="button" id="soc_cohes" >Social Cohesion</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Body mass index (BMI) is a measure of weight relative to height" class="layer btn btn-lg btn-danger" type="button" id="mean_bmi" >Mean BMI</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent Overweight or Obese: having a BMI >=25 is considered overweight or obese" class="layer btn btn-lg btn-danger" type="button" id="per_ovw_ob" >Overweight/Obese</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent Obese: having a BMI >=30 is considered obese" class="layer btn btn-lg btn-danger" type="button" id="per_ob" >Obese</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent that have been told by a doctor that they have high blood pressure" class="layer btn btn-lg btn-danger" type="button" id="per_hi_bp" >High Blood Pressure</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent that have been told by a doctor that they have type 2 diabetes" class="layer btn btn-lg btn-danger" type="button" id="per_type2" >Type 2 Diabetes</a>
<a href="#" data-toggle="tooltip" data-placement="right" title="Percent that have been told by a doctor that they have current asthma" class="layer btn btn-lg btn-danger" type="button" id="per_asthma" >Asthma</a>
</div>
</div>
</div>
</div>
</div>
<div id='map'></div>
<div id='content'>
<div id='infobits' class='sidecontainer'>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.0.0/mapbox.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<script src='simple_statistics.js'></script>
<script src='layers.js'></script>
</body>
</html>