Type.registerNamespace('GeoWS');
GeoWS.Geo=function() {
GeoWS.Geo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeoWS.Geo.prototype={
GetIntersectionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetIntersectionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCityList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetCityList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GeocodeIntersection:function(street1,street2,city,state,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GeocodeIntersection',false,{street1:street1,street2:street2,city:city,state:state},succeededCallback,failedCallback,userContext); },
ReverseGeocode:function(latitude,longitude,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'ReverseGeocode',false,{latitude:latitude,longitude:longitude},succeededCallback,failedCallback,userContext); },
GetStateList:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetStateList',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetCityListForState:function(stateID,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetCityListForState',false,{stateID:stateID},succeededCallback,failedCallback,userContext); },
GetTest:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetTest',false,{},succeededCallback,failedCallback,userContext); },
GetProximityCounts:function(arrLatLongs,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWS.Geo.get_path(), 'GetProximityCounts',false,{arrLatLongs:arrLatLongs},succeededCallback,failedCallback,userContext); }}
GeoWS.Geo.registerClass('GeoWS.Geo',Sys.Net.WebServiceProxy);
GeoWS.Geo._staticInstance = new GeoWS.Geo();
GeoWS.Geo.set_path = function(value) { GeoWS.Geo._staticInstance._path = value; }
GeoWS.Geo.get_path = function() { return GeoWS.Geo._staticInstance._path; }
GeoWS.Geo.set_timeout = function(value) { GeoWS.Geo._staticInstance._timeout = value; }
GeoWS.Geo.get_timeout = function() { return GeoWS.Geo._staticInstance._timeout; }
GeoWS.Geo.set_defaultUserContext = function(value) { GeoWS.Geo._staticInstance._userContext = value; }
GeoWS.Geo.get_defaultUserContext = function() { return GeoWS.Geo._staticInstance._userContext; }
GeoWS.Geo.set_defaultSucceededCallback = function(value) { GeoWS.Geo._staticInstance._succeeded = value; }
GeoWS.Geo.get_defaultSucceededCallback = function() { return GeoWS.Geo._staticInstance._succeeded; }
GeoWS.Geo.set_defaultFailedCallback = function(value) { GeoWS.Geo._staticInstance._failed = value; }
GeoWS.Geo.get_defaultFailedCallback = function() { return GeoWS.Geo._staticInstance._failed; }
GeoWS.Geo.set_path("/WebServices/Geo.asmx");
GeoWS.Geo.GetIntersectionList= function(prefixText,count,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetIntersectionList(prefixText,count,onSuccess,onFailed,userContext); }
GeoWS.Geo.GetCityList= function(prefixText,count,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetCityList(prefixText,count,onSuccess,onFailed,userContext); }
GeoWS.Geo.GeocodeIntersection= function(street1,street2,city,state,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GeocodeIntersection(street1,street2,city,state,onSuccess,onFailed,userContext); }
GeoWS.Geo.ReverseGeocode= function(latitude,longitude,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.ReverseGeocode(latitude,longitude,onSuccess,onFailed,userContext); }
GeoWS.Geo.GetStateList= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetStateList(knownCategoryValues,category,onSuccess,onFailed,userContext); }
GeoWS.Geo.GetCityListForState= function(stateID,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetCityListForState(stateID,onSuccess,onFailed,userContext); }
GeoWS.Geo.GetTest= function(onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetTest(onSuccess,onFailed,userContext); }
GeoWS.Geo.GetProximityCounts= function(arrLatLongs,onSuccess,onFailed,userContext) {GeoWS.Geo._staticInstance.GetProximityCounts(arrLatLongs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('QCWeb.UI.GeoService');
if (typeof(QCWeb.UI.GeoService.RevGeo) === 'undefined') {
QCWeb.UI.GeoService.RevGeo=gtc("QCWeb.UI.GeoService.RevGeo");
QCWeb.UI.GeoService.RevGeo.registerClass('QCWeb.UI.GeoService.RevGeo');
}
if (typeof(QCWeb.UI.GeoService.LatLongPair) === 'undefined') {
QCWeb.UI.GeoService.LatLongPair=gtc("QCWeb.UI.GeoService.LatLongPair");
QCWeb.UI.GeoService.LatLongPair.registerClass('QCWeb.UI.GeoService.LatLongPair');
}
if (typeof(QCWeb.UI.GeoService.CityLatLongPair) === 'undefined') {
QCWeb.UI.GeoService.CityLatLongPair=gtc("QCWeb.UI.GeoService.CityLatLongPair");
QCWeb.UI.GeoService.CityLatLongPair.registerClass('QCWeb.UI.GeoService.CityLatLongPair');
}
if (typeof(GeoWS.HistoricalCounts) === 'undefined') {
GeoWS.HistoricalCounts=gtc("GeoWS.HistoricalCounts");
GeoWS.HistoricalCounts.registerClass('GeoWS.HistoricalCounts');
}
if (typeof(GeoWS.HistoricalCountsDetails) === 'undefined') {
GeoWS.HistoricalCountsDetails=gtc("GeoWS.HistoricalCountsDetails");
GeoWS.HistoricalCountsDetails.registerClass('GeoWS.HistoricalCountsDetails');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
