On Feb 15, 8:31 am, japidoff <[email protected]> wrote:
> http://boxoe.isliev.nl/gm/maps_error1.php
> terrible sorry...

These 2 lines:
GEvent.addListener(directions, "load", onGDirectionsLoad());
GEvent.addListener(directions, "error", handleErrors())

should be:
GEvent.addListener(directions, "load", onGDirectionsLoad);
GEvent.addListener(directions, "error", handleErrors)

When you include the "()", it executes the function and uses the
return value as the callback function, which isn't what you want.

  -- Larry

>
> On 15 feb, 14:27, marcelo <[email protected]> wrote:
>
> > On Feb 15, 10:48 am, japidoff <[email protected]> wrote:
>
> > > i think i've done something wrong, but i cant figure out what!
> > > link:http://boxoe.isliev.nl/map_error1.php
>
> > Well, the first error I noticed is the link to your map, (which gives
> > a 404) ;-)
>
> > --
> > Marcelo -http://maps.forum.nu
> > --
--~--~---------~--~----~------------~-------~--~----~
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