Support » Plugin: WP Mapbox GL JS Maps » Disable scroll zoom

Viewing 1 replies (of 1 total)
  • Probably this plugin is not supported anymore.

    Anyway I managed to disable zomm when scrolling editing this file:
    wp-mapbox-gl-js/public/js/wp-mapbox-gl-js-public.js

    In that file line 27 is
    var map = new mapboxgl.Map(mapStyle);

    added after that line
    map.scrollZoom.disable();

Viewing 1 replies (of 1 total)
  • The topic ‘Disable scroll zoom’ is closed to new replies.