Building out react-native-maps and trying to decide the pros and cons of using animateToRegion vs. animateCamera. In the past we've handled everything on a region basis.
Seems like region would be a better choice, as you won't have to worry about differences between elevation and zoom, while also having a more granular control of the exact region being displayed if needed.
Anyone have any thoughts or experiences that have led them to one or the other?
from Pros & Cons of Using animateToRegion() vs animateCamera()
No comments:
Post a Comment