var weather = getWeather(myRoute.steps[i].start_location.toUrlValue()); See http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsStep (its start_location not start_point)
And http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLng start_location is a LatLng, so you need to get a string representation. On Mon, Oct 24, 2011 at 5:28 PM, Kruug <[email protected]> wrote: > I am trying to pull the latLang data out of the geocode from the Maps API > result. I am currently unable to do this, and I'm not sure if it's because > I don't know enough JavaScript, or if there's something in the Google API > that I'm missing. Any assistance would be appreciated. > Link: http://ec2-107-22-36-152.compute-1.amazonaws.com/ProjectAlpha/Maps_API_test.html > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/b0QU2dK2A9cJ. > 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. > -- 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.
