Type.registerNamespace('UltraMap.Site');
UltraMap.Site.PortalServices=function() {
UltraMap.Site.PortalServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UltraMap.Site.PortalServices.prototype={
GetStreetSegment:function(longitude,latitude,succeededCallback, failedCallback, userContext) {
return this._invoke(UltraMap.Site.PortalServices.get_path(), 'GetStreetSegment',false,{longitude:longitude,latitude:latitude},succeededCallback,failedCallback,userContext); },
GetPointOfInterest:function(longitude,latitude,longitude2,latitude2,succeededCallback, failedCallback, userContext) {
return this._invoke(UltraMap.Site.PortalServices.get_path(), 'GetPointOfInterest',false,{longitude:longitude,latitude:latitude,longitude2:longitude2,latitude2:latitude2},succeededCallback,failedCallback,userContext); },
Autocomplete:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(UltraMap.Site.PortalServices.get_path(), 'Autocomplete',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
UltraMap.Site.PortalServices.registerClass('UltraMap.Site.PortalServices',Sys.Net.WebServiceProxy);
UltraMap.Site.PortalServices._staticInstance = new UltraMap.Site.PortalServices();
UltraMap.Site.PortalServices.set_path = function(value) { UltraMap.Site.PortalServices._staticInstance._path = value; }
UltraMap.Site.PortalServices.get_path = function() { return UltraMap.Site.PortalServices._staticInstance._path; }
UltraMap.Site.PortalServices.set_timeout = function(value) { UltraMap.Site.PortalServices._staticInstance._timeout = value; }
UltraMap.Site.PortalServices.get_timeout = function() { return UltraMap.Site.PortalServices._staticInstance._timeout; }
UltraMap.Site.PortalServices.set_defaultUserContext = function(value) { UltraMap.Site.PortalServices._staticInstance._userContext = value; }
UltraMap.Site.PortalServices.get_defaultUserContext = function() { return UltraMap.Site.PortalServices._staticInstance._userContext; }
UltraMap.Site.PortalServices.set_defaultSucceededCallback = function(value) { UltraMap.Site.PortalServices._staticInstance._succeeded = value; }
UltraMap.Site.PortalServices.get_defaultSucceededCallback = function() { return UltraMap.Site.PortalServices._staticInstance._succeeded; }
UltraMap.Site.PortalServices.set_defaultFailedCallback = function(value) { UltraMap.Site.PortalServices._staticInstance._failed = value; }
UltraMap.Site.PortalServices.get_defaultFailedCallback = function() { return UltraMap.Site.PortalServices._staticInstance._failed; }
UltraMap.Site.PortalServices.set_path("/PortalServices.asmx");
UltraMap.Site.PortalServices.GetStreetSegment= function(longitude,latitude,onSuccess,onFailed,userContext) {UltraMap.Site.PortalServices._staticInstance.GetStreetSegment(longitude,latitude,onSuccess,onFailed,userContext); }
UltraMap.Site.PortalServices.GetPointOfInterest= function(longitude,latitude,longitude2,latitude2,onSuccess,onFailed,userContext) {UltraMap.Site.PortalServices._staticInstance.GetPointOfInterest(longitude,latitude,longitude2,latitude2,onSuccess,onFailed,userContext); }
UltraMap.Site.PortalServices.Autocomplete= function(prefixText,count,onSuccess,onFailed,userContext) {UltraMap.Site.PortalServices._staticInstance.Autocomplete(prefixText,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(UltraMap.Site.PortalServices_StreetSegment) === 'undefined') {
UltraMap.Site.PortalServices_StreetSegment=gtc("UltraMap.Site.PortalServices+StreetSegment");
UltraMap.Site.PortalServices_StreetSegment.registerClass('UltraMap.Site.PortalServices_StreetSegment');
}
if (typeof(UltraMap.Site.PortalServices_PointOfInterest) === 'undefined') {
UltraMap.Site.PortalServices_PointOfInterest=gtc("UltraMap.Site.PortalServices+PointOfInterest");
UltraMap.Site.PortalServices_PointOfInterest.registerClass('UltraMap.Site.PortalServices_PointOfInterest');
}
