Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Rohkem teavet

z-index doesn't work with google map API

  • 1 vastus
  • 1 on selline probleem
  • 1 view
  • Viimati vastas serejajar

more options

in this example map element stretched in full screen, we have 2 translucent blocks 'citylist' and 'menu' which overlap each other. Each unit has a hover, which changes background color to red when 'clicked'. The example shows that if the "click" on the intersection of two blocks change the background does not happen, although is crossing works.

If you remove the library from Google Maps, it all works.

Tested on several desktop browsers, and several phones. This problem is present only in the mobile browser version.

in this example map element stretched in full screen, we have 2 translucent blocks 'citylist' and 'menu' which overlap each other. Each unit has a hover, which changes background color to red when 'clicked'. The example shows that if the "click" on the intersection of two blocks change the background does not happen, although is crossing works. If you remove the library from Google Maps, it all works. Tested on several desktop browsers, and several phones. This problem is present only in the mobile browser version.

Muudetud serejajar poolt

All Replies (1)

more options

Muudetud serejajar poolt