A formal entry will help us keep track of it. Thanks!
Luke On Sat, Mar 13, 2010 at 9:21 AM, Marcelo <[email protected]> wrote: > On Mar 12, 7:06 pm, Marcelo <[email protected]> wrote: > > This is only a partial response. > > There are a number of potential problems in your code, but the main > > one seems to be the address format. > > > > I'll dig some more into this when I find the time. > > OK, I think you found a b.. > > I have used another mashup that is pretty much the same as Google's > example, and using the addresses in the format you entered them it > fails, but the returned status is 'OK'. > > This example starts with two addresses as written in your page: > http://maps.forum.nu/temp/gm_directions_fails_V3.html > > Click 'GO', look at the error console and you get: > ---------------------------------------- > Error: a is undefined > Source File: > http://maps.gstatic.com/intl/en_us/mapfiles/api-3/0/32/main.js > Line: 18 > ---------------------------------------- > > Now, remove the spaces from the postal codes, so that > E1 1JY, LONDON > becomes > E11JY, LONDON > and it works. > > So, as I mentioned in my previous post, the problem in your mashup was > in the format of the addresses, but the issue in the API is that > although the directions request fails, the returned status is 'OK'. > > Looking at it with the debugger, the two addresses get geocoded, but > only to an 'Approximate' area based on the first 3 characters of the > postal code, and that may be the reason why the routing engine cannot > obtain directions. > However, the returned status should be an error, and not 'OK'. > > Daniel, Pamela, Ben, do you need a formal entry in the issue tracker, > or can you take it from here? > > -- > Marcelo - http://maps.forum.nu > -- > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > > > > > > > > > > > Thanks & Regards, > > > Sarath > > > > > On Mar 12, 5:21 pm, Marcelo <[email protected]> wrote: > > > > > > On Mar 12, 11:50 am, Sarath K S <[email protected]> wrote: > > > > > > > Can anyone tell me what is this problem? > > > > > > How? > > > > > > My cat is sick. Can you tell me what's the problem? > > > > Really, for all we know, B could be a potato. > > > > > > Please read and follow the group's posting guidelines: > http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th.... > .. > > > > > > -- > > > > Marcelo -http://maps.forum.nu > > > > -- > > > > > > > Best Regards, > > > > > Sarath > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
