Activity Forums Salesforce® Discussions How to disable mouse scroll-wheel scaling with Google Maps API in Salesforce?

  • PRANAV

    Member
    September 16, 2016 at 5:51 AM

    Hi Tanu,

    In version 3 of the Google Maps API you can simply set the scrollwheel option to false within the MapOptions properties:

    scrollwheel
    Type: boolean
    If false, disables scrollwheel zooming on the map. The scrollwheel is enabled by default.

    Hope this helps you.

    Thanks

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Skip to toolbar