Hi Guys. I have a small test web app at my local server. It using Google Maps api and also Directions api. Everything is done in javascript.
When I'm sending request with source and destination points, response I'm receiving is in this form http://code.google.com/apis/maps/documentation/directions/#JSON, but there is a newline symbol ("\n") after each element. Obviously standard browser JSON parser can't parse such response. Firefox's Firebug gives the following error: invalid label [Break on this error] "status": "OK",\n Is there any workaround or fix for this problem? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
