-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
189 lines (162 loc) · 11.2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="description" content="">
<meta name="author" content="">
<title>CO Boundaries</title>
<!-- uses Bootleaf Template https://github.com/bmcbride/bootleaf -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<link href='https://api.mapbox.com/mapbox.js/v2.2.1/mapbox.css' rel='stylesheet' />
<link rel="stylesheet" href="src/lib/css/MarkerCluster.css">
<link rel="stylesheet" href="https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.24.0/L.Control.Locate.css">
<link rel="stylesheet" href="src/common/css/app.css">
<link rel="stylesheet" href="src/lib/css/slider.css">
<!-- favicons , i have left them as default from template -->
<link rel="apple-touch-icon" sizes="76x76" href="images/favicon-76.png">
<link rel="apple-touch-icon" sizes="120x120" href="images/favicon-120.png">
<link rel="apple-touch-icon" sizes="152x152" href="images/favicon-152.png">
<link rel="icon" sizes="196x196" href="images/favicon-196.png">
<link rel="shortcut icon" sizes="196x196" href="images/favicon-196.png">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-76100845-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-80DP2C1J1Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-80DP2C1J1Y');
</script>
</head>
<body>
<!-- top navbar -->
<!-- icon class refers to font-awesome icons https://fortawesome.github.io/Font-Awesome/ -->
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Boundaries & Annexations</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="#" data-toggle="collapse" data-target=".navbar-collapse.in" onclick="$('#aboutModal').modal('show'); return false;"><i class="fa fa-question-circle" style="color: white"></i> About</a></li>
<li class="dropdown">
<a class="dropdown-toggle" id="downloadDrop" href="#" role="button" data-toggle="dropdown"><i class="fa fa-cloud-download" style="color: white"></i> Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="https://storage.googleapis.com/co-publicdata/MuniBounds.zip" download="MuniBounds" target="_blank" data-toggle="collapse" data-target=".navbar-collapse.in"><i class="fa fa-download"></i> Current Boundaries</a></li>
<li><a href="https://storage.googleapis.com/co-publicdata/Web_Annexations.zip" download="Web_Annexations" target="_blank" data-toggle="collapse" data-target=".navbar-collapse.in"><i class="fa fa-download"></i> Base and Annexations</a></li>
<li><a href="https://storage.googleapis.com/co-publicdata/DeAnnexations.zip" download="DeAnnexations" target="_blank" data-toggle="collapse" data-target=".navbar-collapse.in"><i class="fa fa-download"></i> De-Annexations</a></li>
</ul>
</li>
<li><a href="https://docs.google.com/forms/d/e/1FAIpQLSfaKgXqFYKNvnGFSWmiKymanBMeVKMRQtAs7exEdF6ZyDlD0w/viewform?usp=sf_link" id="questions-btn"><i class="fa fa-question-circle white"></i> Questions?</a></li>
</ul>
<form class="navbar-form navbar-right" role="search">
<div id="the-basics" class="form-group has-feedback navbar-right">
<input id="searchbox" type="text" placeholder="Search" class="form-control typeahead">
<span id="searchicon" class="fa fa-search form-control-feedback"></span>
</div>
</form>
</div><!--/.navbar-collapse -->
</div><!-- end top navbar -->
<!-- loading animation -->
<div id="loading">
<div class="loading-indicator">
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-info" style="width: 100%"></div>
</div>
</div>
</div>
<!-- about modal. linked to from top navbar -->
<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Colorado Municipal Boundaries Project</h4>
</div>
<div class="modal-body">
<ul class="nav nav-tabs" id="aboutTabs">
<li class="active"><a href="#about" data-toggle="tab"><i class="fa fa-question-circle"></i> About the project</a></li>
<li><a href="#disclaimer" data-toggle="tab"><i class="fa fa-exclamation-circle"></i> Disclaimer</a></li>
</ul>
<div class="tab-content" id="aboutTabsContent" style="padding-top: 10px;">
<div class="tab-pane fade active in" id="about">
<p>The State of Colorado wants to ensure everyone is able to access the information they need. If you feel this app is not accessible to you,
please email the <a href="mailto:todd.bleess@state.co.us">State Demography Office</a> and we will be happy to assist you.
<p>The Colorado Municipal Boundaries Project is a collaborative effort between private, local, county, and state sources. Please contact <a href="mailto:todd.bleess@state.co.us">Todd Bleess</a> for questions.</p>
<div class="panel panel-primary">
<div class="panel-heading">Information</div>
<ul class="list-group">
<li class="list-group-item"><p><b>Data:</b> The Municipalities dataset was created by combining a Base Boundary dataset with an Annexation dataset.</p><p>The Base Boundaries are a compilation of voluntary contributions and publicly available downloads</a> from local and regional authorities.</p><p>The Annexation dataset was created by transcribing areas from annexation maps; either by freehand drawing or by digitally copying when available.</p>Currency of data depends upon having accurate base data as well as timely annexation updates (sent from each County Clerk to <a target="_blank" href="https://cdola.colorado.gov/">DOLA</a> per Colorado statutory requirements).</p></li>
<li class="list-group-item"><b>Application:</b> <a target="_blank" href="http://bryanmcbride.com/bootleaf">Bootleaf</a> Template created by Bryan McBride, released under the <a target="_blank" href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a>. Feature services provided by <a target="_blank" href="http://www.esri.com/software/arcgis/arcgisonline">ArcGIS Online</a> through <a target="_blank" href="http://esri.github.io/esri-leaflet/">ESRI-Leaflet</a>, under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, version 2.0</a>.</li>
</ul>
</div>
</div>
<div id="disclaimer" class="tab-pane fade text-danger">
<p>The creator (<a target="_blank" href="https://cdola.colorado.gov/">DOLA</a>) and contributors to this project do not guarantee the accuracy of any information presented, are not liable for any errors or omissions and are not responsible for determining fitness for use, either in this map or in its associated data. This data should not be considered an authoritative source of information.</p>
</div>
</div>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- end about modal -->
<!-- attribution modal -->
<div class="modal fade" id="attributionModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">
Bootleaf Template Developed by <a href='http://bryanmcbride.com'>Bryan McBride</a>
</h4>
</div>
<div class="modal-body">
<div id="attribution">Tiles courtesy of ESRI.</div> <!-- Default to ESRI topo map -->
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- end attribution modal -->
<!-- range control with bootstrap slider container -->
<div class="well">
<p style="margin-top: -5px; margin-bottom: -12px; align: top;">Annexation Filter</p><br /><b>2010 </b> <input type="text" class="slider" value="" data-slider-min="2010" data-slider-max="2024" data-slider-step=".0833333333333333333333333333333333333333333333333" data-slider-value="[2010,2024]" id="sl1" > <b> 2024</b>
</div>
<!-- standalone checkbox control -->
<div id="baselayer" class="checkbox">
<label id="lalign"><input id="ialign" type="checkbox" /> Only Show Annexations</label>
</div>
<!-- leaflet map container -->
<div id="map"></div>
<!-- load javascript -->
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="src/lib/js/typeahead.jquery.js"></script>
<script src="https://api.mapbox.com/mapbox.js/v2.2.1/mapbox.js"></script>
<!-- leaflet plugins remote-->
<script src="src/lib/js/MarkerCluster.js"></script>
<script src="https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.24.0/L.Control.Locate.js"></script>
<script src="src/lib/js/leaflet.groupedlayercontrol.js"></script>
<script src="src/lib/js/L.activearea.js"></script>
<script src="src/lib/js/bootstrap-slider.js"></script>
<script src="src/lib/js/leafletajax.js"></script>
<!-- place location data, x, y -->
<script src="src/common/js/locations.js"></script>
<script src="src/common/js/lookups.js"></script>
<script src="src/common/js/app.js"></script>
</body>
</html>