Center a MapView on users location

Viewed 66

How can I center the MapView on the current user location?

<MapView
  provider={PROVIDER_GOOGLE}
  initialRegion={region}
  style={mapStyle}
  onPress={() => Keyboard.dismiss()}
  showsUserLocation
  region={region}
/>
1 Answers
Related