[OpenLayers-Users] Place popups over controls

Erik Uzureau euzuro at gmail.com
Sat Jul 26 13:40:04 EDT 2008


did you try changing

map.Z_INDEX_BASE.Popup = map.Z_INDEX_BASE.Control + 1;

?? seems like that should work

Erik

On 7/14/08, Daniel Kastl <orkney at gmx.de> wrote:

> Hi List,
>
> I'm looking for a way to solve the following problem:
> When adding a feature to the map I want to open an OpenLayers popup to
> add some attributes. This popup should cover most of the map div and add
> some transparent layer over the map.
>
> This works fine so far except that I cannot get the popup be on a higher
> z-index than the control buttons, pan-zoom bar, etc.. It's still
> possible to pan and zoom with the PanZoomBar, but I would like to
> disable this while showing the popup
>
> Is there a way to place the popup layer (temporary) on top of the
> control layer? (I tried to change Z_INDEX_BASE but didn't have any effect)
> Or is there an elegant way to temporary disable control events while
> showing the popup?
> (I'm using OL 2.6)
>
> Thanks for your help,
>
> Daniel
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080726/a40116e8/attachment.html


More information about the Users mailing list