You're re-using the same infowindow variable for each marker.  To match the
rest of your code, use 'infowindow0', 'infowindow1', etc.

On Sun, Nov 22, 2009 at 6:45 AM, Joe Fearnley <[email protected]>wrote:

> Not sure if this will work or that optimization-wise is would be bad, but I
> would suggest adding a number to each info window like you do the content
> and marker. In this case you would know it is a new variable.
>
> Joe
>
>
> On Sat, Nov 21, 2009 at 9:46 AM, Ron Pineo <[email protected]> wrote:
>
>> Hi All:
>>
>> I pretty much have my first google map working fine.  Only problem is
>> I want to have an infowindow appear when the marker is clicked on.  I
>> have it doing this but it displays the same content for each
>> infowindow despite me passing it different content for each
>> infowindow.
>>
>> Read everything I could find but no luck so if someone could shed a
>> little light on what I am doing wrong it would be greatly appreciated.
>>
>> Here is the link:
>>
>>
>> http://www.corrosionfree.com/dealerresults.asp?dealercity=Brampton&Submit=Submit
>>
>>
>> Thanks in advance,
>>
>> Ron Pineo
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Maps JavaScript API v3" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-maps-js-api-v3%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-js-api-v3?hl=.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=.
>



-- 
Brian Casey
[email protected]

--

You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=.


Reply via email to