Christopher, I managed to sort this out myself. I admit it probably was a sledgehammer to crack a nut!
After I loaded the points as circles on a vector layer with its styleMap & Popups, I then applied the following 2 lines to make sure that the vector layer was always above my other layers and that the popup layer was above the vector layer. map.Z_INDEX_BASE['Popup'] = 20000; userMarkers.setZIndex(map.Z_INDEX_BASE['Popup'] -1); I'm sure its not the most elegant way to do this but it works just fine for my app. Cheers, Brad... -----Original Message----- From: Christopher Schmidt [mailto:[email protected]] Sent: Friday, June 05, 2009 10:19 PM To: Brad Spencer Cc: openlayers users Subject: Re: [OpenLayers-Users] Zindex of vectors On Fri, Jun 05, 2009 at 06:17:14PM +1000, Brad Spencer wrote: > List, > > > > I have moved from markers to vectors for a bunch of reasons. However, when I > load some vector circles from an external csv file with framedCloud popup > bubbles associated, the popups appear on mouseover as planned but are below > all the points. Is there anyway to control the zindex of the Popups? The z-index of popups is always above the markers. If this is not happening, there must be something different/special about your setup that is different from other OpenLayers maps. Is there a demonstration of this problem online? Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
