See:
http://econym.org.uk/gmap/basic1.htm
Potential pitfall #3: Function closure.
http://econym.org.uk/gmap/closure.htm

--
Marcelo - http://maps.forum.nu
--


On Dec 17, 7:44 am, Neil <[email protected]> wrote:
> Hello everyone,
>
> I just finished a final project for an AJAX course offered by
> O'Reilly, but one aspect of my project has my teacher and me stumped,
> so she suggested posting a question here.
>
> For reference, the map and xml URLs are:
>
> http://nsatterfield.userworld.com/AJAX_Lab10Project3_Dec12.html
>
> http://nsatterfield.userworld.com/ajaxphone_v4.xml
>
> The goal of the project is to enter one of 5 names and then have the
> location for that name show up as well as an info window with the name
> and address.
>
> The other 5 names/locations are also supposed to show up as click-able
> markers. When they are clicked, the info window shows the data for
> that name.
>
> The first part works, but when clicking on the individual markers, the
> only name/data that shows up is the 5th one from the xml file.
>
> Try entering John, Jane, or Bill to see it in action.
>
> If anyone could point me in the right direction since I haven't found
> a similar post, I'd really appreciate it.
>
> Thank you,
>
> Neil

--

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