[OpenLayers-Users] Making popup display above controls?

Erik Uzureau erik.uzureau at metacarta.com
Mon Jul 16 22:34:01 EDT 2007


In Map.js, you will find:

    Z_INDEX_BASE: { BaseLayer: 100, Overlay: 325, Popup: 750, Control: 1000 },

which is how the z index of the different layers, popups, and controls
are determined.

I *believe* that if you do something like

OpenLayers.Map.Z_INDEX_BASE.Popup = 2000;

that should fix it.

...sure, you're overwriting a defined constant.... but hey.. that's
what JS is all about.

Erik



On 7/16/07, Glen Stampoultzis <gstamp at gmail.com> wrote:
> Is it possible to make popup's display above controls?
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list