I have integrated react native map with my latest react native application.In the map i want to set boundaries to the map. The official document suggests the method
setMapBoundaries
but it requires the argument like this northEast: LatLng, southWest: LatLng
.
How can i get the values for these arguments.my mapView is like this.
<MapView
showsUserLocation
provider={MapView.PROVIDER_GOOGLE}
style={styles.map}
region={region}
onRegionChangeComplete={this.onRegionChangeComplete}
setMapBoundaries={}
onUserLocationChange={this.onUserLocationChange}
>