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.
Always display the marker regardless of collision, and hide any
CollisionBehaviorOptionalAndHidesLowerPriority markers or labels that would overlap with the
marker.
Display the marker only if it does not overlap with other markers. Does not include
GMSCollisionBehaviorRequired. If two markers of this type would overlap, the one with the
higher zIndex is shown. Collision rules for markers with the same zIndex is undefined.
[[["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."],[[["`GMSCollisionBehavior` controls how markers interact with each other and map labels, prioritizing required markers over optional ones and higher `zIndex` values."],["`GMSCollisionBehaviorRequired` ensures a marker always displays, regardless of potential overlaps."],["`GMSCollisionBehaviorRequiredAndHidesOptional` prioritizes the marker, hiding any optional markers or labels it overlaps."],["`GMSCollisionBehaviorOptionalAndHidesLowerPriority` displays the marker only if it doesn't overlap with required markers or those with a higher `zIndex`."]]],[]]