Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinch Zoom Location #11

Open
waynegm opened this issue Jul 27, 2016 · 3 comments
Open

Pinch Zoom Location #11

waynegm opened this issue Jul 27, 2016 · 3 comments

Comments

@waynegm
Copy link

waynegm commented Jul 27, 2016

Hi,
When pinch zooming on a touch device I'd like to know the coordinate of the point midway between the two touch points so I can hold that point fixed during the zoom. Is there a way to get this information with your plugin?

Thanks,
Wayne

@mmikowski
Copy link
Owner

Hi Wayne.

You can't get this directly from the API at present, but the plugin "knows" the touch positions so we should be able to add this as event object properties. To keep the plugin universal we could also emulate this on the desktop to always be screen center. Something like px_zoom_center_y and px_zoom_center_x.

Please file a feature request and I can add.

Cheers, Mike

@waynegm
Copy link
Author

waynegm commented Jul 28, 2016

Mike,
Can't see any way to turn an issue into a feature request. I think only the repository owner can change the label assigned to an issue. Alternatively should I close this and put in a new issue with "Feature Request" in the title.

Wayne

@mmikowski
Copy link
Owner

Thanks Wayne. No this should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants