On Nov 4, 3:55 pm, Francesco <[EMAIL PROTECTED]> wrote: > Right! I neglet to do this aspect, because It seem to be works fine! > Fortunately you correct me!! > Now I put the second geocoder.getLatLng into the first one.
Same thing applies to dir1.load(...) and dir2.load(...). dir2 could return first, which means that onGDirectionsLoad() is called and dir1 doesn't have anything relevant. You need to set an onload function for dir1 which does the dir2.load, and then the onload function for dir2 should have all the data it needs to set the bounds. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
