{"action":"created","issue":{"url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/69","repository_url":"https://api.github.com/repos/ascoders/react-native-image-zoom","labels_url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/69/comments","events_url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/69/events","html_url":"https://github.com/ascoders/react-native-image-zoom/issues/69","id":369259930,"node_id":"MDU6SXNzdWUzNjkyNTk5MzA=","number":69,"title":"How to get the position of zoomed portion of image.","user":{"login":"sanilcgs","id":38914132,"node_id":"MDQ6VXNlcjM4OTE0MTMy","avatar_url":"https://avatars0.githubusercontent.com/u/38914132?v=4","gravatar_id":"","url":"https://api.github.com/users/sanilcgs","html_url":"https://github.com/sanilcgs","followers_url":"https://api.github.com/users/sanilcgs/followers","following_url":"https://api.github.com/users/sanilcgs/following{/other_user}","gists_url":"https://api.github.com/users/sanilcgs/gists{/gist_id}","starred_url":"https://api.github.com/users/sanilcgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanilcgs/subscriptions","organizations_url":"https://api.github.com/users/sanilcgs/orgs","repos_url":"https://api.github.com/users/sanilcgs/repos","events_url":"https://api.github.com/users/sanilcgs/events{/privacy}","received_events_url":"https://api.github.com/users/sanilcgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-11T18:56:45Z","updated_at":"2018-11-27T20:02:29Z","closed_at":null,"author_association":"NONE","body":"I have tried for getting the position of zoomed portion of an image using the onMove props. I got a position object after every pan. I couldn't understand how will the position object change during each pan move. Is it possible to get the exact position of the area using this object or any other suggestion to get the position?"},"comment":{"url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/comments/442197140","html_url":"https://github.com/ascoders/react-native-image-zoom/issues/69#issuecomment-442197140","issue_url":"https://api.github.com/repos/ascoders/react-native-image-zoom/issues/69","id":442197140,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjE5NzE0MA==","user":{"login":"dbecker215","id":8075505,"node_id":"MDQ6VXNlcjgwNzU1MDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8075505?v=4","gravatar_id":"","url":"https://api.github.com/users/dbecker215","html_url":"https://github.com/dbecker215","followers_url":"https://api.github.com/users/dbecker215/followers","following_url":"https://api.github.com/users/dbecker215/following{/other_user}","gists_url":"https://api.github.com/users/dbecker215/gists{/gist_id}","starred_url":"https://api.github.com/users/dbecker215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbecker215/subscriptions","organizations_url":"https://api.github.com/users/dbecker215/orgs","repos_url":"https://api.github.com/users/dbecker215/repos","events_url":"https://api.github.com/users/dbecker215/events{/privacy}","received_events_url":"https://api.github.com/users/dbecker215/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T20:02:29Z","updated_at":"2018-11-27T20:02:29Z","author_association":"NONE","body":"I've been running into this as well. I'm trying to use the pan/zoom functionality to crop an image, but I'm not quite sure how to calculate it without a better understanding of what `scale` and `zoomzoomCurrentDistance` mean relative to the image vs window dimensions. Can you explain that these data points imply so that I can better understand how to crop accurately? Thank you."}}
{"actor":{"display_login":"dbecker215"}}