• Resolved aleangelico01

    (@aleangelico01)


    Hi
    Is it possible to disable the mouse wheel? if you have a map on top of your page and you want to scroll down, the map’s zoom activates and you cannot scroll down.

    This is the API option

    disableScrollWheelZoom: true

    I changed “api-bing-map-2018.php” :

    function loadMapScenario() { 
           ...
                    disableScrollWheelZoom: true,
                    zoom: <?php echo $map_zoom ?>,					                    
                });
    
                ...

    This works, but it would be overwritten in any update. It would be great to have an option in the plugin.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dan009

    (@dan009)

    Hi,

    I would have a look, and I’ll add it in the next version.

    Thank you

    Plugin Author dan009

    (@dan009)

    I have updated the plugin with the option of disabling/enabling the scroll on map.

    I have the updated version and although the option to disable scroll on map is checked, it doesn’t work on mobile. The map still scrolls. Can you fix this?
    Thank you.

    Plugin Author dan009

    (@dan009)

    Hi hugocoutinho,

    This topic is closed, could you please open a new one?

    From what I understand you want no zooming or scrolling on mobile devices. Will that be like a fixed map?

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Wheel’ is closed to new replies.