Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following options correctly center the map on the user's location? *Select all that apply
Enabling the showsMyLocationButton prop on MapView to provide a button that, when tapped, centers the map on the user's location.
Setting the coordinate prop of MapView to the user's current location obtained via getCurrentPositionAsync from the expo-location library
Utilizing the followsUserLocation prop in MapView, if available, to automatically center the map on the user's location
Setting the region prop of MapView to the user's current location obtained via getCurrentPositionAsync from the expo-location library.
Setting the showsUserLocation prop to true to automatically center the map on the user's location.
Calling animateCamera on the MapView ref, passing a camera object with the user's current location as the center.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!