usually i build leaflet maps by code, so i gave the map element in bricks a try.
I am currently missing the option to disable scroll zoom while scrolling – which is imho is essential (escpeccially on mobile devices).
Where is that option?
At least a boolean is required in the settings which toggles the config setting.
I usually implemented leaflet maps by code and went this way to detect if a device is mobile/touch and set scrollWheelZoom option along this value.
Btw i wrote an hoversizedetect js lib for that case which executes a kind-of mobile/touch-device detection and returns a boolean.
(any other detection for a Boolean to be passed as param is also fine ).
const isMobile = BOOLEAN_VALUE_HERE
const map = L.map(mapElement, {
scrollWheelZoom: !isMobile, // false if isMobile=true – so scrollWheelZoom is disabled on mobile/touch devices
});