Mashup: Click Weather

The challenge: to allow users to click on a Google Map and get current weather conditions for that spot. This requires a couple of steps:

  1. Get lat/lng info for a user's click on a map (made trivial by the Google Maps API)
  2. Reverse geocode the lat/lng to a usable address
  3. Fetch weather info for the address (using Google's poorly documented weather API)

New! You can now embed Click Weather in your own page. Just drop the following HTML into a page on your site (change the values for lat and lng to suit):

<iframe src="http://segdeha.com/clckwthr/map.html?lat=-36.76&lng=174.76"></iframe>