Thanks for all replier!

The way which you guide is very useful for me to figured out the
issue.
I really appreciate your help.
Thanks again for your patient and detailed description.

LiLi

On Apr 24, 7:54 pm, Mike Williams <[email protected]> wrote:
> Once GDirections has failed with error 602, you can try using
> GClientGeocoder on the vague address and doing the following if you get
> multiple possibilities (or just choose the first one and let the user
> sort it out if it's the wrong one):
>
>  http://econym.org.uk/gmap/didyoumean.htm
>
> The GDirections geocoder appears to be different from the
> GClientGeocoder, and in some cases you might get just one possibility
> returned, in which case you can use that directly without asking "Did
> you mean...?". For example, in the case of Kapiolani Park,
> GClientGeocoder only finds one match "Kapiolani Park, Honolulu, HI
> 96815, USA"
>
> Once you've fond the match, don't use the returned address field for the
> GDirections call because that may still fail. E.g. "Kapiolani Park,
> Honolulu, HI 96815, USA" still fails in GDirections. Instead use the
> vague address + @ + latitude,longitude, like this
>
>   Kapiolani [email protected],-157.818706
>
> The web interface may well think that is an email address and munge it,
> if so consider it to look like this with [at-sign] replaced by @
>
>   Kapiolani Park[at-sign]21.266871,-157.818706
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to