Cheers Larry, I had a feeling that was the case.
I look at the tutorials mentioned above.

Thanks for your help.

On Mar 22, 11:09 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 22, 11:36 am, "[email protected]"
>
>
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > I'm using google maps to display various marker points and when I
> > click on the marker point I want to display some information. However,
> > the information I wish to display will be different for each marker
> > point clicked on.
>
> > The code can be found 
> > here:http://finditlocal.co.uk/map-residential-sales3.php
>
> > The above code does indeed create the marker points at the relevant
> > locations however, when I click on the marker point the InfoWindow
> > displays the 3rd element of the message array: 'the' (var message =
> > ["This","is","the","secret","message"];)
>
> > I don't understand why both of the marker points would display the
> > same information or why the 3rd element would be displayed?
>
> > Please could somebody point me in the right direction as it's driving
> > my crazy!!!
>
> 1. Why are you geocoding all the points on the fly?  If you know where
> they are use the geographic coordinates to create the marker...
> see this page from Mike Williams' tutorial:
> Part 17 Geocoding multiple addresseshttp://econym.org.uk/gmap/geomulti.htm
>
> 2. The local search api returns its results asynchronously:
> Part 2 Asynchronous I/Ohttp://econym.org.uk/gmap/async.htm
>
> When the results return the value of i is 2 (the loop finished long
> ago...)
>
>   -- Larry- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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