title: how to get only placename also it's address of lan and lat
body: <p>this is my code.
  i need address of lan and lat.how do it?
  following code is not working.why?
  i included.
   <a href="http://maps.googleapis.com/maps/api/js?libraries=places,geometry&amp;sensor=true" rel="nofollow">http://maps.googleapis.com/maps/api/js?libraries=places,geometry&amp;sensor=true</a>" </p>
  
  <hr>
  
  <pre><code> function  maps(latss,lngss)
  {
  
   var lat=latss;
  
   var lng=lngss;
   var places = new google.maps.places.PlacesService( document.createElement( 'div' ) ),
  searchRequest = {
  
  
       location: new google.maps.LatLng(lat,lng),
        radius: 500
  
  
  };
  
  places.search( searchRequest, function ( results, status ) {
  
  var html = '';
  
  for ( var index = 0; index &lt; results.length; index++ ) {
  
      html +=
            '&lt;li '
          + 'data-location-id="' + results[index].id + '" '
          + 'data-address="' + results[index].vicinity + '" '
          + 'data-latitude="' + results[index].geometry.location.lat() + '" '
          + 'data-longitude="' + results[index].geometry.location.lng() + '" '
          + 'data-name="' + results[index].name + '"&gt;'
          + '&lt;div&gt;' + results[index].name + '&lt;/div&gt;'
          + '&lt;div&gt;' + results[index].vicinity + '&lt;/div&gt;'
          + '&lt;/li&gt;';
  
  };
  
  document.getElementById( 'results' ).innerHTML = html;
  
  } );
  </code></pre>