I created a unique div that is absolutely positioned on a Google Map. You can view the image below to see it. My issue is that the info window is being covered by this custom div element, as demonstrated in the picture.
https://i.stack.imgur.com/1TgyQ.jpg
My goal is to have the map pan when I click on the marker and then have the info window open without being obscured.
I am aiming for a similar result to what you see on Google My Map. On Google My Map, when you click on the marker, the info window located near the top layer div (which displays 'Untitled map') does not overlap. The map automatically pans when the info window opens.