Berry, I do need lines wider than 256 at times so I'll keep setPixel at 10. The auto-adjusting of the weights based on zoom level is nice and thanks for fixing the clean-up of the polys. It's allowed me to simplify some of the code in my app quite a bit and the whole thing works great.
Thanks again, Tim On Oct 10, 2:40 pm, bratliff <[email protected]> wrote: > Try: > > http://www.polylib.us/polycluster/short > > You will notice the weights are automatically adjusted for zoom level, > something you cannot do with the API. > > It is not completely corrected but it ought to work for weights > between 1 and 256. If 256 is not enough, you can expand the tile size > with "setPixel()". The argument is the log base 2 of the desired tile > size. > > Also, if you clear a poly, the residual junk will be automatically > cleared from the screen. I have to rework some other sections of code > which assume the weight will never exceed the tile size. I will let > you know when I am done. -- 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.
