New pricing changes will go into effect starting July 16, 2018. For more information, check out the Guide for Existing Users.

GMSVisibleRegion Struct Reference

GMSVisibleRegion Struct Reference

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.

Send feedback about...

Maps SDK for iOS
Maps SDK for iOS
Need help? Visit our support page.