openspacelabs / 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
191 stars 58 forks source link

Pan/zoom animated values as props #8

Closed elliottkember closed 2 years ago

elliottkember commented 2 years ago

Adds panAnimatedValueXY / zoomAnimatedValue props to the component. These are used in place of the private variables when set, allowing use of those native animated values.

An example has been added to the example app showing independently-scaling markers on an image