Overview
GMSVisibleRegion contains the four points defining the polygon that is visible in a map's camera.
This polygon can be a trapezoid instead of a rectangle, because a camera can have tilt. If the camera is directly over the center of the camera, the shape is rectangular, but if the camera is tilted, the shape will appear to be a trapezoid whose smallest side is closest to the point of view.
Public Attributes | |
CLLocationCoordinate2D | nearLeft |
Bottom left corner of the camera. | |
CLLocationCoordinate2D | nearRight |
Bottom right corner of the camera. | |
CLLocationCoordinate2D | farLeft |
Far left corner of the camera. | |
CLLocationCoordinate2D | farRight |
Far right corner of the camera. |
Member Data Documentation
CLLocationCoordinate2D GMSVisibleRegion::nearLeft |
Bottom left corner of the camera.
CLLocationCoordinate2D GMSVisibleRegion::nearRight |
Bottom right corner of the camera.
CLLocationCoordinate2D GMSVisibleRegion::farLeft |
Far left corner of the camera.
CLLocationCoordinate2D GMSVisibleRegion::farRight |
Far right corner of the camera.