acf-openstreetmap-field icon indicating copy to clipboard operation
acf-openstreetmap-field copied to clipboard

Compability with Leaflet Gesture Handling

Open albertvisuals opened this issue 4 years ago • 5 comments

Hello! Would it be possible to make the plugin use the LeafletGesture Handling Feature , when using the output "Leaflet JS"? That would greatly help the interaction with embedded maps on touch devices.

Thanks very much!

albertvisuals avatar Feb 19 '21 10:02 albertvisuals

Any ideas on this?

albertvisuals avatar Mar 18 '21 23:03 albertvisuals

@albertvisuals I'm not the maintainer of this plugin, but you could always do it yourself and use the raw data, Leaflet and the Gesture Handling script.

enoversum avatar Apr 02 '21 00:04 enoversum

Hello @enoversum Thanks for your suggestion! I will try to get it to work somehow, I am sadly not that experienced with PHP etc. Just had hoped this could be implemented in the plugin, as it really helps the usability on the frontend.

albertvisuals avatar Apr 02 '21 11:04 albertvisuals

@albertvisuals Yes, I fully understand, if you're not a (web) programmer that's rather difficult to build. Not a drag and drop operation.

enoversum avatar Apr 02 '21 11:04 enoversum

I have played around a bit more

Bildschirmfoto 2021-04-02 um 15 50 11

Now it seems to display the overlay but I can still scroll it with one finger/without pressing "command" I am using the Leaflet JS return value

Here: https://neu.4x4-salzburg.at/veranstaltungen/2021-alpencup-gaissau/

Is there anybody who can help out here?

albertvisuals avatar Apr 02 '21 13:04 albertvisuals