-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
36 lines (30 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Detecting Geo Location</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Geolocation Demo</h1>
<form id="geocoding_form" class="form-horizontal">
<div class="form-group">
<div class="col-xs-12 col-md-6 col-md-offset-3">
<button type="button" class="find-me btn btn-info btn-block">Find My Location</button>
</div>
</div>
</form>
<p class="no-browser-support">Sorry, the Geolocation API isn't supported in Your browser.</p>
<p class="coordinates">Latitude: <b class="latitude">42</b> Longitude: <b class="longitude">32</b></p>
<div class="map-overlay">
<div id="map"></div>
</div>
</div>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAWyCb1Xq7gDRWSWRnOAVF3VsBz9TQW-og"></script>
<script type="text/javascript" src="js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="js/gmaps.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>