-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
95 lines (82 loc) · 2.66 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
<!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="theme-color" content="#000000">
<meta name="description" content="">
<meta name="author" content="">
<title>Routify</title>
<!-- link the css files -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.css">
<link rel="stylesheet" href="css/app.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: white;
padding: 15px;
text-align: center;
}
nav {
display: flex;
justify-content: center;
background-color: #444;
padding: 10px;
}
nav a {
color: white;
text-decoration: none;
padding: 10px 20px;
margin: 0 10px;
}
nav a:hover {
background-color: #555;
}
section {
padding: 20px;
}
iframe {
width: 100%;
height: 100vh; /* 100% of the viewport height */
border: none; /* Remove default border */
}
</style>
</head>
<body>
<header>
<h1>Routify, Routing App using pgRouting</h1>
</header>
<nav>
<a href="index.html">Dashboard</a>
<a href="map.html">Map</a>
<a href="about.html">About</a>
</nav>
<div class="navbar navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<div class="navbar-icon-container">
<a href="#" class="navbar-icon pull-right visible-xs" id="nav-btn">
<i class="fa fa-bars fa-lg white"></i>
</a>
</div>
</div>
</div>
</div>
<div id="container">
<!-- the map will go inside this div below -->
<div id="map"></div>
<!-- link to the js files -->
<script src="https://code.jquery.com/jquery-3.2.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js"></script>
<script src="js/app.js"></script>
</body>
</html>