-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtest.html
executable file
·37 lines (37 loc) · 1.13 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>WhatsNearby, a useful plugin</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<script src="example/js/es5-shim.min.js" type="text/javascript"></script>
<script src="example/js/es5-sham.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="http://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
<script src="source/WhatsNearby.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#wn2").whatsnearby({
zoom:15,
width:"100%",
address: "Montreal",
placesRadius: 500,
placesTypes: [ 'restaurant', 'cafe', 'gym' ]
});
});
</script>
</head>
<body>
<div class="container">
<h1>WhatsNearby ?</h1>
<div class="well">
<div id="wn2">
<div class="infowindow-markup">
<strong>{{name}}</strong><br/>
{{vicinity}}
</div>
</div>
</div>
</div>
</body>
</html>