[OpenLayers-Users] zindex for markers ?

Olivier THIERRY olivier.thierry at gmail.com
Wed Feb 10 08:06:35 EST 2010


Hi,

I have a layer with markers. I want to highlight some of them on user
click by changing their colour and I could do this.

Now I want these markers to be displayed above the others.
I tried to set zindex this way :

marker.icon.imageDiv.style.zIndex = 900;

But it doesn't work.

How can I do this ?

Thanks in advance,

Olivier



More information about the Users mailing list