﻿/* WCoord.js*/

function _WCoord() {	
	var WCoord = Class.create( {
		initialize: function(lon,lat) {
			//this.lon;
			//this.lat;
			this.setLonLat(lon,lat);					
		},		
		
		setLonLat: function(lon,lat) {
			this.lon = lon;
			this.lat = lat;
			return this;
		},
		setLon: function(lon) {
			this.lon = lon;
			return this;
		},
		setLat: function(lat) {
			this.lat=lat;
			return this;
		},
		getLon: function() {
			return this.lon;
		},
		getLat: function() {
			return this.lat;
		}
		
	});
	window.WCoord = WCoord;
};
_WCoord();	
