[OpenLayers-Users] Setting the label z-index
dalsinao at yahoo.es
Thu Mar 31 05:54:47 EDT 2011
I have an OpenLayers.Layer.Vector where I specify the styleMap property to
have different OpenLayers.Style for default and selected features.
I specify the graphicZIndex property to have the selected z-index to be
higher than the default one, and in this way I get the selected feature
graphic displayed on top (I may have several features at the same location).
Now the problem comes because these features have a label but the label
z-index is not changed, so when a feature is selected the associated graphic
is re-drawn on top but not its corresponding label.
I'm using IE7 & IE8 browsers.
I do not see any symbolizer property like "labelZIndex" that may allow this
but I would assume that this should be possible somehow.
Do you know how can I get then the label z-index changed when a feature is
Thanks in advance for any help.
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Setting-the-label-z-index-tp6226511p6226511.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users