On Oct 22, 5:32 am, Leigh <[email protected]> wrote: > I agree with you. It's working for you. And if I write a small map > application, it works for me too. So I must be doing something to > kill it. Do you have any idea at all what I might be doing so that > when I examine the response from a directionsService.route request, > there is no end_address in the response object? At the moment, I have > no ideas at all. (By the way, if you use Firebug or some such thing > on my code, do you see the same thing?)
I didn't have time to figure out how to get your site to display a route so I could see the error. Do you have a link to a version of your map that exhibits the problem that just displays (or attempts to display) a route? -- Larry > > Leigh > > On Oct 21, 7:41 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Oct 21, 10:05 am, Leigh <[email protected]> wrote: > > > > Hi all, > > > > I have kind of a strange problem. Has anyone else notice this? I > > > have an application (http://www.routeloops.com) that generates routes > > > and cue sheets, and at one point I attempt to write out the final > > > address of the route. I'm looking at > > > directionsDisplay.directions.routes[0].legs[0].end_address > > > > The result keeps coming back as "undefined". > > > > Just to check, at one point in the code I have these two lines: > > > alert("start " + > > > directionsDisplay.directions.routes[0].legs[0].start_address); > > > alert("end " + > > > directionsDisplay.directions.routes[0].legs[0].end_address); > > > > The first one returns an address, and the second one returns > > > "undefined". > > > > I also looked in Firebug. If I drill down on this object I see > > > distance, duration, end_location, start_address, start_location, > > > steps, and via_waypoint. But no end_address. > > > > Did something happen to end_address? Isn't it supposed to be there? > > > It seems to work for > > me:http://www.geocodezip.com/v3_GoogleEx_directions-waypointsD.htmlhttp:... > > > -- Larry > > > > Leigh- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
