Marker, InfoWindow, and shadow do not display correctly in the Google Maps Javascript API?

I copied the Google Maps AutoSplete autocompletion example from the demo here:

Places Map AutoFill Demo

Everything works fine except for the display of infowindow and shadow. I can’t understand why. At first I thought it was because I manually set the maximum width of my map, but it still doesn't display correctly when I turn off all my CSS rules.

Here is an example from my client code:

enter image description here

Here is a screenshot from the demo

enter image description here

Any ideas?

Thanks! ~ Dan

@thoughtpunch

+7
source share
2 answers

If the same problem, debugging revealed a problem with the following CSS fragment:

img { max-width:100% } 

Deletion / restriction of the rule is fixed.

+15
source

Now the rendering is correct! I don’t know what has changed!

0
source

All Articles