-1

I've crated one autosuggest textbox using google auto suggest. I am having city name entered by user.

I want to add its state name at the end of city automatically. i am using google maps auto suggest and google maps javascript API v3.

http://geo-autocomplete.googlecode.com/svn/trunk/demo/ui.demo.html

Please suggest ASAP.

Parag Gajjar
  • 700
  • 1
  • 11
  • 25
  • possible duplicate [Google Maps: how to get country, state/province/region, city given a lat/long value?](http://stackoverflow.com/questions/4013606/google-maps-how-to-get-country-state-province-region-city-given-a-lat-long-va) –  Dec 07 '12 at 13:57
  • I've crated one autosuggest textbox using google auto suggest. http://geo-autocomplete.googlecode.com/svn/trunk/demo/ui.demo.html Now if user enters only City name and not State, I automatically want to add State name. – Parag Gajjar Dec 08 '12 at 07:37

1 Answers1

0

That would be something like this:

placemark.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName