-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.html
43 lines (32 loc) · 1.37 KB
/
demo.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Demo</title>
<style type="text/css">
body{background:#333;}
#map{width:500px; height:500px;}
#map_cont{border:20px solid #fff; display:inline-block; overflow:hidden; border-radius:50%;}
#map_cont2{position:absolute;}
</style>
</head>
<body>
<h1>Demo</h1>
<div id="map_cont2">
<div id="map_cont">
<div id="map"></div>
</div>
</div>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.googleMap.js"></script>
<script type="text/javascript">
$(function(){
//$("#map").googleMap({LatLng:[[39.9506479, -75.1681456], [35.9822825, -75.155797]], zoom:"auto"});
//$("#map").googleMap({LatLng:[[39.9506479, -75.1681456]], zoom:16});
$("#map").googleMap({address:"10 N. Railroad Ave. Georgetown, DE 19947", zoom:16});
//$("#map").googleMap({address:"1932 Liacouras Walk Philadelphia, PA 19122", zoom:18, content:"<table cellpadding='5' cellspacing='5'><tr><td align='top'>Philly Chutney Company<br />1932 Liacouras Walk<br />Philadelphia, PA 19122</td><td align='top'><img src='http://placehold.it/100' height='100' /></td></tr></table>"});
});
</script>
</body>
</html>