Google Map panto試做

        function Move2NextMarker1(){
          var marker=markers1[tempMarker1];
   	  map.panTo(markers1[tempMarker1].getPosition());
          scontent = '<div id="iw-container">' +
                     '<div class="iw-title">'+markers[tempMarker1].title+'</div>' +
                     '<div class="iw-content">' +markers[tempMarker1].description+                     
                     '</div>' +
                     '<div class="iw-bottom-gradient"></div>' +
                     '</div>';
          infoWindow.setContent(scontent);
          infoWindow.open(map,markers1[tempMarker1]);    
	  setTimeout(Move2NextMarker1,5600);
	  tempMarker1=(tempMarker1+1)%(markers.length);

        }