Its not the space which is giving problem. Some postal codes are not
geocoded properly. You can test this in the following link.

http://gdemo.tpfcloud.com/direction.htm

Steps to reproduce

1. Click on build
2. Select "E16AO,LONDON,UK", "E16PL,LONDON,UK" & "E16JN,LONDON,UK"
3. Click on show

You will get the error. And some of the zip codes in that html gives
the same error.

Best Regards,
Sarath


On Mar 13, 11:08 pm, Luke Mahé <[email protected]> wrote:
> Thanks, I can just mark the second as a duplicate of the first.
>
> - Luke
>
>
>
> On Sat, Mar 13, 2010 at 10:03 AM, Marcelo <[email protected]> wrote:
> > On Mar 13, 6:31 pm, Luke Mahé <[email protected]> wrote:
> > > A formal entry will help us keep track of it.
>
> > Luke,
>
> > Done:
> >http://code.google.com/p/gmaps-api-issues/issues/detail?id=2235
>
> > Unfortunately, I seem to have posted twice:
> >http://code.google.com/p/gmaps-api-issues/issues/detail?id=2236
> > Sorry about that! ;-(
>
> > --
> > Marcelo -http://maps.forum.nu
> > --
>
> > > 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%2B
> > > >  [email protected]><google-maps-js-api-v3%2B
> > [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]<google-maps-js-api-v3%2B 
> > [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.

Reply via email to