Solved this putting a div with an .overlay exactly before each Google map iframe insertion. The div will cover the map, preventing pointer events from getting to it. But if you click on the div, it becomes transparent to pointer events, activating the map again!
$(window).scroll(function() {
var y_scroll_pos = window.pageYOffset;
var scroll_pos_test = 150;
// set to whatever you want it to be
if(y_scroll_pos > scroll_pos_test) {
$("body").css("background-color","#000");
}
else
{
$("body").css("background-color","#FFF");
}
});
$(document).ready(function() {
//Initially hide all the expandable content with class name "content"
$(".content").hide();
//Toggle the component when parent class "heading" is clicked on
$(".heading").click(function() {
var header = $(this);
//Toggle the arrow image based on whether the content <p> is expanded or not
header.children('#arrow').toggleClass('plus_sign minus_sign');
//Expand or collapse the content <p> with slide mode animation
header.next(".content").slideToggle(500);
});
});
<div class="heading">
<div id="arrow" class="arrow plus_sign"></div>
<h1>A Statement</h1>
</div>
<p class="content">The result of this aesthetic way of working is the original Artisan: Primarius'city bike. This bike combines classic shapes with modern design: A visual masterpiece con-taining DNA of authenticity, agility, finesse and crafts-manship. Primarius' Artisan proves that along with the perfection of the industrial revolution, we have also lost something substantial: authenticity.
</p>