Thank you for answering, Andrew. But it is strange, because what i'm getting from your url definitely has newline symbols in it. Here is what i got in chrome : http://goo.gl/IZez And here is request that my app is actually sending : http://goo.gl/AlwS And again here is what i'm getting in response: http://goo.gl/gzKE
As you can see in any response i'm getting newline symbols. I will try to put my app online soon. On Oct 7, 4:39 pm, Andrew Leach <[email protected]> wrote: > On Oct 7, 5:03 am, nloeSupport <[email protected]> wrote: > > > > > When I'm sending request with source and destination points, response > > I'm receiving is in this > > formhttp://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. > > I can't reproduce that. The example > urlhttp://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&...Lexington,MA&sensor=false > orhttp://tinyurl.com/34dds3hdoesn't include \n for me; it's all one > long line. > > I think you will need to put your test app online so we can all see > what you're getting and how you're doing it. -- 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.
