Hi
Look at the consumeEvents property of your layers. Maybe events bubble
down or your own event handling lets the event pass down through the
layer stack.
BR
Carsten
On 08/06/2009 01:15 PM, Paul Chisholm wrote:
> Hi,
>
> I seem to be having some sort of issue with layer ordering. I understand
> that the layers are displayed in the order they appear in the layers
> panel, with layers higher up being displayed over the top of layers
> lower down. I have created a number of subclasses of
> OMGraphicHandlerLayer to display my own data. Each of these layers has a
> right-click context menu. What I observe when I have two layers (A and
> B) on display with A above B is that a right-click over an area of the
> display brings up the context menu for layer B rather than layer A. If
> If I reorder layers so that A is below B then a right-click displays the
> context menu for A. Any idea what I might be doing to cause this
> behaviour?
>
> Thanks,
> Paul
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Aug 06 2009 - 08:25:43 EDT