gmaps Address Component Types get country name
- by gmapsuser
hi ..
iam trying to get the country name using the Address Component Types available from gmaps V3.
i dont know how i can get it the right way..
http://code.google.com/apis/maps/documentation/javascript/services.html#GeocodingAddressTypes
iam trying to alert the country name liks here :
alert(results[1].address_component[country]);
and…