In the response body of all endpoints, the Weather API returns an icon describing the weather conditions. Icons are available in light mode and dark mode for daytime and nighttime weather conditions.
The base URI for the icon not including the file type extension. To display the
icon, append a theme (light or dark) and the file type extension (.png
or.svg
) to the URI in the iconBaseUri
field of the response body. By
default, the icon is light themed, but _dark
can be appended for dark mode.
For example, if the iconBaseUri
returns
"https://maps.gstatic.com/weather/v1/dust"
, append .svg
to the URI to return
the icon link ("https://maps.gstatic.com/weather/v1/dust.svg"
). To return the
icon in dark mode, append _dark.svg
to the URI
("https://maps.gstatic.com/weather/v1/dust_dark.svg"
).
Condition type | Description | Daytime (light mode) |
Daytime (dark mode) |
Nighttime (light mode) |
Nighttime (dark mode) |
---|---|---|---|---|---|
CLEAR |
No clouds | ||||
MOSTLY_CLEAR |
Periodic clouds | ||||
PARTLY_CLOUDY |
Partly cloudy (some clouds) | ||||
MOSTLY_CLOUDY |
Mostly cloudy (more clouds than sun) | ||||
CLOUDY |
Cloudy (all clouds, no sun) | ||||
WINDY |
High wind | ||||
WIND_AND_RAIN |
High wind with precipitation | ||||
LIGHT_RAIN_SHOWERS |
Light intermittent rain | ||||
CHANCE_OF_SHOWERS |
Chance of intermittent rain | ||||
SCATTERED_SHOWERS |
Intermittent rain | ||||
RAIN_SHOWERS |
Showers are considered to be rainfall that has a shorter duration than rain, and is characterized by suddenness in terms of start and stop times, and rapid changes in intensity | ||||
HEAVY_RAIN_SHOWERS |
Intense showers | ||||
LIGHT_TO_MODERATE_RAIN |
Rain (light to moderate in quantity) | ||||
MODERATE_TO_HEAVY_RAIN |
Rain (moderate to heavy in quantity) | ||||
RAIN |
Moderate rain | ||||
LIGHT_RAIN |
Light rain | ||||
HEAVY_RAIN |
Heavy rain | ||||
RAIN_PERIODICALLY_HEAVY |
Rain periodically heavy | ||||
LIGHT_SNOW_SHOWERS |
Light snow that is falling at varying intensities for brief periods of time | ||||
CHANCE_OF_SNOW_SHOWERS |
Chance of snow showers | ||||
SCATTERED_SNOW_SHOWERS |
Snow that is falling at varying intensities for brief periods of time | ||||
SNOW_SHOWERS |
Snow showers | ||||
HEAVY_SNOW_SHOWERS |
Heavy show showers | ||||
LIGHT_TO_MODERATE_SNOW |
Light to moderate snow | ||||
MODERATE_TO_HEAVY_SNOW |
Moderate to heavy snow | ||||
SNOW |
Moderate snow | ||||
LIGHT_SNOW |
Light snow | ||||
HEAVY_SNOW |
Heavy snow | ||||
SNOWSTORM |
Snow with possible thunder and lightning | ||||
SNOW_PERIODICALLY_HEAVY |
Snow, at times heavy | ||||
HEAVY_SNOW_STORM |
Heavy snow with possible thunder and lightning | ||||
BLOWING_SNOW |
Snow with intense wind | ||||
RAIN_AND_SNOW |
Rain and snow mix | ||||
HAIL |
Hail | ||||
HAIL_SHOWERS |
Hail that is falling at varying intensities for brief periods of time | ||||
THUNDERSTORM |
Thunderstorm | ||||
THUNDERSHOWER |
A shower of rain accompanied by thunder and lightning | ||||
LIGHT_THUNDERSTORM_RAIN |
Light thunderstorm rain | ||||
SCATTERED_THUNDERSTORMS |
Thunderstorms that has rain in various intensities for brief periods of time | ||||
HEAVY_THUNDERSTORM |
Heavy thunderstorm |