[OpenLayers-Users] layer.vector is always on top
Manuel.Spam at nurfuerspam.de
Mon Jun 21 15:42:56 EDT 2010
> lyrTest = new OpenLayers.Layer.Vector('Test');
> But it is always displayed on top.. I use that layer to draw lines and
> polygons.. And when the polygons are drawn, I can't click the markers that
> are under them..
Seems like this depends on the order of the "addLayer" calls. You have
to "addLayer" our markers layer as last layer. Add all your polygon
layers before it.
For me this seems to work. The Vector layer is displayed and I'm still
able to open my popups.
More information about the Users