Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!