<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Animate Circle
</title>
<style>
.gpscircle img {
position:absolute;
width:139px;
height:139px;
top:100px;
left:280px;
z-index:51;
}
#map_canvas {
z-index:50;
}
</style>
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?key=MASKEDAPIKEYHERE&sensor=true">
</script>
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
mapOptions);
var marker1 = new google.maps.Marker({
position: new google.maps.LatLng(-34.397, 150.644),
map: map,
icon: 'mapMarker.png' // This path is the custom pin to be shown. Remove this line and the proceeding comma to use default pin
});
}
</script>
</head>
<body onload="initialize()">
<span class="gpscircle"></span>
<script src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="jquery.animateImages.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$(".gpscircle").animateImages("images/cir-@.png", 24, 50);
});
</script>
<div id="map_canvas" style="width:500px; height:500px">
</div>
</body>
</html>