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 post - 1 participant

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/umap-iframe-and-one-finger-dragging-ban-touchscreens/99835