Hey Stewart Just wondering if you ever found a resolution to this.
I'm attempting the same thing and would love to be able to store DirectionResults in my DB to have the DirectionsRenderer draw at a later stage. I get the same script error. Thanks. On Aug 30, 5:33 pm, Stewart <[email protected]> wrote: > 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 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.
