Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25689

    Hellow.

    How to disable mouse scroll in google maps enfold widget ?

    #127860

    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
    };

    #127861

    Hi, Dude.

    thank you.

    #127862

    Glad Dude could help :)

    Let us know if you have any other questions or issues.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Disable scroll in google maps widget’ is closed to new replies.