-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (120 loc) · 4.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Leaflet css file-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14="
crossorigin=""/>
<!--Leaflet javascript file-->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-NDI0K41gVbWqfkkaHj15IzU7PtMoelkzyKp8TOaFQ3s="
crossorigin=""></script>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<title>Kiambu</title>
<style>
footer{
margin:0;
padding:0;
box-sizing: border-box;
}
.container{
max-width: 1170px;
margin: auto;
}
.row{
display:flex;
flex-direction: row;
}
ul{
list-style: none;
}
.footer{
background-color:black;
color:aquamarine;
padding: 30px 0px;
}
.footer-col{
width: 15%;
padding: 0 15%;
}
</style>
</head>
<body>
<h1 class = "first-title">My First Web Map</h1>
<div id="map"></div>
<style>
.first-title:hover{
color: rgb(5, 26, 161);
}
.first-title{
color:rgb(217, 15, 116);
text-align: center;
padding: 0.1em;
background-color:black ;
margin-bottom: 3px;
}
#map{
height: 600px;
}
</style>
<script>
var map = L.map('map').setView([-1.1040702398927842,37.01374989963308], 10);
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© OpenStreetMap'
}).addTo(map);
var marker = L.marker([-1.1040702398927842,37.01374989963308]).addTo(map);
marker.bindPopup("<b>Find Me</b><br>I'm here.").openPopup();
</script>
<footer class="footer">
<div class="cointainer">
<div class="row">
<div class="footer-col">
<h4>Contributers</h4>
<ul>
<li><a href="https://www.openstreetmap.org/#map=15/-1.2681/36.7569">OpenStreetMap</a></li>
<li><a href="https://leafletjs.com/">Leafletjs</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Authors</h4>
<p1>Work done by Valentine Irungu.<br>Reg no: ENC222-0135/2019</p1>
<!-- <a href="mailto:[email protected]" class="btn btn-primary">Send me an Email</a> -->
</div>
<div class="footer-col">
<h4>Marginal Information</h4>
<p1>
This is a functional map extracted from openstreet map by the use of leaflet js.<br>It's my first web mapping page.</p1>
</div>
</div>
</div>
</footer>
<!-- <footer class="footer">
<div class="footer-col">
<h4>Contributers</h4>
<ul>
<li><a href="https://www.openstreetmap.org/#map=15/-1.2681/36.7569">OpenStreetMap</a></li>
<li><a href="https://leafletjs.com/">Leafletjs</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Authors</h4>
<p1>Work done by Valentine Irungu.<br>Reg no, ENC222-0135/2019</p1>
<a href="mailto:[email protected]" class="btn btn-primary">Send me an Email</a>
</div>
<div class="footer-col">
<h4>Marginal Information</h4>
<p1>
This is a functional map extracted from openstreet map by the use of leaflet js. It's my first web mapping page.
</p1>
</div>
</div>
</footer> -->
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
</body>
</html>