Berry, Thanks for the reply. I had to move away from my project for a
while. I am still confused about the click/mouseover event calls. I
can draw the polygons fine. But the click event is not responding to
my clicks. Here is what I am doing after the polycluster is created:
cluster.setClick(myFunction);
then for myFunction:
function myFunction(p3,t) {document.getElementById("msg").innerHTML =
p3[0];}
I just want to test the click event functionality by displaying the
polygon name on a div. I guess I am missing something.
Could you please advise?
Thanks,
Abraham
On Feb 9, 11:01 am, bratliff <[email protected]> wrote:
> 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.