Hi all, I'm stuck withe same issue. actually i m using a HTTP client to use direction in the server side for some local constraints. but in hte other hand i want to display the result of the call of the DirectionService in a map . since the number of request is limitted i tried to use the result i got from server side but i got the same problem does anyone found a solution ?
Le lundi 30 août 2010 09:33:10 UTC+2, Stewart a écrit : > > Hi All - > > I'm building a webapp where I want to store a stringified > DirectionsResult into my DB, and then pull it out later on and show it > on a map at a later time. > > I've got a sample application here: > http://bolidian.com/samples/gmapi/test.html > > As you can guess, it's not working. :-/ > > When I first use a DirectionsService to get the DirectionsResult and > pass it to a DirectionsRenderer then, it works fine. I then stringify > the DirectionsResult and put in my DB, then pull it out, destring it > (using json2.js) and call setDirections on a DirectionsRenderer: no > response. The DirectionsRenderer doesn't show anything. > > My javascript console shows this error: > > Error: b[Kb] is not a function > Source File: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/2/main.js > Line: 85 > > I don't understand what this error means or why it's there -- and that > JS code is heavily minified so I can't really understand it. > > Note that I've carefully compared the DirectionsResult going into and > out of the DB, and they're identical char-by-char. > > Any help would be most appreciated! All the code is at that link > above. > > Thanks, > Stewart -- 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/-/DzW6D0ulZz0J. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.