Hmm...I should have seen the that the getAddress-function was within
the load()!

Things are improving...Now I have the drag functionallity again and I
get a status-code 200 when I have drag the marker.

Two issues now;

1. I get statuscode 200 but get "undefined" for the address...strange.
How is that?
2. I do not get the statuscode 200 when the marker is directly placed
on the map. How should I attack that problem. Somehow I need to call
the function getAddress(). Should I have a new listener and when the
marker is placed the getAddress is called?

/Nimrod

On May 8, 11:23 am, Rossko <[email protected]> wrote:
> > I'm so sorry! I got some really strange error msg on that page so I
> > created a new one...http://www.g8journey.com/mapII.php
>
> Okeydoke.  You need that debugger so you can see the javascript error
> messages and know where to look.
> I get 'getAddress is not defined' when the marker is plotted, and the
> dragend event listener is being set.
>
> You've put your definition of getAddress() inside your load()
> function, so it is in local scope.  When load() finishes running,
> getAddress() ceases to exist.
> You need to put it in global scope like your other functions.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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