I’m trying this one more time from the top with your recommended code additions, and I’m wondering if there’s something preventing that default link behavior line from working properly. Clicking the link just takes me up to the top of the page (and when I scroll back down, it still hasn’t activated the “click” on the map).
I put the JS code for the link click listener just above the section with the links, rather than with the rest of the map code, because inserting it there makes the map disappear. Is it OK to have them separate like this, or could that be causing problems?
Updated pen: http://codepen.io/ruby76/pen/rrzzaN
Thanks for any help,