<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Vector layers seem to block mouseover/mouseout events from lower Marker layers</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Here's what I'm seeing … is this correct behavior or am I doing something wrong?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I've got a Markers layer, and each marker in the layer has an associated popup. On a mouseover/mouseout event on the marker, it runs the corresponding popup's show()/hide() method.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I've noticed that if I also have a Vector layer and the Vector layer has a higher z-index than the Markers layer, then the mouseover/mouseout events are never triggered for the Markers layer. But if I call map.raiseLayer() on the Markers layer to move it higher than the Vector layer, then the events work normally.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">The effect seems to work with multiple Markers layers as you'd expect - the ones above the highest Vector layer all have their mouseover/mouseout events triggered. But the ones beneath the highest Vector layer never see mouseover/mouseout events.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I'm using Firefox 2.0.0.4. I haven't tested this behavior on IE (yet).</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Is this the way it's supposed to work? I'm hoping that there's some Layer option that blocks propogation of events to lower layers that I've forgotten to disable. But I've thumbed through the code and the apidocs for Layer and Vector, but I didn't see anything immediately obvious.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Any ideas?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">-eP</FONT>
</P>
</BODY>
</HTML>