I need to know the top right and bottom left coordinate in a google map each time the camera is moved. The API gives me the center point of the camera. Is there a way to get what I want with the API or with some algorithm knowing the center point(target), zoom and bearing?
func mapView(mapView: GMSMapView, didChangeCameraPosition position: GMSCameraPosition) {
position.target
position.zoom
position.bearing
}