Mike,
You must have tried it when I was in the middle of debugging. I was
testing a bunch of features. I'd have to leave it the way it is right
now for you to try it. I will for a while if you'd like to test it in
its current state, so you can see what's happening.
The problem, as I've surmised, is not variable scope. I've narrowed it
down to the loop
for (var j = 0; j < sites.length; j++) {
InfoWin_html += sites[j].firstChild.data + "\<br\>";
}
This is the problem area. I can't get anything to display that's
generated inside this loop. If I cut the loop out, the HTML displays
just fine.
Thanks for your help...
Jeremy
On May 13, 10:48 am, Mike Williams <[email protected]> wrote:
> Wasn't it JeremyF who wrote:
>
> >Thanks for the response... I've seen some of your other responses and
> >they are very poignant.You can't really notice the problem at first
> >glance with this page. Perhaps I need to explain in further detail.
>
> >The Info Windows should be containing more than just the "title" of the
> >site. If you look at the kml file that I'm parsing, I've added a few
> >extra tags for the left-most icon ONLY (Kearney Villa Rd.) to display.
>
> YOur page never gets as far as displaying the Kearney Villa Rd marker.
> It crashes on this line when processing Campo Road
> InfoWin_html += escape(sites[0].textContent) + "\<br\>";
> because sites[0] is undefined.
>
> --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
-~----------~----~----~----~------~----~------~--~---