Using leaflet maps, we can zoom either using the buttons at the top left or by double clicking with the mouse. How can we enable zooming using the scroll of the mouse (as done in GMaps).
I've seen that it is possible using the option map.scrollWheelZoom.enable();, however I'm not quite sure where I should add that.
Using leaflet maps, we can zoom either using the buttons at the top left or by double clicking with the mouse. How can we enable zooming using the scroll of the mouse (as done in GMaps).
I've seen that it is possible using the option map.scrollWheelZoom.enable();, however I'm not quite sure where I should add that.
Thanks for your time,
Alexandre
Hey Again,
You will probably have to custom code it. This might help: http://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ .
Thanks
ThemeNectar Support Team