title: How do i get address by given lat/long
body: <p>How do i get address by given lat/long  not location.I have tried with 
  "Reverse Geocoding" but it showing only location name.</p>
  
  <p>My code is</p>
  
  <pre><code>&lt;script src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=false"&gt;&lt;/script&gt;
  &lt;script&gt;
  var geocoder;
  var map;
  var marker;
  var marker2;
  
  function initialize() {
      geocoder = new google.maps.Geocoder();
      var
      latlng = new google.maps.LatLng(-34.397, 150.644);
      var mapOptions = {
          zoom: 5,
          center: latlng
      }
      map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
      google.maps.event.addListener(map, 'click', function (event) {
          //alert(event.latLng);          
          geocoder.geocode({
              'latLng': event.latLng
          }, function (results, status) {
              if (status ==
                  google.maps.GeocoderStatus.OK) {
                  if (results[1]) {
                      alert(results[1].formatted_address);
                  } else {
                      alert('No results found');
                  }
              } else {
                  alert('Geocoder failed due to: ' + status);
              }
          });
      }); &lt;!--click event--&gt; }
      google.maps.event.addDomListener(window, 'load', initialize);
  &lt;/script&gt;
  &lt;div id="map-canvas"&gt;&lt;/div&gt;
  </code></pre>