When you do this with an info window

you use the key word 'this' as in...
            google.maps.event.addListener(marker, "click", function () {
       
                infowindow.setContent(this.html);
                infowindow.open(map, this)
                infowindow.zIndex(1);
            });
    
so the infowindows content is attached to the pin being created at that 
moment in the loop 

I was looking for something like that for the simple function of a URL link. 


-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to