Problem/Motivation
Currently we only support simple on/off for GestureHandling support, but missing support for its configuration options (see https://github.com/elmarquis/Leaflet.GestureHandling), e.g.
map.addControl(new L.Control.gestureHandling({
duration: 1000,
text: {
touch: "Use two fingers to move the map",
scroll: "Use ctrl + scroll to zoom the map",
scrollMac: "Use \u2318 + scroll to zoom the map"
},
}));
This PR reference our Marker Cluster configuration form design, refine GestureHandling configuration by provide a textarea for customize options.
Issue fork leaflet-3252846
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3252846-refine-gesture-handling
changes, plain diff MR !9
Comments
Comment #2
hswong3i commentedComment #4
hswong3i commentedComment #8
itamair commentedThis cannot be approved as it is based on the 3.0.x-dev branch that is only experimental and not being supported now, in the short & mid term, because it doesn't provide a smooth and automatic upgrade path for all the 2.x users.
All this features requests should be also smoothly applicable to the 2.x branch, with full BW compatibility into it and upgrade/update path, to be approved ...
Comment #10
itamair commented