If some kind soul could click http://eggro.com/api/client4.php
I've got mouseover mouseout and click working on my polygons now thank you Larry. What you can see is that the display content of the single mouseover InfoWindow appears to be set by cwindow.setContent multiple times. The displayed number on all polygons is the index of the loop which set the color on each polygon and added the mouseover listener. For all polygons it carries the identical final loop value (43), not the incrementing count (0..42). I think perhaps I ought to have one InfoWindow for each polygon, and then they can each have a cwindow.setContent of their own. Maybe I've been up too long but I haven't a clue how to code that. Does another relevant example spring to mind? http://eggro.com/api/include/test4.js carries the relevant javascript, search on "mouseover" to find the half dozen lines I'm staring at. As an aside, I'd have posted the code first time but I tend to develop on localhost, I've now put it onto a public URL to display the problem. Is it not commonplace, developing on just one machine? John. -- 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=en.
