var geoLocator=function() {
geoLocator.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
geoLocator.prototype={
GetSingleAddInt:function(strAddress,strCity,strZip,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'GetSingleAddInt',false,{strAddress:strAddress,strCity:strCity,strZip:strZip},succeededCallback,failedCallback,userContext); },
GetLocationbyWGS84LatLon:function(wgs84_lat,wgs84_lon,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'GetLocationbyWGS84LatLon',false,{wgs84_lat:wgs84_lat,wgs84_lon:wgs84_lon},succeededCallback,failedCallback,userContext); },
GetAddressData:function(strno,strname,muniname,postcode,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'GetAddressData',false,{strno:strno,strname:strname,muniname:muniname,postcode:postcode},succeededCallback,failedCallback,userContext); },
FindMobileHome:function(facid,facname,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'FindMobileHome',false,{facid:facid,facname:facname},succeededCallback,failedCallback,userContext); },
GetPropertybyID:function(pinnum,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'GetPropertybyID',false,{pinnum:pinnum},succeededCallback,failedCallback,userContext); },
FindPropertybyAddress:function(strno,strname,muniname,postcode,extendSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'FindPropertybyAddress',false,{strno:strno,strname:strname,muniname:muniname,postcode:postcode,extendSearch:extendSearch},succeededCallback,failedCallback,userContext); },
GetPropertyAddressData:function(addrgid,pinnum,qaddress,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'GetPropertyAddressData',false,{addrgid:addrgid,pinnum:pinnum,qaddress:qaddress},succeededCallback,failedCallback,userContext); },
transformGPScoords:function(lat,lon,succeededCallback, failedCallback, userContext) {
return this._invoke(geoLocator.get_path(), 'transformGPScoords',false,{lat:lat,lon:lon},succeededCallback,failedCallback,userContext); }}
geoLocator.registerClass('geoLocator',Sys.Net.WebServiceProxy);
geoLocator._staticInstance = new geoLocator();
geoLocator.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; geoLocator._staticInstance._path = value; }
geoLocator.get_path = function() { return geoLocator._staticInstance._path; }
geoLocator.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
geoLocator._staticInstance._timeout = value; }
geoLocator.get_timeout = function() { 
return geoLocator._staticInstance._timeout; }
geoLocator.set_defaultUserContext = function(value) { 
geoLocator._staticInstance._userContext = value; }
geoLocator.get_defaultUserContext = function() { 
return geoLocator._staticInstance._userContext; }
geoLocator.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; geoLocator._staticInstance._succeeded = value; }
geoLocator.get_defaultSucceededCallback = function() { 
return geoLocator._staticInstance._succeeded; }
geoLocator.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; geoLocator._staticInstance._failed = value; }
geoLocator.get_defaultFailedCallback = function() { 
return geoLocator._staticInstance._failed; }
geoLocator.set_path("/gisServices/geolocator.asmx");
geoLocator.GetSingleAddInt= function(strAddress,strCity,strZip,onSuccess,onFailed,userContext) {geoLocator._staticInstance.GetSingleAddInt(strAddress,strCity,strZip,onSuccess,onFailed,userContext); }
geoLocator.GetLocationbyWGS84LatLon= function(wgs84_lat,wgs84_lon,onSuccess,onFailed,userContext) {geoLocator._staticInstance.GetLocationbyWGS84LatLon(wgs84_lat,wgs84_lon,onSuccess,onFailed,userContext); }
geoLocator.GetAddressData= function(strno,strname,muniname,postcode,onSuccess,onFailed,userContext) {geoLocator._staticInstance.GetAddressData(strno,strname,muniname,postcode,onSuccess,onFailed,userContext); }
geoLocator.FindMobileHome= function(facid,facname,onSuccess,onFailed,userContext) {geoLocator._staticInstance.FindMobileHome(facid,facname,onSuccess,onFailed,userContext); }
geoLocator.GetPropertybyID= function(pinnum,onSuccess,onFailed,userContext) {geoLocator._staticInstance.GetPropertybyID(pinnum,onSuccess,onFailed,userContext); }
geoLocator.FindPropertybyAddress= function(strno,strname,muniname,postcode,extendSearch,onSuccess,onFailed,userContext) {geoLocator._staticInstance.FindPropertybyAddress(strno,strname,muniname,postcode,extendSearch,onSuccess,onFailed,userContext); }
geoLocator.GetPropertyAddressData= function(addrgid,pinnum,qaddress,onSuccess,onFailed,userContext) {geoLocator._staticInstance.GetPropertyAddressData(addrgid,pinnum,qaddress,onSuccess,onFailed,userContext); }
geoLocator.transformGPScoords= function(lat,lon,onSuccess,onFailed,userContext) {geoLocator._staticInstance.transformGPScoords(lat,lon,onSuccess,onFailed,userContext); }
