[OpenLayers-Users] zindex issue, pinpoint not clickable

Takako Tucker Takako.Tucker at bbc.co.uk
Mon Feb 13 03:33:58 EST 2012


Hello all,  (* I thought I sent this on Friday, but it didn't seem to
have been listed... so am re-sending. )

 

I'm having a problem with z-index and wonder you could help.

 

I've successfully set z-index using:

 

                 

Layer = new OpenLayers.Layer.Vector("top layer", {

                style: {

rendererOptions: { zIndexing: true },

                externalGraphic: "/desktop/img/map/location.gif",

                graphicWidth: 42,

                graphicHeight: 42

}


}),

Layer.setZIndex( 745 );

 

So this layer comes on top of other three layers I have. 

On the layer underneath this layer, I have different type of pinpoints. 

The problem is when the top layer gets displayed; I can't click on any
of those pinpoints on the layer underneath.

It seems to be that the top layer takes over and covers the whole thing
and the layer underneath can't be clicked. 

 

Have you had any experience with an issue like this? If so, could you
please advice? 

 

Thanks as always.

 

Takako 


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120213/2296ea04/attachment.html


More information about the Users mailing list