umap icon indicating copy to clipboard operation
umap copied to clipboard

Avoid map-panning on Smartphones (using two fingers instead)

Open Dirk71 opened this issue 4 years ago • 5 comments

Embedding maps of uMap allows using the option "scrollWheelZoom" to set it on TRUE or FALSE. If it is set on FALSE it will disable the mousewheel if the cursor is located within the map. If it is set on TRUE, the mousewheel is enabled so that zooming in and out is possible.

Accordingly it should lead to the following behaviour on Smartphones. TRUE -> swiping with one finger on the map will pan the map FALSE -> swiping with one finger on the map will scroll the website instead. Using 2 fingers to swipe will pan the map. BUT THIS DOES NOT WORK AS EXPECTED.

I have reported this today (10.09.21) on GITTER channel. @yohanboniface asked me to make an issue report on Github. So, this is done now.

Dirk71 avatar Sep 10 '21 16:09 Dirk71