<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<h1>Embedded maps with a touch- and mousewheel-friendly interface</h1>
<p class="lead">It’s nice to have an interactive map, but not so nice for the user experience when the map accidentally gets panned while touch scrolling, or unintentionally gets zoomed while mousewheel scrolling. Here is one solution that uses an absolute-positioned overlay with reduced opacity to show the map underneath while preventing touch and mousewheel scroll events from triggering on the map itself. The z-index of the overlay is toggled by a button to enable (or disable) map interaction.</p>
<div class="map">
<a class="btn map-toggle" href="#0">Toggle</a>
<div class="map-disable"></div>
<div id="map_canvas_01" class="map-canvas"></div>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut in similique iste delectus a nisi voluptatibus cum quod modi praesentium atque officiis obcaecati suscipit incidunt ipsam. Suscipit inventore dolorum ut!</p>
<div class="map">
<a class="btn map-toggle" href="#0">Toggle</a>
<div class="map-disable"></div>
<div id="map_canvas_02" class="map-canvas"></div>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut in similique iste delectus a nisi voluptatibus cum quod modi praesentium atque officiis obcaecati suscipit incidunt ipsam. Suscipit inventore dolorum ut!</p>