> How can I share my link if I'm working on a localhost?

You can't, obviously, but that makes it difficult for you to get help.
Consider putting your example on some free hosting

> My main problem is extracting the City & Country from
> a search result. Unfortunately, I'm not familiar working
> with JSON and multi-dimensional arrays.

This isn't a maps question as such, so consider looking at any
javascript + JSON tutorials, example
http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)

As Jeff says, a tip is that not all responses have the same structure,
it is flexible by design (not all places in the world use the same
address structure after all)
You need to test if an item is present before trying to use it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to