rexbradford

Possible to make a layer completely ignore the mouse, i.e. passthru?

Discussion created by rexbradford on Feb 11, 2013
Latest reply on Mar 2, 2014 by javier.abadiaesri-es-esridist
I have a GraphicsLayer which is used to display a graphic pointer overlay, and I would like it to be completely invisible to the mouse.

layer.disableMouseEvents() almost owrks - mouse clicks pass through to underlying layers.

But the underlying layers do not get onMouseOver() events, which is what I use to set the cursor, display tooltips, etc.

Is there a way to make the Graphics layer completely transparent to mouse movement as well as clicks?  Or should it do that already and I am missing something or have a bug?

Thank you,

Rex Bradford
Direct Relief International

Outcomes