-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfind-your-location.html
101 lines (80 loc) · 5.56 KB
/
find-your-location.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
<!DOCTYPE html>
<html>
<head>
<title>Find Your Location</title>
<link rel="icon" href="img/globe-8-bit.jpg" type="image/jpg">
<!-- Pixel globe. Credit: Free Press/ Free Press Action Fund, https://www.flickr.com/photos/freepress/8783034337 -->
<!-- https://creativecommons.org/licenses/by-nc-sa/2.0/ -->
<meta name="description" content="Find your location with this Wrld.js map.">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="padding: 0 10px;">
<nav class="navbar">
<p class="navbar-brand" style="font-family: 'Libre Barcode 39 Text', cursive; font-size: 50px; margin-top: 10px;"><a href="./" class="barcode">CodeWritingCow</a></p>
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="social"><a href="./"><i class="fa fa-home fa-2x"></i> Home</a></li>
<li class="social"><a href="find-your-location.html"><i class="fa fa-map-marker fa-2x"></i> Find Your Location</a></li>
</ul>
</div>
</nav>
<div class="jumbotron" style="margin-bottom: 60px; padding: 20px; border-top: 20px black solid; border-bottom: 20px black solid;">
<div class="row featurette">
<div class="col-md-7">
<h2 class="featurette-heading"><i class="fa fa-map-marker fa-2x" style="float: left; margin-right: 20px;"></i>Lorem ipsum dolor sit amet. <span class="text-muted">Consectetur adipisicing.</span></h2>
<p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
<p style="display: inline-block;"><a class="btn btn-default" role="button" onclick="findLocation();">Find your location</a></p>
<p style="display: inline-block;"><a class="btn btn-default reset-btn" role="button" onclick="resetLocation();">Reset map</a></p>
</div>
<div class="col-md-5">
<div id="userMap" class="featurette-image img-responsive center-block" style="height: 50vh; width: 100%; float: left; margin-right: 20px;"></div>
</div>
</div>
</div>
<!-- Boilerplate code from https://getbootstrap.com/docs/3.3/examples/carousel/ -->
<div class="container marketing">
<!-- Three columns of text. -->
<div class="row">
<div class="col-lg-4">
<i class="fa fa-building-o fa-5x"></i>
<h2>Indoor Maps</h2>
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.</p>
</div><!-- /.col-lg-4 -->
<div class="col-lg-4">
<i class="fa fa-map-marker fa-5x"></i>
<h2>Find Your Location</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
</div><!-- /.col-lg-4 -->
<div class="col-lg-4">
<i class="fa fa-globe fa-5x"></i>
<h2>WRLD.JS 3D Map</h2>
<p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p>
<p><a class="btn btn-default" href="./" role="button">View details »</a></p>
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
<!-- START THE FEATURETTES -->
<hr class="featurette-divider">
<footer style="padding-bottom: 50px;">
<div class="container">
<div class="row">
<p style="font-family: 'Libre Barcode 39 Text', cursive; font-size: 2.25em; margin-top: 10px; display: inline; border: 1px solid black; padding: 10px; text-align: center;"><a href="./" class="barcode">CodeWritingCow 2017</a></p>
<ul class="nav navbar-nav navbar-right" style="display: inline;">
<li class="social"><a href="./"><i class="fa fa-home fa-2x"></i></a></li>
<li class="social"><a href="https://github.com/CodeWritingCow/Leaflet-js-first-3D-map" target="_blank"><i class="fa fa-github fa-2x"></i></a></li>
<li class="social"><a href="https://www.linkedin.com/in/gary-pang-68193841/" target="_blank"><i class="fa fa-linkedin fa-2x"></i></a></li>
<li class="social"><a href="https://medium.com/@gary.pang" target="_blank"><i class="fa fa-medium fa-2x"></i></a></li>
<li class="social"><a href="http://www.codewritingcow.com/contact/" target="_blank"><i class="fa fa-envelope fa-2x"></i></a></li>
</div>
</ul>
</div>
</footer>
<script src="js/dist/wrld.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.1/leaflet.css" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.min.css">
<link href="https://fonts.googleapis.com/css?family=Libre+Barcode+39+Text|Open+Sans" rel="stylesheet">
<script type="text/javascript" src="js/dist/userMap.min.js"></script>
<!-- <script type="text/javascript" src="js/userMap.js"></script> --> <!-- USE THIS WHEN WORKING IN LOCAL ENVIRONMENT -->
</body>
</html>