Answer the question
In order to leave comments, you need to log in
How to add weather to google maps in infowindow?
How to display the weather at least for the current location? Assuming that the user is in a big city
var weatherLayer = new google.maps.weather.WeatherLayer({
temperatureUnits: google.maps.weather.TemperatureUnit.FAHRENHEIT
});
weatherLayer.setMap(map);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question