Reputation: 187
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.
Upvotes: 0
Views: 1265
Reputation: 187
The solution is the following command line:
map.scrollWheelZoom.enable();
Upvotes: 1