-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathexample.html
46 lines (46 loc) · 1.12 KB
/
example.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
<!doctype html>
<html>
<head>
<title>jquery.mobilegmap.js Test</title>
<style>
.gmap {
width:100%;
height:100%;
min-height:500px;
}
.gmap_image img {
max-width:100%;
}
</style>
</head>
<body>
<div class="gmap" data-center="Brugse Heirweg 37 Aartrijke Belgium" data-zoom="16">
<address>
<strong>builtbyrobot</strong><br />
Brugse Heirweg 37<br />
8211 Aartrijke
</address>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="//maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&language=en"></script>
<script src="jquery.mobilegmap.js"></script>
<script>
$(document).ready(function(){
// your google map container
$('.gmap').mobileGmap({
markers: [
{
position: 'center',
info: '<h2>builtbyrobot</h2>Brugse Heirweg 37<br />8211 Aartrijke',
showInfo: true
},
{
position: 'Brugse Heirweg 50 Aartrijke Belgium',
info: '<h1>Info Window Test</h1><i>This</i> is another simple <b>info window</b>'
}
]
});
});
</script>
</body>
</html>