On Oct 23, 2009, at 10:04 AM, Mike Borkus wrote:

>
> Hi,
>
> I have created the following scrip 
> http://borkus.kicks-ass.org/beek/display_wagens.php
>
> Bu now i want the address to be displayed in the right bar instead of
> the coordinates.
>
> i have been looking at 
> http://gmaps-samples.googlecode.com/svn/trunk/geocoder/reverse.html
> but i keep getting undefined instead of a proper address.
>
> Hope someone can help me out.

I get no such error (Safari). However, I do see this in your code:

var geocoder = null;

With no apparent attempt to do anything with it. Without a link to the  
*actual* code that is giving you trouble, we can't do much but guess.  
My guess is that you aren't properly dealing with the asynchronous  
nature of the geocoder. Remember, the only place you can reasonably  
expect to have results from the geocoding process is in the  
*callback*, not immediately following the request to the geocoder.

You seem to understand how the asynchronous callbacks work, since you  
use one with GDownloadUrl...use similar behavior with geocoding.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to