Hellow.
How to disable mouse scroll in google maps enfold widget ?
Hi,
open up wp-contentthemesenfoldframeworkphpclass-framework-widgets.php and replace
var myOptions = {
zoom:".$zoom.",
mapTypeControl:true,
mapTypeId:google.maps.MapTypeId.".$type.",
mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
navigationControl:true,
navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
center:latlng
};
with
var myOptions = {
scrollwheel: false,
zoom:".$zoom.",
mapTypeControl:true,
mapTypeId:google.maps.MapTypeId.".$type.",
mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
navigationControl:true,
navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
center:latlng
};
Hi, Dude.
thank you.
Glad Dude could help :)
Let us know if you have any other questions or issues.