weather layer is showing m/s but I want mph

72 views
Skip to first unread message

Dennis A.

unread,
May 1, 2013, 2:54:48 PM5/1/13
to google-map...@googlegroups.com
weather is showing m/s but I want mph

var weatherLayer = new google.maps.weather.WeatherLayer({
    windSpeedUnit: google.maps.weather.WindSpeedUnit.MILES_PER_HOUR,
    temperatureUnits: google.maps.weather.TemperatureUnit.FAHRENHEIT
  });
  weatherLayer.setMap(map);


Question: is this a known bug?.. or am I missing something?

thanks
Dennis

Dennis A.

unread,
May 2, 2013, 9:46:36 AM5/2/13
to google-map...@googlegroups.com
stackoverflow helped..

at typo on my end..
should be "windSpeedUnits"
Reply all
Reply to author
Forward
0 new messages