function WeatherOverlay(lat, lng, icon, temp, windspeed)
{
	this.Lat = lat;
	this.Lng = lng;
	this.Icon = icon;
	this.Temp = temp;
	this.WindSpeed = windspeed;
}

WeatherOverlay.prototype = new GOverlay();

WeatherOverlay.prototype.initialize = function (map)
{
	var div = document.createElement("div");
	div.className = "GWeatherOverlay";
	div.style.position = "absolute";
	div.style.backgroundImage = "url(" + this.Icon + ")";
	div.innerHTML = this.Temp + "&#8451;&nbsp;" + this.WindSpeed + "m/s";
	
	map.getPane(G_MAP_MAP_PANE).appendChild(div);
	this._Map = map;
	this._Div = div;
}

WeatherOverlay.prototype.remove = function()
{
	this._Div.parentNode.removeChild(this._Div);
}

WeatherOverlay.prototype.redraw = function(force)
{
	var point = this._Map.fromLatLngToDivPixel(new GLatLng(this.Lat, this.Lng));
	this._Div.style.left = (point.x -16) + "px;";
	this._Div.style.top = (point.y - 16) + "px;";
}