-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (28 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>Google Maps v3 jQuery Autocomplete</title>
<link rel="stylesheet" type="text/css" href="./css/normalize.css" />
<link rel="stylesheet" type="text/css" href="./css/style.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places"></script>
<script type="text/javascript" src="./js/jquery.lb-gmap-location.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#firstField').lbGmapLocation();
$('#secondField').lbGmapLocation({ showMap : false });
});
</script>
</head>
<body>
<div id="container" class="clearfix">
<h1>GMaps - jQuery Autocomplete Location</h1>
<h4>Without a map</h4>
<input type="text" size="50" id="secondField" name="second">
<hr>
<h4>With a map</h4>
<input type="text" size="50" id="firstField" name="first" placeholder="Enter a city or country name">
<input type="hidden" name="first-coordinates">
</div>
</body>
</html>