Instead of using response.Placemark[0] (lines 25 and 33 in your code)
you need to loop through the results (the response.Placemark[] tab)
and let your user choose.
Use the tutorial (on econym or komfrisk) to see how to display the
different locations (lines 58 to 68 in http://komfrisk.dk/test/test1.html).

Mathieu

On Jun 17, 2:04 pm, Meek <[email protected]> wrote:
> Hi,
>
> Thanks, but that's the script I'm already using 
> here:http://komfrisk.dk/test/test1.html
> - I would like it to work with this script as 
> well:http://briancray.com/wp-content/uploads/2009/04/distance.html
>
> Any ideas how to do that?
>
> Thanks.
>
> On 17 Jun., 14:00, Mathieu Alengrin <[email protected]>
> wrote:
>
>
>
> > Hi,
> > Try this:http://econym.org.uk/gmap/didyoumean.htm
>
> > Mathieu
>
> > On Jun 17, 1:50 pm, Meek <[email protected]> wrote:
>
> > > Hi.
>
> > > I'm using this script to calculate the distabce between two 
> > > locations.http://briancray.com/wp-content/uploads/2009/04/distance.htmlItseems
> > > to work fine. However, I would like to add a "Did you mean" function
> > > to the script - just like on this map:http://komfrisk.dk/test/test1.html
> > > (Hit "Go!" and see what I mean.)
>
> > > Can anyone help me implement this functionality to the first script?
>
> > > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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