[OpenLayers-Users] Vector Layer w/ Canvas Renderer Not Respecting Other Layers

Mike Ryan mr at mry4n.net
Tue Jun 26 10:42:52 PDT 2012


When I add a Vector layer using a Canvas renderer two bad things happen:

1. Other Vector layers with points that have click events attached and 
are within the area covered by the Canvas layer are no longer clickable. 
The Canvas layers is blocking the click event.

If a click event was added to the Canvas layer, the Canvas click event 
is fired rather than the point's in the other layer.

Points in the other layer that are not within the Canvas layer area work 
properly.

2. Even when I switch off the Canvas layer with the layerswitcher, the 
Canvas layer still behaves the same way -- even though the canvas layer 
can no longer be seen.

Who's got an idea of what might be going on here?

-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120626/f2dd5954/attachment.html>


More information about the Users mailing list