I’m working on a site with a custom Google map, where I’ve created little pop-ups with their infobox.js functionality. I’m still pretty new to Javascript so I can’t quite tell what’s up with them all popping up but never closing when I click a new one. That seems to be pretty standard for Google Maps, and I believe also with MapBuildr.com, where I created some of the initial code. For some reason they all have to be manually closed on mine. Can anyone see what I’m doing wrong?
Pen with relevant code: http://codepen.io/ruby76/pen/mOXVyX
Live test site: http://henryseattle.com/new
(Forgive some of the formatting goobers on there – it’s a work in progress right now, but the map is there in case it’s hard to see with the Codepen link.)
Thanks for any help!
Christiana