Change Map z-index propery ?

2 posts / 0 new
Last post
aduheme
Change Map z-index propery ?

Hi all,

I've embedded a map on a Salesforce Web Component, however it seems to have an absolute propery (z-index ?) that makes it appear in front of what should be its container.

When I scoll on the page that the map is embedded on, as the map goes up the screen, it overlaps a header which should normally remain in the front, and the map should be hidden behind it.

I've recorded my screen to show you what I mean.

https://www.dropbox.com/s/pjx8oaxercv7zdn/m545-193-90_2020-04-30%2012.39...

 

I'm using the style file from https://api.mqcdn.com/sdk/mapquest-js/v1.3.2/mapquest.css and I didn't want to mess with it to achieve what I need.

 

I hope some of you guys would have som insight to help me fix this?

 

Thanks for your help!


MQBrianCoakley
Does it help if the header is
Does it help if the header is given a huge z-index like 99999?