Leaflet.DistortableImage
Leaflet.DistortableImage copied to clipboard
Scaling relative to corner
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.
Problem
issue opened by a user
Please describe the desired behavior. Describe the solution you'd like.
Image should be scaling relative to corner, not center, just like in Google Earth.
Additional context (optional) Feel free to include any applicable: code, screenshots, or gifs.
In Google Earth:
Solution
Ideally, the user would be able to specify sometime during initialization what type of scaling they want: centroid / corner, OR in the UI have some way of toggling this. If you struggle with this part, it is okay to just add this capability as a completely separate tool
💬 Get help
If you need any help - here are some options:
- Comment below
- Join our gitter chat at https://gitter.im/publiclab/publiclab
Oh I like this! This will be fun to make @rexagod
Cool! This would be a constructor option on the tool itself, i guess? Maybe "centroid" or "origin"?
On Fri, Aug 23, 2019 at 12:42 AM Sasha Boginsky [email protected] wrote:
Oh I like this! This will be fun to make @rexagod https://github.com/rexagod
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/Leaflet.DistortableImage/issues/403?email_source=notifications&email_token=AAAF6J6Z3JOIISAW2OLZQQLQF5TCDA5CNFSM4IOWRJCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD47DF7Y#issuecomment-524169983, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J7R7WBDKKLU4B6HEWDQF5TCDANCNFSM4IOWRJCA .
Sure @sashadev-sky! @jywarren I guess we might want to re-consider if we really need two different origin options? Can we think of a few test cases where one would be better than the other?
@jywarren @rexagod I don't think it's a need but I do think it improves usability!
Uploaded to GCI dashboard
Published
is there any hope we can get this feature plz!! ???