Zooming in and out with Android is pretty easy and works totally fine; however, the result is pretty much different with IOS. I can not zoom the map in to align the map view like what I have in Android.
I set my deltas to:
const LATITUDE_DELTA = 0.000894375;
const LONGITUDE_DELTA = 0.000894375;
And I am using:
region: new MapView.AnimatedRegion({
latitude: 0,
longitude: 0,
latitudeDelta: LATITUDE_DELTA,
longitudeDelta: LONGITUDE_DELTA,
}),
For both IOS and Android. Though I found this answer:
how to zoom in/out in react-native-map?
But I am not sure if AnimateToRegion
and AnimatedRegion
are the same thing. If not, I am not sure how to implement the AnimateToRegion
.
Please advise thank you.