ابحث في الدعم

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.

Learn More

z-index doesn't work with google map API

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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.

Modified by serejajar

All Replies (1)

more options

Modified by serejajar