For the past month, I have been lucky enough to work as an intern on the Google Maps API team in Sydney. I’ve had a great time so far, and I’m looking forward to my remaining two months. For now, I’d like to share with you the fruits of my first project, which was to bring the weather layer from Google Maps to the Maps API.

The weather layer is now provided in the Maps API by the weather library, which consists of two classes: WeatherLayer and CloudLayer. The WeatherLayer class displays the current weather conditions at various locations, as well as a forecast for the next four days when a user clicks on one of the icons. You can configure the units of temperature (degrees Celsius or Fahrenheit) and wind speed (km/h, mph, or m/s), just like maps.google.com. The CloudLayer class displays satellite imagery of cloud coverage. Try out the demo below.

Check out the documentation for more information. If you need any extra assistance or information, we recommend you post your questions to Stack Overflow using the google-maps-api-3 tag.

We hope you find the weather layers useful, and we look forward to seeing them used in applications around the web. I had a fantastic time implementing them, and learned a lot - many thanks to my colleagues in the Maps API team for all their help and support!