title: Address component type in google maps geocoding
body: <p>this is a part of my geocoding code. I want it to show only country of the selected place, but it shows all address components, My problem is I cant specify the address components object. There is a way of doing it that is written on documentation but I didnt understand, can you do it for me.</p>
  
  <pre><code> if (geocoder) {
                  geocoder.geocode({'latLng': latlng}, function(results, status) {
                      if (status == google.maps.GeocoderStatus.OK) {
                          var str = "";
                          $.each(results, function(){
                              str += "address components: &lt;ul&gt;"
                              $.each(this.address_components, function(){
                                  str +="&lt;li&gt;"+this.types.join(", ")+": "+this.long_name+"&lt;/li&gt;";
                              });
                              str +="&lt;/ul&gt;";
                          });
                          $("#geocode_info").html(str);
  </code></pre>