title: Google Places API - Places detail request undefined
body: <p>I'm trying to retrieve place details using the Google Places Library. When you click the place marker I want to be able to see the address, name, website etc.</p>
  
  <p>I'm using the following tutorial:
  <a href="http://code.google.com/apis/maps/documentation/javascript/places.html">http://code.google.com/apis/maps/documentation/javascript/places.html</a></p>
  
  <p>All seems to be going pretty well. In my marker I can display the name and the rating but the address, website and phone number all appear as 'undefined'. Is this because Google doesn't have the information I'm requesting on these places? Or have I done something wrong?</p>
  
  <p>Here's the code I'm using:
          var map;
        var infowindow;</p>
  
  <pre><code>  function initialize() {
      var pyrmont = new google.maps.LatLng(-33.8665433, 151.1956316);
  
      map = new google.maps.Map(document.getElementById('map_canvas'), {
        mapTypeId: google.maps.MapTypeId.ROADMAP,
        center: pyrmont,
        zoom: 15
      });
  
      var request = {
        location: pyrmont,
        radius: 5000,
        types: ['bar']
      };
      infowindow = new google.maps.InfoWindow();
      service = new google.maps.places.PlacesService(map);
      service.search(request, callback);
    }
  
    function callback(results, status) {
      if (status == google.maps.places.PlacesServiceStatus.OK) {
        for (var i = 0; i &lt; results.length; i++) {
          createMarker(results[i]);
        }
      }
    }
  
    function createMarker(place) {
      var placeLoc = place.geometry.location;
      var marker = new google.maps.Marker({
        map: map,
        position: place.geometry.location
      });
  
      google.maps.event.addListener(marker, 'click', function() {
        infowindow.setContent(place.name + "&lt;br /&gt;" + place.formatted_address +"&lt;br /&gt;" + place.website + "&lt;br /&gt;" + place.rating + "&lt;br /&gt;" + place.formatted_phone_number);
        infowindow.open(map, this);
      });
    }
  </code></pre>
  
  <p>Any help or ideas will be greatly appreciated.</p>
  
  <p>Cheers.</p>
  
  <p>JA</p>