Umap iframe and one finger dragging ban (touchscreens)

Hi there,

I’ve embedded a map on a website using the iframe code, and want to disable the “one finger dragging” for touch screens, so that when you put your finger over the map, it scrolls the webpage instead of scrolling the map. Like it does happen with Google Maps, need two fingers for navigating and zooming the map.
I could see there are solutions with Leaflet, but when using uMap, how to do it ?

Best regards,
Matt

1 Like

Maybe there’s a way to use Leaflet with uMap ?

absolutely, umap uses leaflet