function showWeatherData()
{
	if(typeof weatherData == "undefined")
		return;
	
	if(typeof weatherData.length == "undefined")
		return;
	
	if(weatherData.length == 0)
	{
		clearInterval(_weatherTimer);
		return;
	}
	
	var toAdd = weatherData.pop();
	var coords = toAdd.point.split(',');


	// show secondary icon below
	if(typeof toAdd.secondary != "undefined" && toAdd.secondary != "")
	{
		var iconPath = 'http://freeearth.poly9.com/_weather/img/' + toAdd.secondary;

		var marker = new FE.Pushpin(new FE.LatLng((parseFloat(coords[0]) - 2), (2 + parseFloat(coords[1]))), new FE.Icon(iconPath, 1, 1));
		map.addOverlay(marker);
	}

	var swatch = [{val: 20, color: [0,0,1]},
			{val: 40, color: [0,1,0]},
			{val: 60, color: [1,1,0]},
			{val: 80, color: [1,0.75,0]},
			{val: 100, color: [1,0,0]}];

	if(!(typeof gTempCelsius == "undefined") && gTempCelsius == true)
	{
		for(var i = 0; i < swatch.length; i++)
			swatch[i].val = Math.round((swatch[i].val - 32) * (5 / 9));

		var temp = parseInt(toAdd.tempIcon.replace("\.png", ""));
		temp = Math.round((temp - 32) * (5 / 9));
//		toAdd.tempIcon = temp + '.png';
	}
	else
		var temp = parseInt(toAdd.tempIcon.replace("\.png", ""));

	var color = [];
	for(var i = 0; i < swatch.length; i++)
	{
		if((i == 0 && temp < swatch[i].val) ||
			(i == swatch.length - 1 && temp >= swatch[i].val))
		{
			color = swatch[i].color;
			break;
		}
		else if(i != swatch.length - 1)
		{
			if(temp >= swatch[i].val && temp < swatch[i + 1].val)
			{
				color = swatch[i].color;
				break;
			}
		}
	}

	var colorOut = "0x";
	for(var i = 0; i < color.length; i++)
	{
		colorOut += (color[i] < 16)? "0" : "";
		colorOut += parseInt(color[i] * 255).toString(16);
	}

	var labelOptions = new FE.LabelOpts('Arial', 20, colorOut, 1);
	var label = new FE.Label(new FE.LatLng(coords[0], coords[1]), temp.toString(), labelOptions);
	map.addOverlay(label);

//	var iconPath = 'http://freeearth.poly9.com/_weather/img/deg/' + toAdd.tempIcon;
//	var marker = new FE.Pushpin(new FE.LatLng(coords[0], coords[1]), new FE.Icon(iconPath, 1, 1));
//	map.addOverlay(marker);
}
