[OpenLayers-Users] Z-Index of Markers Layer

Eric Lemoine eric.c2c at gmail.com
Thu May 29 07:19:47 EDT 2008


On Thu, May 29, 2008 at 12:02 PM, bradleyspencer <brad at cubewerx.com.au> wrote:
> Eric,
>
> Thanks for that. I tried your suggestion.
>
> So this will make the markerLayer a Z-Index one less than the Popup. Right?

Correct.

>
> However, what I am doing is preassigning groups of layers to z-index levels so they layer predictably and not just as they get dynamically loaded. On top of all this I want to display two markers layers - I have been able to make sure that the two markers layers are above these layers by assigning numbers appropriately.
>
> When I use this suggestion it pushes the markers below the other layers which I do not want to do. Is there any way of making the Popup to be +1 above the markers layers?

Have you tried playing with popup.div.style.zIndex? This is getting hackish ;-)

--
Eric



More information about the Users mailing list