/* ---------------------------------------------------------------------------
Copyright:
	Davis Instruments, (c) 2010

Code by:
	Author:  Andy Schmidt
	Created: 01/15/2010

Notes:
	Best viewed with TAB-Size = 4

ToDo:
	Todo items are marked with a $$$ comment

Revisions:

--------------------------------------------------------------------------- */

//--------------------------------------
function MapCluster(ocenter) {

	this.iCount			= 0;			// Number of Stations in this Cluster
	this.oStations		= null;			// Array of Station indicies
	this.isOnMap		= 0;			// Flag indicating if this Cluster is currently in the Map viewport
	this.oCenter		= ocenter;		// Center Lat/Lng of this Cluster
	this.dLatHeight		= 0;			// Height (in degrees) of this Cluster
	this.dLngWidth		= 0;			// Width (in degrees) of this Cluster
	this.oLocSW			= null;			// SW corner Lat/Lng of this Cluster
	this.oLocNE			= null;			// NE corner Lat/Lng of this Cluster
	this.dAvgTempF		= 3276.7;		// Average Temperature of all Stations in this Cluster, dash value is 3276.7
	this.oAvgCenter		= null;			// Average Center Lat/Lng of all Stations in this Cluster
	this.oMarker		= null;			// A MapClusterMarker using a color coded icon according to the average temperature
}
