Thank you for that info Larry,
Ill give that a try.

2009/1/2 [email protected] <[email protected]>

>
> On Jan 2, 4:24 pm, "[email protected]" <[email protected]> wrote:
> > Hi there.I searched for a similar problem but couldn't find an answer.
> > I have a script that queries a database for multiple addresses and
> > plots the addresses on a google map no bother.
> > I do this inside a while loop.
> > The issue is that for each record I am reading, I plot the address
> > using map.addOverlay(marker); Then I try to add an overlay for each
> > marker, marker.openInfoWindowHtml(formattedOutput);
> >
> > Unfortunately this doesn't work. Say if there are 3 records, it plots
> > the 3 addresses fine, but I only see one marker info and this contains
> > data from the first record pulled from the data base.
> >
>
>
> > If I do an alert(formattedOutputStr); I see (for example) 3 points on
> > the map with 3 alert boxes that all contain the same
> > formattedOutputStr (i.e. info from the first retrieved MySQL record).
> > Unfortunately I can't post a screen shot...
>
> That's OK, a screen shot is almost totally useless.  Reading and
> following the posting guidelines and providing a link is much more
> useful.
>
> I suspect your problem is that there is only one infoWindow, you can't
> have more than one open at a time.  If that is the issue, investigate
> Mike Williams' EBuble extension, you can have as many of those open on
> a map as you like.
>
>  -- 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