When a view is rendered and the map is placed on the screen it is placed in a z-order position ABOVE the menus found in my theme. I will test other *fish menus but I suspect we will have to allow configuration of the z order of the map to avoid this.

Comments

spydmobile’s picture

Sorry, the current theme I am using is Pixture Reloaded with super/suckerfish dropdowns enabled.

phayes’s picture

Status: Active » Closed (won't fix)

This is an issue with Openlayers.js itself and how it renders maps. By default everything is rendered at z=1000 I think.

I don't think they will be changing this.

zzolo’s picture

You can just make your menu a higher z-index. Or I believe you should be able to use your own CSS to change the z-index of the map, though I am not sure. This is not something really worth supporting an interface for since it is an edge case and can be remedied with CSS which should not be a barrier for these cases

phayes’s picture

Assigned: Unassigned » phayes
Status: Closed (won't fix) » Active

Did a bit of research into z-indexes, and I think this is easily solved by making the map wrapper div z-index=0. Then even if the map has a z-index of 1000, it doesn't affect anything outside the map.

phayes’s picture

Status: Active » Needs review

http://drupal.org/cvs?commit=259162

spydmobile, can you try now?

zzolo’s picture

Status: Needs review » Fixed
spydmobile’s picture

This is still in conflict using the latest dev on sun sept 20th?... Sorry Patrick....

phayes’s picture

Status: Fixed » Active

Okay, we'll try again.

zzolo’s picture

This might actually have something to do with my changes to the openlayers_theme with a new wrapper div that ensured that the control buttons were in the map.

phayes’s picture

Status: Active » Fixed

http://drupal.org/cvs?commit=270074
http://drupal.org/cvs?commit=270072

Fixed. Apparently position needs to be fixed or relative for z-index to not be considered global. Set to relative.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.