forked from stisla/stisla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgmaps-route.html
466 lines (454 loc) · 24.7 KB
/
gmaps-route.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
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
<title>Google Maps › Route — Stisla</title>
<!-- General CSS Files -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<!-- CSS Libraries -->
<!-- Template CSS -->
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../assets/css/components.css">
</head>
<body>
<div id="app">
<div class="main-wrapper">
<div class="navbar-bg"></div>
<nav class="navbar navbar-expand-lg main-navbar">
<form class="form-inline mr-auto">
<ul class="navbar-nav mr-3">
<li><a href="#" data-toggle="sidebar" class="nav-link nav-link-lg"><i class="fas fa-bars"></i></a></li>
<li><a href="#" data-toggle="search" class="nav-link nav-link-lg d-sm-none"><i class="fas fa-search"></i></a></li>
</ul>
<div class="search-element">
<input class="form-control" type="search" placeholder="Search" aria-label="Search" data-width="250">
<button class="btn" type="submit"><i class="fas fa-search"></i></button>
<div class="search-backdrop"></div>
<div class="search-result">
<div class="search-header">
Histories
</div>
<div class="search-item">
<a href="#">How to hack NASA using CSS</a>
<a href="#" class="search-close"><i class="fas fa-times"></i></a>
</div>
<div class="search-item">
<a href="#">Kodinger.com</a>
<a href="#" class="search-close"><i class="fas fa-times"></i></a>
</div>
<div class="search-item">
<a href="#">#Stisla</a>
<a href="#" class="search-close"><i class="fas fa-times"></i></a>
</div>
<div class="search-header">
Result
</div>
<div class="search-item">
<a href="#">
<img class="mr-3 rounded" width="30" src="../assets/img/products/product-3-50.png" alt="product">
oPhone S9 Limited Edition
</a>
</div>
<div class="search-item">
<a href="#">
<img class="mr-3 rounded" width="30" src="../assets/img/products/product-2-50.png" alt="product">
Drone X2 New Gen-7
</a>
</div>
<div class="search-item">
<a href="#">
<img class="mr-3 rounded" width="30" src="../assets/img/products/product-1-50.png" alt="product">
Headphone Blitz
</a>
</div>
<div class="search-header">
Projects
</div>
<div class="search-item">
<a href="#">
<div class="search-icon bg-danger text-white mr-3">
<i class="fas fa-code"></i>
</div>
Stisla Admin Template
</a>
</div>
<div class="search-item">
<a href="#">
<div class="search-icon bg-primary text-white mr-3">
<i class="fas fa-laptop"></i>
</div>
Create a new Homepage Design
</a>
</div>
</div>
</div>
</form>
<ul class="navbar-nav navbar-right">
<li class="dropdown dropdown-list-toggle"><a href="#" data-toggle="dropdown" class="nav-link nav-link-lg message-toggle beep"><i class="far fa-envelope"></i></a>
<div class="dropdown-menu dropdown-list dropdown-menu-right">
<div class="dropdown-header">Messages
<div class="float-right">
<a href="#">Mark All As Read</a>
</div>
</div>
<div class="dropdown-list-content dropdown-list-message">
<a href="#" class="dropdown-item dropdown-item-unread">
<div class="dropdown-item-avatar">
<img alt="image" src="../assets/img/avatar/avatar-1.png" class="rounded-circle">
<div class="is-online"></div>
</div>
<div class="dropdown-item-desc">
<b>Kusnaedi</b>
<p>Hello, Bro!</p>
<div class="time">10 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item dropdown-item-unread">
<div class="dropdown-item-avatar">
<img alt="image" src="../assets/img/avatar/avatar-2.png" class="rounded-circle">
</div>
<div class="dropdown-item-desc">
<b>Dedik Sugiharto</b>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
<div class="time">12 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item dropdown-item-unread">
<div class="dropdown-item-avatar">
<img alt="image" src="../assets/img/avatar/avatar-3.png" class="rounded-circle">
<div class="is-online"></div>
</div>
<div class="dropdown-item-desc">
<b>Agung Ardiansyah</b>
<p>Sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<div class="time">12 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-avatar">
<img alt="image" src="../assets/img/avatar/avatar-4.png" class="rounded-circle">
</div>
<div class="dropdown-item-desc">
<b>Ardian Rahardiansyah</b>
<p>Duis aute irure dolor in reprehenderit in voluptate velit ess</p>
<div class="time">16 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-avatar">
<img alt="image" src="../assets/img/avatar/avatar-5.png" class="rounded-circle">
</div>
<div class="dropdown-item-desc">
<b>Alfa Zulkarnain</b>
<p>Exercitation ullamco laboris nisi ut aliquip ex ea commodo</p>
<div class="time">Yesterday</div>
</div>
</a>
</div>
<div class="dropdown-footer text-center">
<a href="#">View All <i class="fas fa-chevron-right"></i></a>
</div>
</div>
</li>
<li class="dropdown dropdown-list-toggle"><a href="#" data-toggle="dropdown" class="nav-link notification-toggle nav-link-lg beep"><i class="far fa-bell"></i></a>
<div class="dropdown-menu dropdown-list dropdown-menu-right">
<div class="dropdown-header">Notifications
<div class="float-right">
<a href="#">Mark All As Read</a>
</div>
</div>
<div class="dropdown-list-content dropdown-list-icons">
<a href="#" class="dropdown-item dropdown-item-unread">
<div class="dropdown-item-icon bg-primary text-white">
<i class="fas fa-code"></i>
</div>
<div class="dropdown-item-desc">
Template update is available now!
<div class="time text-primary">2 Min Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-icon bg-info text-white">
<i class="far fa-user"></i>
</div>
<div class="dropdown-item-desc">
<b>You</b> and <b>Dedik Sugiharto</b> are now friends
<div class="time">10 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-icon bg-success text-white">
<i class="fas fa-check"></i>
</div>
<div class="dropdown-item-desc">
<b>Kusnaedi</b> has moved task <b>Fix bug header</b> to <b>Done</b>
<div class="time">12 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-icon bg-danger text-white">
<i class="fas fa-exclamation-triangle"></i>
</div>
<div class="dropdown-item-desc">
Low disk space. Let's clean it!
<div class="time">17 Hours Ago</div>
</div>
</a>
<a href="#" class="dropdown-item">
<div class="dropdown-item-icon bg-info text-white">
<i class="fas fa-bell"></i>
</div>
<div class="dropdown-item-desc">
Welcome to Stisla template!
<div class="time">Yesterday</div>
</div>
</a>
</div>
<div class="dropdown-footer text-center">
<a href="#">View All <i class="fas fa-chevron-right"></i></a>
</div>
</div>
</li>
<li class="dropdown"><a href="#" data-toggle="dropdown" class="nav-link dropdown-toggle nav-link-lg nav-link-user">
<img alt="image" src="../assets/img/avatar/avatar-1.png" class="rounded-circle mr-1">
<div class="d-sm-none d-lg-inline-block">Hi, Ujang Maman</div></a>
<div class="dropdown-menu dropdown-menu-right">
<div class="dropdown-title">Logged in 5 min ago</div>
<a href="features-profile.html" class="dropdown-item has-icon">
<i class="far fa-user"></i> Profile
</a>
<a href="features-activities.html" class="dropdown-item has-icon">
<i class="fas fa-bolt"></i> Activities
</a>
<a href="features-settings.html" class="dropdown-item has-icon">
<i class="fas fa-cog"></i> Settings
</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item has-icon text-danger">
<i class="fas fa-sign-out-alt"></i> Logout
</a>
</div>
</li>
</ul>
</nav>
<div class="main-sidebar">
<aside id="sidebar-wrapper">
<div class="sidebar-brand">
<a href="index.html">Stisla</a>
</div>
<div class="sidebar-brand sidebar-brand-sm">
<a href="index.html">St</a>
</div>
<ul class="sidebar-menu">
<li class="menu-header">Dashboard</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-fire"></i><span>Dashboard</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="index-0.html">General Dashboard</a></li>
<li><a class="nav-link" href="index.html">Ecommerce Dashboard</a></li>
</ul>
</li>
<li class="menu-header">Starter</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown" data-toggle="dropdown"><i class="fas fa-columns"></i> <span>Layout</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="layout-default.html">Default Layout</a></li>
<li><a class="nav-link" href="layout-transparent.html">Transparent Sidebar</a></li>
<li><a class="nav-link" href="layout-top-navigation.html">Top Navigation</a></li>
</ul>
</li>
<li><a class="nav-link" href="blank.html"><i class="far fa-square"></i> <span>Blank Page</span></a></li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-th"></i> <span>Bootstrap</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="bootstrap-alert.html">Alert</a></li>
<li><a class="nav-link" href="bootstrap-badge.html">Badge</a></li>
<li><a class="nav-link" href="bootstrap-breadcrumb.html">Breadcrumb</a></li>
<li><a class="nav-link" href="bootstrap-buttons.html">Buttons</a></li>
<li><a class="nav-link" href="bootstrap-card.html">Card</a></li>
<li><a class="nav-link" href="bootstrap-carousel.html">Carousel</a></li>
<li><a class="nav-link" href="bootstrap-collapse.html">Collapse</a></li>
<li><a class="nav-link" href="bootstrap-dropdown.html">Dropdown</a></li>
<li><a class="nav-link" href="bootstrap-form.html">Form</a></li>
<li><a class="nav-link" href="bootstrap-list-group.html">List Group</a></li>
<li><a class="nav-link" href="bootstrap-media-object.html">Media Object</a></li>
<li><a class="nav-link" href="bootstrap-modal.html">Modal</a></li>
<li><a class="nav-link" href="bootstrap-nav.html">Nav</a></li>
<li><a class="nav-link" href="bootstrap-navbar.html">Navbar</a></li>
<li><a class="nav-link" href="bootstrap-pagination.html">Pagination</a></li>
<li><a class="nav-link" href="bootstrap-popover.html">Popover</a></li>
<li><a class="nav-link" href="bootstrap-progress.html">Progress</a></li>
<li><a class="nav-link" href="bootstrap-table.html">Table</a></li>
<li><a class="nav-link" href="bootstrap-tooltip.html">Tooltip</a></li>
<li><a class="nav-link" href="bootstrap-typography.html">Typography</a></li>
</ul>
</li>
<li class="menu-header">Stisla</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-th-large"></i> <span>Components</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="components-article.html">Article</a></li>
<li><a class="nav-link beep beep-sidebar" href="components-avatar.html">Avatar</a></li>
<li><a class="nav-link" href="components-chat-box.html">Chat Box</a></li>
<li><a class="nav-link beep beep-sidebar" href="components-empty-state.html">Empty State</a></li>
<li><a class="nav-link" href="components-gallery.html">Gallery</a></li>
<li><a class="nav-link beep beep-sidebar" href="components-hero.html">Hero</a></li>
<li><a class="nav-link" href="components-multiple-upload.html">Multiple Upload</a></li>
<li><a class="nav-link beep beep-sidebar" href="components-pricing.html">Pricing</a></li>
<li><a class="nav-link" href="components-statistic.html">Statistic</a></li>
<li><a class="nav-link" href="components-tab.html">Tab</a></li>
<li><a class="nav-link" href="components-table.html">Table</a></li>
<li><a class="nav-link" href="components-user.html">User</a></li>
<li><a class="nav-link beep beep-sidebar" href="components-wizard.html">Wizard</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="far fa-file-alt"></i> <span>Forms</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="forms-advanced-form.html">Advanced Form</a></li>
<li><a class="nav-link" href="forms-editor.html">Editor</a></li>
<li><a class="nav-link" href="forms-validation.html">Validation</a></li>
</ul>
</li>
<li class="nav-item dropdown active">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-map-marker-alt"></i> <span>Google Maps</span></a>
<ul class="dropdown-menu">
<li><a href="gmaps-advanced-route.html">Advanced Route</a></li>
<li><a href="gmaps-draggable-marker.html">Draggable Marker</a></li>
<li><a href="gmaps-geocoding.html">Geocoding</a></li>
<li><a href="gmaps-geolocation.html">Geolocation</a></li>
<li><a href="gmaps-marker.html">Marker</a></li>
<li><a href="gmaps-multiple-marker.html">Multiple Marker</a></li>
<li class="active"><a href="gmaps-route.html">Route</a></li>
<li><a href="gmaps-simple.html">Simple</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-plug"></i> <span>Modules</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="modules-calendar.html">Calendar</a></li>
<li><a class="nav-link" href="modules-chartjs.html">ChartJS</a></li>
<li><a class="nav-link" href="modules-datatables.html">DataTables</a></li>
<li><a class="nav-link" href="modules-flag.html">Flag</a></li>
<li><a class="nav-link" href="modules-font-awesome.html">Font Awesome</a></li>
<li><a class="nav-link" href="modules-ion-icons.html">Ion Icons</a></li>
<li><a class="nav-link" href="modules-owl-carousel.html">Owl Carousel</a></li>
<li><a class="nav-link" href="modules-sparkline.html">Sparkline</a></li>
<li><a class="nav-link" href="modules-sweet-alert.html">Sweet Alert</a></li>
<li><a class="nav-link" href="modules-toastr.html">Toastr</a></li>
<li><a class="nav-link" href="modules-vector-map.html">Vector Map</a></li>
<li><a class="nav-link" href="modules-weather-icon.html">Weather Icon</a></li>
</ul>
</li>
<li class="menu-header">Pages</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="far fa-user"></i> <span>Auth</span></a>
<ul class="dropdown-menu">
<li><a href="auth-forgot-password.html">Forgot Password</a></li>
<li><a href="auth-login.html">Login</a></li>
<li><a class="beep beep-sidebar" href="auth-login-2.html">Login 2</a></li>
<li><a href="auth-register.html">Register</a></li>
<li><a href="auth-reset-password.html">Reset Password</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-exclamation"></i> <span>Errors</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="errors-503.html">503</a></li>
<li><a class="nav-link" href="errors-403.html">403</a></li>
<li><a class="nav-link" href="errors-404.html">404</a></li>
<li><a class="nav-link" href="errors-500.html">500</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-bicycle"></i> <span>Features</span></a>
<ul class="dropdown-menu">
<li><a class="nav-link" href="features-activities.html">Activities</a></li>
<li><a class="nav-link" href="features-post-create.html">Post Create</a></li>
<li><a class="nav-link" href="features-posts.html">Posts</a></li>
<li><a class="nav-link" href="features-profile.html">Profile</a></li>
<li><a class="nav-link" href="features-settings.html">Settings</a></li>
<li><a class="nav-link" href="features-setting-detail.html">Setting Detail</a></li>
<li><a class="nav-link" href="features-tickets.html">Tickets</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link has-dropdown"><i class="fas fa-ellipsis-h"></i> <span>Utilities</span></a>
<ul class="dropdown-menu">
<li><a href="utilities-contact.html">Contact</a></li>
<li><a class="nav-link" href="utilities-invoice.html">Invoice</a></li>
<li><a href="utilities-subscribe.html">Subscribe</a></li>
</ul>
</li>
<li><a class="nav-link" href="credits.html"><i class="fas fa-pencil-ruler"></i> <span>Credits</span></a></li>
</ul>
<div class="mt-4 mb-4 p-3 hide-sidebar-mini">
<a href="https://getstisla.com/docs" class="btn btn-primary btn-lg btn-block btn-icon-split">
<i class="fas fa-rocket"></i> Documentation
</a>
</div>
</aside>
</div>
<!-- Main Content -->
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Route</h1>
<div class="section-header-breadcrumb">
<div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
<div class="breadcrumb-item"><a href="#">Google Maps</a></div>
<div class="breadcrumb-item">Route</div>
</div>
</div>
<div class="section-body">
<h2 class="section-title">Route</h2>
<p class="section-lead">
Here is a simple example using the map, we use the plugin <code>gmaps.js</code> made by <a href="https://github.com/hpneo" target="_blank">@hpneo</a>. You can learn more about this plugin <a href="https://github.com/hpneo/gmaps" target="_blank">here</a>.
</p>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4>Map</h4>
</div>
<div class="card-body">
<div class="alert alert-info">
In this example you will see the route from point 1 with point 2.
</div>
<div id="map" data-height="400"></div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<footer class="main-footer">
<div class="footer-left">
Copyright © 2018 <div class="bullet"></div> Design By <a href="https://nauval.in/">Muhamad Nauval Azhar</a>
</div>
<div class="footer-right">
2.3.0
</div>
</footer>
</div>
</div>
<!-- General JS Scripts -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.6/jquery.nicescroll.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="../assets/js/stisla.js"></script>
<!-- JS Libraies -->
<script src="http://maps.google.com/maps/api/js?key=AIzaSyB55Np3_WsZwUQ9NS7DP-HnneleZLYZDNw&sensor=true"></script>
<script src="../node_modules/gmaps/gmaps.min.js"></script>
<!-- Template JS File -->
<script src="../assets/js/scripts.js"></script>
<script src="../assets/js/custom.js"></script>
<!-- Page Specific JS File -->
<script src="../assets/js/page/gmaps-route.js"></script>
</body>
</html>