The first argument to setPaths should be "poly". You have used "poly[0]".
The first argument to setStyle should be either a string or an array of strings or an object. You have used a number. PolyCluster uses one "click" event listener & one "mousemove" listener for the whole PolyCluster. Your event listener will be called with an array of strings of all poly names clicked. Usually it will contain just one poly name unless you clicked on overlapping polys. -- 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.
