var FindLocations=function() {
FindLocations.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FindLocations.prototype={
LogClientError:function(message,source,errorNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'LogClientError',false,{message:message,source:source,errorNumber:errorNumber},succeededCallback,failedCallback,userContext); },
EntitiesFromLatLon:function(dataSource,lat,lon,searchRadius,filters,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'EntitiesFromLatLon',false,{dataSource:dataSource,lat:lat,lon:lon,searchRadius:searchRadius,filters:filters,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
EntitiesFromAddress:function(dataSource,addressString,searchRadius,filters,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'EntitiesFromAddress',false,{dataSource:dataSource,addressString:addressString,searchRadius:searchRadius,filters:filters,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetAmbiguousResults:function(datasource,loc,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'GetAmbiguousResults',false,{datasource:datasource,loc:loc},succeededCallback,failedCallback,userContext); },
EntitiesFromStartFinish:function(datasource,fromLat,fromLong,toLat,toLong,filters,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'EntitiesFromStartFinish',false,{datasource:datasource,fromLat:fromLat,fromLong:fromLong,toLat:toLat,toLong:toLong,filters:filters,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
EntitiesAlongRouteSegment:function(datasource,fromLat,fromLong,toLat,toLong,mapCenterLat,mapCenterLong,searchRadius,filters,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(FindLocations.get_path(), 'EntitiesAlongRouteSegment',false,{datasource:datasource,fromLat:fromLat,fromLong:fromLong,toLat:toLat,toLong:toLong,mapCenterLat:mapCenterLat,mapCenterLong:mapCenterLong,searchRadius:searchRadius,filters:filters,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); }}
FindLocations.registerClass('FindLocations',Sys.Net.WebServiceProxy);
FindLocations._staticInstance = new FindLocations();
FindLocations.set_path = function(value) { FindLocations._staticInstance._path = value; }
FindLocations.get_path = function() { return FindLocations._staticInstance._path; }
FindLocations.set_timeout = function(value) { FindLocations._staticInstance._timeout = value; }
FindLocations.get_timeout = function() { return FindLocations._staticInstance._timeout; }
FindLocations.set_defaultUserContext = function(value) { FindLocations._staticInstance._userContext = value; }
FindLocations.get_defaultUserContext = function() { return FindLocations._staticInstance._userContext; }
FindLocations.set_defaultSucceededCallback = function(value) { FindLocations._staticInstance._succeeded = value; }
FindLocations.get_defaultSucceededCallback = function() { return FindLocations._staticInstance._succeeded; }
FindLocations.set_defaultFailedCallback = function(value) { FindLocations._staticInstance._failed = value; }
FindLocations.get_defaultFailedCallback = function() { return FindLocations._staticInstance._failed; }
FindLocations.set_path("/Retail/Find/FindLocations.asmx");
FindLocations.LogClientError= function(message,source,errorNumber,onSuccess,onFailed,userContext) {FindLocations._staticInstance.LogClientError(message,source,errorNumber,onSuccess,onFailed,userContext); }
FindLocations.EntitiesFromLatLon= function(dataSource,lat,lon,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext) {FindLocations._staticInstance.EntitiesFromLatLon(dataSource,lat,lon,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext); }
FindLocations.EntitiesFromAddress= function(dataSource,addressString,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext) {FindLocations._staticInstance.EntitiesFromAddress(dataSource,addressString,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext); }
FindLocations.GetAmbiguousResults= function(datasource,loc,onSuccess,onFailed,userContext) {FindLocations._staticInstance.GetAmbiguousResults(datasource,loc,onSuccess,onFailed,userContext); }
FindLocations.EntitiesFromStartFinish= function(datasource,fromLat,fromLong,toLat,toLong,filters,pageIndex,onSuccess,onFailed,userContext) {FindLocations._staticInstance.EntitiesFromStartFinish(datasource,fromLat,fromLong,toLat,toLong,filters,pageIndex,onSuccess,onFailed,userContext); }
FindLocations.EntitiesAlongRouteSegment= function(datasource,fromLat,fromLong,toLat,toLong,mapCenterLat,mapCenterLong,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext) {FindLocations._staticInstance.EntitiesAlongRouteSegment(datasource,fromLat,fromLong,toLat,toLong,mapCenterLat,mapCenterLong,searchRadius,filters,pageIndex,onSuccess,onFailed,userContext); }
