        });

              moveMarker( map, marker );
      }

      function moveMarker( map, marker ) {
          
          //delayed so you can see it move
          setInterval( function(){ 
              x+=0.0001;
              y-=0.0001;
              center = new google.maps.LatLng(x,y);
              marker.setPosition( center );
              map.panTo( center );
              
          }, 500 );

      };

      google.maps.event.addDomListener(window, 'load', initialize);

    </script>
  </he