Hello everybody, I have a problem with my little script that uses Google Maps Directions API. I do not know how I can receive the JSON object, so that I can assign its data to a variable in my script.
So far it looks like this: var responseJSON; var url = 'http://maps.google.com/maps/api/directions/json? origin=49.80715,9.925232&destination=50.357027,7.607117&sensor=false'; responseJSON = eval(url); But it doesnt work - it gives me a syntax error. I'm new at avascript, every help is very appreciated. Thanks, EazyE -- 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.
