[OpenLayers-Users] Z-Index of Markers Layer

bradleyspencer brad at cubewerx.com.au
Wed May 28 20:52:31 EDT 2008


Well, I fixed one problem. I was not using the map.setLayerZIndex on the
appropriate markers layer.

However, now my FramedCloud is now lower than the markers and the overlayed
layer. Is there anyway to control the zIndex of the FramedCloud?

Cheers,

Brad Spencer


  -----Original Message-----
  From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]On
Behalf Of bradleyspencer
  Sent: Thursday, 29 May 2008 10:14 AM
  To: openlayers users
  Subject: [OpenLayers-Users] Z-Index of Markers Layer


  I have been able to produce a markers layer with FramedCloud popups quite
nicely. However, when I then overlay another layer such as colour filled
polygons as a WMS overlay it overplots the markers making the popup event
not fire. I have set the polygon overlay's z-index to be lower than the
Markers layer with the map.setLayerZIndex method but this does not seem to
work on the Markers layer.

  Is there another way to always have the Markers Layer higher than any
other layer independent of the order in which they create either markers or
overlays?

  Cheers,

  Brad Spencer



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080529/874d8d97/attachment.html


More information about the Users mailing list