Hi bratliff, what you have done is great. I finished my function with
your PolyCluster class. Thank you again.

In http://www.polylib.us/polycluster/coast:

        l=[];

        z={fill:1,stroke:1,fillAlpha:0.4,strokeAlpha:0.6,weight:
[1,1,1,1,1,1,2,4,8,16,32,64]};

        for (q in poly)
        {
                l[q]={fillColor:color[i],strokeColor:color[i]};

                cluster.setStyle(l,z);

                i=(i+1)%8;
        }
you can see cluster.setStyle(l,z) line. l is not a poly line object or
string but a style object, however, it still work. If I change l to q
it works as well. It won't bother me since both ways work, but I think
it's better to let you know.

Also kindly remind people that polycluster.js should be loaded after
google maps js.

On Jan 7, 12:50 am, bratliff <[email protected]> wrote:
> I have updated the demo to display eight individual island polys
> rather than one poly for the entire state.  I believe is was confusing
> giving the impression every poly required its own PolyCluster.

-- 
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.

Reply via email to