Use react native pan responder with Mapbox.MapView version 10 #2960
chris-gaona
started this conversation in
General
Replies: 1 comment 1 reply
-
@chris-gaona sorry I have no idea about that. V10 has different gesture handling logic. It might be easier to create new callbacks for this usecase, see gestureManager didBegin, etc. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In version 8 & with iOS, I was able to attach a pan responder to the
MapboxGL.MapView
like in the following code & it would allow me to get events fromonPanResponderMove
when the map view was moved/panned. I used this to allow dragging various map shapes....points, line strings, polygons, etc. After upgrading to version 10, this functionality no longer works but I'm suspecting it might be because something hasn't been implemented yet.Does anyone have any thoughts on how I could implement this functionality? I'd be happy to take a stab at making updates to the swift code if someone could point me in the right direction.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions