[OpenLayers-Dev] Possible bug: Fixed vector layers and z-indexing

Frost89 kristian_frost7 at hotmail.com
Thu Mar 31 07:51:30 EDT 2011


Hi all

I'm trying to add a WMS and a vector layer to my application. The
vectorlayer has the isFixed property set to true, so that it won't move when
the map is dragged.

This causes the vector layer to be added to the viewport div instead of the
layercontainer div. Now, the z-index of the vector layer is still assigned
as if it was inside the layercontainer div, which causes it to be rendered
below the layercontainer, thus placing the WMS layer on top of it.

Would it be better to add fixed layers to the layercontainer, and then make
it fixed. Or is it just impossible to have a fixed layer between non-fixed
layers?

-----
Best regards, 
Kristian Frost 
Webintegrator 
Orbicon Informatik 
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Possible-bug-Fixed-vector-layers-and-z-indexing-tp6226816p6226816.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list