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.
GMSGroundOverlay specifies the available options for a ground overlay that exists on the
Earth’s surface. Unlike a marker, the position of a ground overlay is specified explicitly and it
does not face the camera.
The position of this GMSGroundOverlay, or more specifically, the physical position of its
anchor. If this is changed, bounds will be moved around the new position.
The anchor specifies where this GMSGroundOverlay is anchored to the Earth in relation to
bounds. If this is modified, position will be set to the corresponding new position within
bounds.
[[["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."],[[["`GMSGroundOverlay` is used to display images on the Earth's surface, positioned explicitly and not facing the camera like markers."],["It is defined by its `position`, `anchor`, `icon`, `opacity`, `bearing`, and `bounds`."],["You can set the opacity for transparency and bearing for rotation."],["Convenience constructors help create ground overlays with bounds and icons or position, icon, and zoom level."]]],["`GMSGroundOverlay` defines options for overlays on Earth's surface, distinct from camera-facing markers. Key actions include setting the overlay's `position`, `anchor`, `icon`, `opacity`, `bearing`, and `bounds`. `position` specifies the anchor's location; `anchor` relates the overlay's placement to `bounds`. `icon` renders an image; `opacity` controls transparency. `bearing` sets the overlay's orientation. Constructors allow creating overlays with specified `bounds` and `icon` or with a `position`, `icon` and `zoomLevel`.\n"]]