title: Google Maps API v3 - Pass more information into GeoCode Call back?
body: <p>I'm working with Google Maps API v3 to geocode addresses.  How do I pass additional information into the geocodeCallBack function?  See my code &amp; comments below to understand what I'm trying to achieve.</p>
  
  <pre><code>var address = new Array();
  address[0] = {name:'Building 1',address:'1 Smith Street'};
  address[1] = {name:'Building 2',address:'2 Smith Street'};
  
  for(var rownum=0; rownum&lt;=address.length; rownum++)
  {
          if(address[rownum])
                  geocoder.geocode( {'address': address[rownum].address}, geocodeCallBack);
  }
  
  function geocodeCallBack(results, status)
  {
          var marker = new google.maps.Marker({
              map: map,
              position: results[0].geometry.location,
              //how can I also add the name of the building to the title attribute?
              title: results[0].formatted_address
          });
  }
  </code></pre>