Leaflet.DistortableImage
Leaflet.DistortableImage copied to clipboard
Feature: arrow-key placement
Please note we are preparing to participate in Google Code-in, and have reserved this issue for GCI participants - but we'd love to have your help with another one! Please check out https://code.publiclab.org to see more.
This might conflict with the "pan the map" usage of arrow keys, but:
Sometimes it is hard to move the photo to the EXACT point on which you want it. If you could click the photo and use arrow keys to move the selected photo this could help with the accuracy. At the moment pressing the arrow keys moves the whole map. This is also a good feature. Keep this but add a way of clicking on the photo which selects it so you can then use arrow keys to move accurately.
From https://publiclab.org/notes/molangmuir10/07-02-2019/mapknitter-ui-evaluation-2-mapping-nottingham-s-urban-greening#As+well+as+the+screen+recording+here+are+some+general+points+from+using+mapknitter...
However, maybe arrow keys could be used for moving an image when an image is selected, but otherwise for panning the map.
💬 Get help
If you need any help - here are some options:
- Comment below
- Join our gitter chat at https://gitter.im/publiclab/publiclab
Uploaded to GCI dashboard
Published
Does anyone know where the arrow key event listeners are handled? I'm planning to go there and check if the image is selected to determine whether to move the image or the map.