0

I have mapbox map in a website, I can do zoom with the default buttons of the map and making click in the map but I need to enable do the zooming with the mouse wheel.

Any ideas, Thank you.

Rivero Felipe
  • 177
  • 2
  • 18

1 Answers1

1

The solution is the following command line:

map.scrollWheelZoom.enable();
Rivero Felipe
  • 177
  • 2
  • 18