Announcement: 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.
For maps of type roadmap and terrain, you can set the map color scheme
(dark, light, or current system setting) by using google.maps.colorScheme. The
colorScheme option can only be set when the map is initialized; setting this
option after the map is created will have no effect.
Roadmap
The following image shows the light mode and dark mode color schemes for the
roadmap type.
Terrain
The following image shows the light mode and dark mode color schemes for the
terrain type.
By default, the map uses light mode. When creating the map, import ColorScheme
and specify the map color scheme (LIGHT, DARK, or FOLLOW_SYSTEM) in
map options, as shown here.
[[["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-01-29 UTC."],[[["Roadmap and terrain map types allow customization of color schemes (light, dark, or system default) using `google.maps.colorScheme`."],["The `colorScheme` option must be set during map initialization and cannot be changed afterward."],["By default, maps use light mode; to change, import `ColorScheme` and specify the desired scheme (LIGHT, DARK, or FOLLOW_SYSTEM) within map options."],["Custom styles using Map IDs are only compatible with the light color scheme for roadmap map types."]]],[]]