On Jan 7, 4:31 pm, sandy037 <[email protected]> wrote: > > PolyCluster uses CANVAS to render polys. CANVAS does not support > > mouse events natively. > > I have seen events for mousedown or mouseup but no click event. Is > there a work around for the click event?
Can you provide a reference for CANVAS, not for SVG ? Keep in mind, a click must be associated with a specific poly. All polys have been combined into the same CANVAS tile. The original shapes are not directly accessable. Point in poly analysis or pixel color analysis is required. Overlapped polys with alpha values less than one will result in blended pixel colors. I am working on something using bounding boxes & pixel colors. If the result is ambiguous, point in poly analysis will be able to resolve it. Overlapped polys ought to be recovered. > > If you keep your file sizes similar, your performance will be > > similar. Unless you have a clean way to separate your polys by school > > district or neighborhood or precinct, I would chop your files to > > correspond to map tiles rather than in concentric circles. > > This option sounds good. Rossko, Can you point to an example using the API with a couple hundred moderately complex polys ? Does it still use SVG ? How well does it perform during dragging / panning / zooming ? Perhaps it has improved recently. -- 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.
