Multiple draggable markers not updating
===

I implemented multiple draggable markers into my google map. Now I have the problem that my coordinates don't seem to update except from the last one.

I don't get any mistake but only marker 10 updates the position and address.

    var map = new google.maps.Map(document.getElementById('mapCanvas'), {
    	zoom: 10,
    	center: new google.maps.LatLng(51.012904492831055, 4.3322019042968805),
    	mapTypeId: google.maps.MapTypeId.ROADMAP
    });
    
    for(var i=0;i<10;i++)
    {
    		var latLng = new google.maps.LatLng(51.012904492831055, 4.3322019042968805);
    		var marker = new google.maps.Marker({
    			position: latLng,
    			title: 'Point ' + (i+1),
    			map: map,
    			draggable: true
    		});
    		
    		google.maps.event.addListener(marker, 'dragstart', function() {
    			updateMarkerAddress('Dragging...');
    		});
    
    		google.maps.event.addListener(marker, 'drag', function() {
    			updateMarkerStatus('Dragging...');
    			updateMarkerPosition(marker.getPosition());
    		});
    
    		google.maps.event.addListener(marker, 'dragend', function() {
    			updateMarkerStatus('Drag ended');
    			geocodePosition(marker.getPosition());
    		});
    }
    
    // Update current position info.
    updateMarkerPosition(latLng);
    geocodePosition(latLng);