FacetWP map – enable scrollwheel

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[‘init’][‘scrollwheel’] = true;
return $args;
} );

{{/gist}}