-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
389 lines (357 loc) · 26 KB
/
map.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src='https://api.mapbox.com/mapbox-gl-js/v2.1.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v2.1.0/mapbox-gl.css' rel='stylesheet' />
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-directions/v4.1.0/mapbox-gl-directions.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-directions/v4.1.0/mapbox-gl-directions.css" type="text/css" />
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.5.1/mapbox-gl-geocoder.min.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.5.1/mapbox-gl-geocoder.css" type="text/css" />
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src='https://npmcdn.com/@turf/turf/turf.min.js'></script>
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.0.9/mapbox-gl-draw.js'></script>
<link rel='stylesheet' href='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.0.9/mapbox-gl-draw.css' type='text/css' />
<meta name="theme-color" content="#F8F8F8">
<link rel="apple-touch-icon" href="images/192 by 192.png">
<!-- {% load static %} {% static 'css/map.css' %} -->
<link rel="stylesheet" href="css/map.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!-- The bottom fixed container... -->
<div class="container">
<div class="control1">
<div class="control-element1"><a href=""> <img src="images/back.png" alt="Back To Dashboard"> </a> </div>
<div class="control-element1"><a href=""> <img src="images/search.png" alt="Search"> </a> </div>
<div class="control-element1"><a href=""> <img src="images/goto.png" alt="Go To"> </a> </div>
<div class="control-element1"><a href=""> <img src="images/draw.png" alt="Draw Path"> </a> </div>
<div class="control-element1"><a href=""> <img src="images/profile.png" alt="Profile"> </a> </div>
</div>
</div>
<!-- The bottom fixed container... -->
<div id="varanasiinformationsection">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand navhead" href="#">Varanasi Tourist Information System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto">
<a style="font-size:15px;font-family:Roboto;font-weight:500;" class="nav-link active" href="#favoritesection" target="_self">Favorite Places<span class="sr-only">(current)</span></a>
<a style="font-size:15px;font-family:Roboto;font-weight:500" class="nav-link active" onclick="goto()" href="#">Go To</a>
<a style="font-size:15px;font-family:Roboto;font-weight:500" class="nav-link active" onclick="optimal()" href="#">Optimal Route(Point precise) </a>
<a style="font-size:15px;font-family:Roboto;font-weight:500" class="nav-link active" onclick="optimal1()" href="#">Optimal Route(shortest path) </a>
<a style="font-size:15px;font-family:Roboto;font-weight:500" class="nav-link geocoder mr-auto" onclick="search()" href="#" id="geocoder"></a>
</div>
</div>
</nav>
<div id='map' style='height:100vh;'></div>
<div id="myContainer">
<div id="directions"></div>
</div>
</div>
<div id="favoritesection">
<div id="sectionFavouritePlaces">
<div class="favourite-places-bg-container">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="favourite-places-heading">Favourite Places</h1>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectiongangesriverDetailedView')" target="_self">
<div>
<h1 class="favourite-place-card-heading">Ganges River</h1>
<p class="favourite-place-card-description">
Named after the Hindu goddess Ganga, the Ganges River is one of the most revered natural sites in India
</p>
</div>
<img src="images/1.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectionkashivishwanathDetailedView')">
<div>
<h1 class="favourite-place-card-heading">Shri Kashi Vishwanath Temple</h1>
<p class="favourite-place-card-description">
The impressive structure, dedicated to the Hindu deity Shiva, has earned the nickname "The Golden Temple" for its striking spire — plated in some 800 kilograms of pure gold
</p>
</div>
<img src="images/2.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectionassighatDetailedView')">
<div>
<h1 class="favourite-place-card-heading">Assi Ghat</h1>
<p class="favourite-place-card-description">
Assi Ghat's star attraction is a Shiva lingam (phallic representation of the Hindu deity) beneath a sacred fig tree
</p>
</div>
<img src="images/1.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectionmanighatDetailedView')">
<div>
<h1 class="favourite-place-card-heading">Manikarnika Ghat</h1>
<p class="favourite-place-card-description">
Hindus believe that Manikarnika Ghat is one of the most auspicious places for the departed to reach moksha (emancipation from the cycle of spiritual rebirth)
</p>
</div>
<img src="images/2.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectiongangesriverDetailedView')">
<div>
<h1 class="favourite-place-card-heading">Ganges River</h1>
<p class="favourite-place-card-description">
Named after the Hindu goddess Ganga, the Ganges River is one of the most revered natural sites in India
</p>
</div>
<img src="images/1.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12">
<div class="favourite-place-card-container d-flex flex-row" onclick="display('sectiongangesriverDetailedView')">
<div>
<h1 class="favourite-place-card-heading">Ganges River</h1>
<p class="favourite-place-card-description">
Named after the Hindu goddess Ganga, the Ganges River is one of the most revered natural sites in India
</p>
</div>
<img src="images/2.jpg" class="favourite-place-card-image" />
</div>
</div>
<div class="col-12"> <button class="btn btn-dark" onclick="display('varanasiinformationsection')">
back
</button> </div>
</div>
</div>
</div>
</div>
<div id="sectiongangesriverDetailedView">
<div class="detailed-view-bg-container">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="detailed-view-heading">Detailed View</h1>
</div>
<div class="col-12">
<div class="detailed-view-card-container">
<div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators1" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="detailed-view-card-text-container">
<h1 class="detailed-view-card-heading">Ganges River</h1>
<p class="detailed-view-card-description">
Hindus come to Varanasi from all around the world to purify themselves in the holy Ganges water and perform rituals along the dozens of ghats along the river. For tourists, the river helps provide a fixed point of orientation for navigating around the city, and you'll no doubt spend lots of time sightseeing and watching life happen around the Ganges.
In the afternoon or early evening, one of the top things to do in Varanasi is purchase a small floating offering filled with fresh flowers and a candle, and release it onto the Ganges River. The blissful experience will connect you more deeply with Hindu culture and stay in your mind for years to come.
</p>
</div>
</div>
</div>
<div class="col-12">
<button class="btn btn-dark ml-4" onclick="display('sectionFavouritePlaces')">
back
</button>
</div>
</div>
</div>
</div>
</div>
<div id="sectionkashivishwanathDetailedView">
<div class="detailed-view-bg-container">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="detailed-view-heading">Detailed View</h1>
</div>
<div class="col-12">
<div class="detailed-view-card-container">
<div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators1" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="detailed-view-card-text-container">
<h1 class="detailed-view-card-heading">Shri Kashi Vishwanath Temple</h1>
<p class="detailed-view-card-description">
Hindu pilgrims and tourists alike travel for thousands of miles to reach the Shri Kashi Vishwanath Temple, a sacred attraction around four kilometers from the Varanasi Junction railway station near the Manikarnika Ghat.
The distinctive design of this temple has gone on to inspire the architecture of hundreds of other temples across India.Strict security measures around the complex require that tourists stash their cameras, phones, bags, and other belongings in a rentable locker nearby. Expect to ditch your shoes and wait in line with hundreds of other visitors, all eager to touch the 60-centimeter-tall, sin-absolving Shiva lingam in a silver alter.
</p>
</div>
</div>
</div>
<div class="col-12">
<button class="btn btn-dark ml-4" onclick="display('sectionFavouritePlaces')">
back
</button>
</div>
</div>
</div>
</div>
</div>
<div id="sectionassighatDetailedView">
<div class="detailed-view-bg-container">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="detailed-view-heading">Detailed View</h1>
</div>
<div class="col-12">
<div class="detailed-view-card-container">
<div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/1.jpg" class="d-block w-100" alt="..." />
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators1" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="detailed-view-card-text-container">
<h1 class="detailed-view-card-heading">Assi Ghat</h1>
<p class="detailed-view-card-description">
When it comes to famous places in Varanasi, the city's southernmost main ghat regularly tops the list. Assi Ghat's star attraction is a Shiva lingam (phallic representation of the Hindu deity) beneath a sacred fig tree. It draws hundreds of pilgrims every day, who come to worship Lord Shiva after rinsing in the Ganges River.
Feeling a little stiff from traveling? Swing by Assi Ghat at sunrise, when you can get your downward-facing dog on with dozens of others during morning yoga accompanied by live music every day. Tourists can also see another Ganga Aarti performance here in the evening, which is slightly smaller and more intimate than the one at Dasaswamedh Ghat
</p>
</div>
</div>
</div>
<div class="col-12">
<button class="btn btn-dark ml-4" onclick="display('sectionFavouritePlaces')">
back
</button>
</div>
</div>
</div>
</div>
</div>
<div id="sectionmanighatDetailedView">
<div class="detailed-view-bg-container">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="detailed-view-heading">Detailed View</h1>
</div>
<div class="col-12">
<div class="detailed-view-card-container">
<div id="carouselExampleIndicators1" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
<div class="carousel-item">
<img src="images/2.jpg" class="d-block w-100" alt="..." />
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators1" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators1" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="detailed-view-card-text-container">
<h1 class="detailed-view-card-heading">Manikarnika Ghat</h1>
<p class="detailed-view-card-description">
Plumes of smoke swirl toward the sky at Manikarnika Ghat. No, it's not from a factory — it's from the perpetual cremations that happen on this ghat.
Priests or guides frequently offer to lead tourists through the fascinating ghat, however some can be aggressive in their demands for money. You may see doms (members of an untouchable caste) carrying cloth-wrapped bodies on makeshift stretchers, along with piles of firewood stacked up, ready to feed the pyre.
</p>
</div>
</div>
</div>
<div class="col-12">
<button class="btn btn-dark ml-4" onclick="display('sectionFavouritePlaces')">
back
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/js/ccbp-ui-kit.js"></script>
<!-- {% static 'css/map.css' %} -->
<script src="javascript/map.js"></script>
</body>
</html>