gsarig / ootb-openstreetmap

A map block for WordPress' Gutenberg Editor which uses OpenStreetMap and Leaflet.js. It needs no API keys and works out of the box. Benefiting from Gutenberg’s potential, the plugin tries a different take on how to add your locations on the map and rethinks a few things, UX-wise. Install it from https://wordpress.org/plugins/ootb-openstreetmap/
29 stars 2 forks source link

Leaflet gesture handling #23

Closed sebfried closed 1 year ago

sebfried commented 1 year ago

https://github.com/Raruto/leaflet-gesture-handling

gsarig commented 1 year ago

Hi @sebfried Can you elaborate more on that? Which specific problems/bugs would this plugin solve?

sebfried commented 1 year ago

Hi @gsarig It's similar to the gesture handling that is used by Google Maps. If, for example, the map is very big, you can get stuck, especially on mobile phones. I implemented the plugin on videomat.org, where you can check it out.

gsarig commented 1 year ago

Thanks @sebfried I see what you mean, and I agree that this should be addressed. I'm putting it in my roadmap, and, in fact, high in the priorities, as it might not be considered a bug, but it can be annoying on specific designs.

gsarig commented 1 year ago

@sebfried This has been deployed with v.2.4.0: https://github.com/gsarig/ootb-openstreetmap/releases/tag/2.4.0 Thanks for reporting it.