Disable mouse scroll on Map

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

// add this to your child themes functions.php file
add_filter( ‘facetwp_map_init_args’, function ( $args ) {
$args[‘scrollwheel’] = false;
return $args;
} );
{{/gist}}