Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
spydmobile CreditAttribution: spydmobile commentedSorry, the current theme I am using is Pixture Reloaded with super/suckerfish dropdowns enabled.
Comment #2
phayes CreditAttribution: phayes commentedThis 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.
Comment #3
zzolo CreditAttribution: zzolo commentedYou 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
Comment #4
phayes CreditAttribution: phayes commentedDid 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.
Comment #5
phayes CreditAttribution: phayes commentedhttp://drupal.org/cvs?commit=259162
spydmobile, can you try now?
Comment #6
zzolo CreditAttribution: zzolo commentedComment #7
spydmobile CreditAttribution: spydmobile commentedThis is still in conflict using the latest dev on sun sept 20th?... Sorry Patrick....
Comment #8
phayes CreditAttribution: phayes commentedOkay, we'll try again.
Comment #9
zzolo CreditAttribution: zzolo commentedThis 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.
Comment #10
phayes CreditAttribution: phayes commentedhttp://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.