Answers for "mapview hooks glitch"

0

mapview hooks glitch

//you should use onRegionChangeComplete to set the hook

<MapView
	loadingEnabled={true}
    showsUserLocation={true}
	showsMyLocationButton={true}
	followsUserLocation
	style={styles.maps}
	region={currentRegion}
	onRegionChangeComplete={(region) => setCurrentRegion(region)}
>
Posted by: Guest on March-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language