mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 21 forks source link

Compability with Leaflet Gesture Handling #70

Open albertvisuals opened 3 years ago

albertvisuals commented 3 years ago

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 commented 3 years ago

Any ideas on this?

enoversum commented 3 years ago

@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.

albertvisuals commented 3 years ago

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.

enoversum commented 3 years ago

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

albertvisuals commented 3 years ago

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?