On Apr 15, 7:35 am, xhan <[email protected]> wrote:
> Hi all! I suspect a bit of a n00b question is coming up.
>
> I may not explain this too well, which is why I'm probably having
> problems trying to find a solution through google!
>
> my code is here btw:http://apricot13.org/tcp/maps/phpfilter/
>
> I'm bringing in data from a database and placing markers on the map  -
> currently its displaying the name from the database in the infowindow
> - I'd like it to display more than one thing.
>
> I've another field in the database called description - how would I
> display that in the infowindow as well as name?
>
> The code that displays the name is part of a for loop,
> markers[i].infowindow = ""+events[i].getAttribute("name");
>
> I've been trying to work out a way to add the description to this line
> but with no avail. Am I editing the wrong line!?!
>
> Thanks for any help!!

This page:
http://www.geocodezip.com/v2_activeVolcanos.asp

The data in the "database" tab comes from a database (my database of
volcanos), the other tabs come from the active volcano feed.

I chose to display it in another tab because I wanted it to be
available when the infoWindow first opened, it doesn't have to be that
way.

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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