New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
Stay organized with collections
Save and categorize content based on your preferences.
GMSVisibleRegion
struct{}
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["`GMSVisibleRegion` defines the visible area of a map's camera as a polygon, which can be a trapezoid or a rectangle depending on the camera's tilt."],["This polygon is represented by four points: `nearLeft`, `nearRight`, `farLeft`, and `farRight`, which correspond to the corners of the visible area."],["Each of these points is expressed as a `CLLocationCoordinate2D` indicating its geographical location."],["When the camera is tilted, the polygon representing the visible region will appear as a trapezoid with the smaller side closer to the viewpoint."]]],[]]