DuDigital / react-native-zoomable-view

A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.
MIT License
241 stars 112 forks source link

Programatically move zoomed area #34

Closed Nodonisko closed 3 years ago

Nodonisko commented 4 years ago

Hi, I need to create something like minimap and when user clicks in minimap I need to move zoomed area to different position, is it possible somehow? Using ref or something like that?

SimonErich commented 3 years ago

@Nodonisko unfortunately we don't have that feature yet, but will tag it as a feature request

mmskvortsov commented 3 years ago

oh... is there any kind of workaround to zoom programmatically or at least to move the position?

mahiraltinkaya commented 3 years ago

Hey; I want to programmatically change the angle or position of the zoom. Can you suggest a solution?

ajayg415 commented 3 years ago

I have this requirement in my project, I'm trying it in my local. I'll raise PR and update once I successful.

mahiraltinkaya commented 3 years ago

I have this requirement in my project, I'm trying it in my local. I'll raise PR and update once I successful.

Thank you bro. I will wait u

SimonErich commented 3 years ago

Hey guys, sorry for the long delay.

Fortuntately we have a new release that introduces events that will help you in that.

Here are the details: https://github.com/DuDigital/react-native-zoomable-view/releases/tag/v1.1.0

Please make sure to install the latest version. (1.1.3 or up for a working version) You can also check out the example repo for an examples: https://github.com/DuDigital/react-native-zoomable-view