I'm trying to create an event listener for when the directions have finished loading.
gdir = new GDirections(map, document.getElementById("directions")); GEvent.addListener(gdir, "load", onGDirectionsLoad); function onGDirectionsLoad(){ alert(gdir.getStatus().code); } the above works for the begin of the load, not when it is finished. You can tell since the directions aren't visible as of when you have to click on the alert... Does anyone have any ideas??? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---