index.js
/**
 * If geocode is successfull, add a marker for the point.
 */
If geocode is successfull, add a marker for the point.
If geocode is successfull add a marker for the point .
function addGeocodedMarker(metadata) {
    return function (err, data) {
    	if (data.latlng) {
            addMarker(data.latlng, metadata);
	    } else {
	    	console.log(metadata.Name);
	    }
    };
}
function addGeocodedMarker ( metadata ) { return function ( err , data ) { if ( data . latlng ) { addMarker ( data . latlng , metadata ) ; } else { console . log ( metadata . Name ) ; } } ; }
If geocode is successfull, add a marker for the point.
If geocode is successfull add a marker for the point .
// print out the name of unsuccessful geocodes so we can see which were excluded