-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
209 lines (194 loc) · 6.49 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html lang='pt'>
<head>
<title>Ciclistas Vitória</title>
<meta charset='utf-8' />
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<meta content='' name='description' />
<meta content='' name='author' />
<!-- Styles -->
<link rel="stylesheet" href="styles/bootstrap.spacelab.min.css"/>
<link rel="stylesheet" href="styles/bootstrap-responsive.min.css"/>
<link rel="stylesheet" href="styles/custom.css"/>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class='navbar'>
<div class='navbar-inner'>
<div class='container'>
<a class='brand' href='/ciclovix'>Ciclistas Vitória - Mapa</a>
<<<<<<< HEAD
<a class='brand' href='/ciclovix/index?city=serra'>Mapa - Serra</a>
=======
<a class='brand' href='/'>Ciclistas Vitória - Mapa</a>
>>>>>>> parent of a8ceea1... Cidades
</div>
</div>
</div>
<div class='container-fluid'>
<div class='row-fluid'>
<div class='span4'>
<p>Mapa Cicloviário da grande Vitória.</p>
<p>Tem alguma sugestão? Quer contribuir? Entre em contato e saiba como.<br>
<h4>Contato:<a href="mailto:ciclovitoria@gmail.com">ciclovitoria@gmail.com</a></h4></p>
<div class='well'>
<!-- Once you decide what filter you want, place the HTML code here. The section in the maps_lib.js is also marked. Once you're done, feel free to delete this explanatory section.-->
<h4>
Filtro por categoria
</h4>
<ul class='inputs-list unstyled'>
<li>
<label>
<input type='checkbox' id='cbType1' />
<span class='filter-box filter-acidentes'></span>
Acidentes
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType2' />
<span class='filter-box filter-bicicleta_publica'></span>
Aluguel/Bicicletas Públicas
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType3' />
<span class='filter-box filter-bicicletario'></span>
Bicicletários
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType4' />
<span class='filter-box filter-bomba_de_ar'></span>
Bombas de ar
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType5' />
<span class='filter-box filter-ciclofaixa'></span>
Ciclofaixas
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType6' />
<span class='filter-box filter-ciclovia'></span>
Ciclovias
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType7' />
<span class='filter-box filter-evento'></span>
Eventos
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType8' />
<span class='filter-box filter-oficina'></span>
Oficinas/Lojas
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType9' />
<span class='filter-box filter-rota'></span>
Rotas Ciclistas
</label>
</li>
<li>
<label>
<input type='checkbox' id='cbType10' />
<span class='filter-box filter-proibida'></span>
Vias Proibidas/Perigosas/Em Construção
</label>
</li>
</ul>
</div>
<h4>
Pesquisar
</h4>
<input class='input-block-level' id='text_search' placeholder="Entre com sua pesquisa" type='text' />
<p class='alert alert-info lead' id='result_count'></p>
</div>
<div class='span8'>
<div id='map_canvas'></div>
<p class='pull-right'>
<a href='http://derekeder.com/searchable_map_template/'>Searchable Map Template</a> by <a href='http://derekeder.com'>Derek Eder</a>.
</p>
</div>
</div>
<div class='well'>
<h4>
Filtro por Endereço <small>(<a id='find_me' href='#'>me encontre</a>)</small>
</h4>
<input class='input-block-level' id='search_address' placeholder='Entre com o endereço ou uma localização' type='text' />
<label>
em
<select class='input-small' id='search_radius'>
<option value='400'>400 m</option>
<option value='805'>805 m</option>
<option value='1610'>1,6 km</option>
<option value='3220'>3,2 km</option>
</select>
</label>
<input class='btn btn-primary' id='search' type='button' value='Procurar' />
<button class='btn' id='reset'>Limpar</button>
</div>
</div>
<script type="text/javascript" src="source/jquery.js"></script>
<script type="text/javascript" src="source/bootstrap.js"></script>
<script type="text/javascript" src="source/jquery.address.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&libraries=places"></script>
<script type="text/javascript" src="source/jquery.geocomplete.min.js"></script>
<script type="text/javascript" src="source/maps_lib.js"></script>
<script type='text/javascript'>
//<![CDATA[
$(window).resize(function () {
var h = $(window).height(),
offsetTop = 90; // Calculate the top offset
$('#map_canvas').css('height', (h - offsetTop));
}).resize();
$(function() {
MapsLib.initialize();
$("#search_address").geocomplete();
$(':checkbox').click(function(){
MapsLib.doSearch();
});
$(':radio').click(function(){
MapsLib.doSearch();
});
$('#search_radius').change(function(){
MapsLib.doSearch();
});
$('#search').click(function(){
MapsLib.doSearch();
});
$('#find_me').click(function(){
MapsLib.findMe();
return false;
});
$('#reset').click(function(){
$.address.parameter('address','');
MapsLib.initialize();
return false;
});
$(":text").keydown(function(e){
var key = e.keyCode ? e.keyCode : e.which;
if(key == 13) {
$('#search').click();
return false;
}
});
});
//]]>
</script>
</body>
</html>