Google maps api : infowindow background transparent -


my website use google maps , display popup (infowindow) when clicking on markers. don't know why , since when, popup background transparent.

can me understand?

update after answer of dr.molle

wrong code :

var infowindow = new google.maps.infowindow({maxwidth: '500px'}), mapsmarker, i; 

good code :

var infowindow = new google.maps.infowindow({maxwidth: '500'}), mapsmarker, i; 

the source of issue seems maxwidth - setting of infowindow. api expects number, provide string 500px. set maxwidth 500


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -