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.
With advanced markers you can create and customize highly
performant markers. Customize the default marker's background, border, and glyph
color, and replace the default marker icon with a custom
graphic image.
Advanced markers are objects of type
AdvancedMarker,
which is a subclass of
Marker.
With advanced markers, all the existing
Marker properties are customizable, including:
[[["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 2025-03-07 UTC."],[[["Advanced markers allow you to create highly performant and customizable markers, offering control over background, border, glyph color, and the ability to replace the default icon with custom graphics."],["They inherit all existing `Marker` properties, including title, snippet, click events, and drag events, while adding features like customizing colored pins, using Android views as markers, and controlling collision behavior."],["Developers can further personalize markers by customizing the default marker's appearance, including background, glyph, and border color, or even replace it entirely with a custom Android view."],["Advanced markers also provide options for managing collision behavior, allowing developers to specify how markers should react when overlapping with other markers or map labels."]]],["Advanced markers enable highly customizable and performant markers on maps. Users can personalize the default marker's background, border, and glyph colors, or substitute it with a custom graphic image or an Android `View`. These markers support standard `Marker` properties like title, snippet, click, and drag events. Unique features include colored pins, `View`-based markers, and collision behavior control. Users can customize the default marker's properties and specify how markers interact with other elements.\n"]]