Type.registerNamespace('ChrisLacey.LatLonger');
ChrisLacey.LatLonger.MapService=function() {
ChrisLacey.LatLonger.MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ChrisLacey.LatLonger.MapService.prototype={
GenerateDescription:function(latitude,longitude,succeededCallback, failedCallback, userContext) {
return this._invoke(ChrisLacey.LatLonger.MapService.get_path(), 'GenerateDescription',false,{latitude:latitude,longitude:longitude},succeededCallback,failedCallback,userContext); }}
ChrisLacey.LatLonger.MapService.registerClass('ChrisLacey.LatLonger.MapService',Sys.Net.WebServiceProxy);
ChrisLacey.LatLonger.MapService._staticInstance = new ChrisLacey.LatLonger.MapService();
ChrisLacey.LatLonger.MapService.set_path = function(value) { ChrisLacey.LatLonger.MapService._staticInstance._path = value; }
ChrisLacey.LatLonger.MapService.get_path = function() { return ChrisLacey.LatLonger.MapService._staticInstance._path; }
ChrisLacey.LatLonger.MapService.set_timeout = function(value) { ChrisLacey.LatLonger.MapService._staticInstance._timeout = value; }
ChrisLacey.LatLonger.MapService.get_timeout = function() { return ChrisLacey.LatLonger.MapService._staticInstance._timeout; }
ChrisLacey.LatLonger.MapService.set_defaultUserContext = function(value) { ChrisLacey.LatLonger.MapService._staticInstance._userContext = value; }
ChrisLacey.LatLonger.MapService.get_defaultUserContext = function() { return ChrisLacey.LatLonger.MapService._staticInstance._userContext; }
ChrisLacey.LatLonger.MapService.set_defaultSucceededCallback = function(value) { ChrisLacey.LatLonger.MapService._staticInstance._succeeded = value; }
ChrisLacey.LatLonger.MapService.get_defaultSucceededCallback = function() { return ChrisLacey.LatLonger.MapService._staticInstance._succeeded; }
ChrisLacey.LatLonger.MapService.set_defaultFailedCallback = function(value) { ChrisLacey.LatLonger.MapService._staticInstance._failed = value; }
ChrisLacey.LatLonger.MapService.get_defaultFailedCallback = function() { return ChrisLacey.LatLonger.MapService._staticInstance._failed; }
ChrisLacey.LatLonger.MapService.set_path("/MapService.asmx");
ChrisLacey.LatLonger.MapService.GenerateDescription= function(latitude,longitude,onSuccess,onFailed,userContext) {ChrisLacey.LatLonger.MapService._staticInstance.GenerateDescription(latitude,longitude,onSuccess,onFailed,userContext); }
