-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
189 lines (174 loc) · 8.9 KB
/
index.html
File metadata and controls
189 lines (174 loc) · 8.9 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
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>
<!--[if IE 7 ]> <html lang="en" class="isie ie7 oldie no-js"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="isie ie8 oldie no-js"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="isie ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>Interactive Bus Map of Cuenca, Ecuador</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900&v1∓subset=latin,latin-ext"
type="text/css" media="screen" id="google_font" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700&v1∓subset=latin,latin-ext"
type="text/css" media="screen" id="google_font_body" />
<link rel="stylesheet" href="css/bus_map/responsive-devices.css" type="text/css" />
<link rel="stylesheet" href="css/bus_map/template.css" type="text/css" />
<link rel="stylesheet" href="css/bus_map/bootstrap.min.css">
<link rel="stylesheet" href="css/bus_map/main.css">
<link rel="stylesheet" href="css/bus_map/bootstrap_responsive.min.css">
<link rel="stylesheet" href="css/bus_map/main_responsive.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.css">
<style type="text/css">
html {
height: 100%;
}
body {
height: 100%;
}
.gm-style {
font-family: Roboto, Arial, sans-serif;
font-size: 11px;
font-weight: 400;
text-decoration: none
}
</style>
<script type="text/javascript" src='js/lib/jquery.min.js'></script>
<script type="text/javascript" src="js/lib/modernizr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-omnivore/0.3.4/leaflet-omnivore.min.js"
integrity="sha512-55AYz+N6WyuiC8bRpQftNyCcSBCl3AEutoTsb4EeZuFVFP1+G4gll30iczAvvTpdL9nz48F7ZFEUavRUXp3FNA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-polylinedecorator/1.1.0/leaflet.polylineDecorator.min.js"></script>
<!-- <script
src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-polylinedecorator/1.1.0/leaflet.polylineDecorator.min.js.map"></script> -->
<script type="text/javascript" src="js/lib/angular.min.js"></script>
<!-- Need to import bus.data.js before the bus.map.app.js -->
<script type="text/javascript" src="js/bus_map/bus.data.js"></script>
<script type="text/javascript" src="js/bus_map/bus.map.app.js"></script>
<script type="text/javascript" src="js/bus_map/template.js"></script>
</head>
<body ng-app="alternaturBusApp" ng-controller="mapController as vm" ng-cloak>
<div id="page_wrapper">
<div id="page_header" class="gradient bottom-shadow">
<div class="container">
<div class="row">
<div class="span6"></div>
<div class="span6">
<div class="header-titles">
<h2>INTERACTIVE BUS MAP</h2>
<h4>A map of Cuenca's Transit System</h4>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
</div>
<div class="span8" style="height:100%; paddding: 1em;">
<div class="well">
<h4> Map Options </h4>
<div class="row-fluid">
<div class="span3">
<label class="checkbox">
<input type="checkbox" ng-model="vm.showBusStops"
ng-click="vm.toggleStops(vm.showBusStops)">Show Bus Stops
</label>
</div>
<div class="span3">
<label class="checkbox">
<input type="checkbox" ng-click="vm.toggleTranvia()">Show Tranvia
</label>
</div>
<div class="span3">
<label class="checkbox">
<input type="checkbox" ng-click="vm.toggleFinancial()">Show Atm / Banks
</label>
</div>
<div class="span3">
<label class="checkbox">
<input type="checkbox" ng-click="vm.toggleParks()">Show Parks
</label>
</div>
</div>
</div>
</div>
<div class="span2">
</div>
</div>
</div>
<!-- Map Container -->
<div class="container-fluid" style="height:80%; padding-top:5px; padding-bottom: 0px;">
<div class="row-fluid" style="height:90%;">
<div class="span2 hidden-phone">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">BUS ROUTES:</li>
<li ng-repeat="route in vm.leftColumn">
<div class="athPush" ng-class="vm.routeClass(route)">
<div class="accordion">
<span ng-click="vm.clickHeaderWrapper($event, route.key)">
<h2 ng-bind="route.title"></h2>
<img id="ruta{{route.key}}" src="images/bus_map/expand.png" />
</span>
<div class="accordion-inside">
<label class="checkbox">
<input type="checkbox" ng-model="route.model1" class="ruta"
ng-change="vm.toggleRoute(route.key, route.direction1, route.model1)">{{route.title}}
{{route.direction1}}
</label>
<label class="checkbox">
<input type="checkbox" class="ruta" ng-model="route.model2"
ng-change="vm.toggleRoute(route.key, route.direction2, route.model2)">{{route.title}}
{{route.direction2}}
</label>
</div>
</div>
</div>
</li>
</ul>
</div>
<!--/.well -->
</div>
<div class="span7" id="map_canvas">
</div>
<div class="span2 hidden-phone">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">BUS ROUTES:</li>
<li ng-repeat="route in vm.rightColumn">
<div class="athPush" ng-class="vm.routeClass(route)">
<div class="accordion">
<span ng-click="vm.clickHeaderWrapper($event, route.key)">
<h2 ng-bind="route.title"></h2>
<img src="images/bus_map/expand.png" />
</span>
<div class="accordion-inside">
<label class="checkbox">
<input type="checkbox" class="ruta" ng-model="route.model1"
ng-change="vm.toggleRoute(route.key, route.direction1, route.model1)">{{route.title}}
{{route.direction1}} - </label>
<label class="checkbox">
<input type="checkbox" class="ruta" ng-model="route.model2"
ng-change="vm.toggleRoute(route.key, route.direction2, route.model2)">{{route.title}}
{{route.direction2}}
</label>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<br />
</div>
</body>
</html>