On Thu, Feb 12, 2009 at 4:47 PM, Robert Hicks <[email protected]> wrote: > Hi all, I am adding a OpenLayers.Layer.Markers layer to my map but when I > add an additional WMS layer, the WMS ends up on top of the markers. I am > using the final release of MapBuilder but I am programatically adding the > Markers layer via just OpenLayers. I saw setZIndex() which seems like that > might be a good candidate (after lopping over all the layers and getting > each zIndex), but I was wondering if there is a way to move the marker > layer to the top via the API?
Hi, you may find the map.raiseLayer(layer, delta), map.setLayerIndex(layer, idx) and map. getNumLayers() methods useful. -- Eric _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
