[Lizmap] Two fingers for pan and scroll in embed map

Nicolas Boisteault nboisteault at 3liz.com
Tue May 3 00:18:22 PDT 2022


It is not currently possible. It will be possible when we'll finish the 
migration from OpenLayers 2 to 6 but I don't know when.

Le 20/04/2022 à 15:59, Vincent BONNAL a écrit :
> Hi.
> It's possible to embed a Lizmap in a third party site using an iframe 
> (with the code show in the menu share/permalink). I tested this in a 
> Wordpress article, the rendering is good.
> But when you visit the page with a smartphone, you get the classic 
> problem of online maps and finger navigation. Impossible to see the 
> rest of the page, you can't scroll to navigate in the rest of the 
> page... and it's difficult to put extra margins given the size of the 
> screens.
> Is it possible to pass a particular code to the iframe so that the 
> scrolling and zooming is done in multitouch (ie with two fingers) as 
> shown in this example of OpenLayers?
> https://openlayers.org/en/latest/examples/two-finger-pan-scroll.html38
> I tried to find some documentation on this but I didn't see anything 
> on the subject...
> If you have an idea, it's should be nice.
> Thanks.
> Vincent.
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220503/a1aea9e8/attachment.htm>

More information about the Lizmap mailing list