Wasn't it Tâm who wrote: >I parsed points from XML and then add polygons to the map. >But my problem that I can't addListener (mousemove) and (mouseout) for >each of polygon,
Use a createPolygon() function to create your polygons and obtain Function Closure on the relevant variables. Then add a "mouseover" and "mouseout" listener to the polygon. Don't listen for "mousemove", that will be slow. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
