-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathanimationmarker.html
More file actions
29 lines (27 loc) · 1.07 KB
/
animationmarker.html
File metadata and controls
29 lines (27 loc) · 1.07 KB
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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Google Map Tutorial</title>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBt5HkIREQeu0Dzu0R1vJNDGNOgH9qKXgQ"></script>
<script>
function initialize() {
var propertiPeta={
center:new google.maps.LatLng(-8.5830695,116.3202515),
zoom:9,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var peta = new google.maps.Map(document.getElementById("googleMap"),propertiPeta);
var marker=new google.maps.Marker({
position: new google.maps.LatLng(-8.5830695,116.3202515),
map: peta,
animation: google.maps.Animation.BOUNCE
});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>
<body>
<div id="googleMap" style="width:100%;height:380px;"></div>
</body>
</html>