var MapsService=function() {
MapsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapsService.prototype={
GetAdjacentLocations:function(latitude,longitude,radius,succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetAdjacentLocations',false,{latitude:latitude,longitude:longitude,radius:radius},succeededCallback,failedCallback,userContext); },
GetAdverseFlightRulesLocations:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetAdverseFlightRulesLocations',false,{},succeededCallback,failedCallback,userContext); },
GetAirSigmets:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetAirSigmets',false,{},succeededCallback,failedCallback,userContext); },
GetAviationLocations:function(searchTerm,maxRecords,cls,context,succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetAviationLocations',false,{searchTerm:searchTerm,maxRecords:maxRecords,cls:cls,context:context},succeededCallback,failedCallback,userContext); },
GetAviationLocationsOld:function(searchTerm,maxRecords,succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetAviationLocationsOld',false,{searchTerm:searchTerm,maxRecords:maxRecords},succeededCallback,failedCallback,userContext); },
GetCustomLocations:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetCustomLocations',false,{},succeededCallback,failedCallback,userContext); },
GetFavoriteAirports:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetFavoriteAirports',false,{},succeededCallback,failedCallback,userContext); },
GetLocationInfo:function(uniqueID,succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetLocationInfo',false,{uniqueID:uniqueID},succeededCallback,failedCallback,userContext); },
GetRoute:function(locationIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetRoute',false,{locationIDs:locationIDs},succeededCallback,failedCallback,userContext); },
GetTfrs:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MapsService.get_path(), 'GetTfrs',false,{},succeededCallback,failedCallback,userContext); }}
MapsService.registerClass('MapsService',Sys.Net.WebServiceProxy);
MapsService._staticInstance = new MapsService();
MapsService.set_path = function(value) { MapsService._staticInstance._path = value; }
MapsService.get_path = function() { return MapsService._staticInstance._path; }
MapsService.set_timeout = function(value) { MapsService._staticInstance._timeout = value; }
MapsService.get_timeout = function() { return MapsService._staticInstance._timeout; }
MapsService.set_defaultUserContext = function(value) { MapsService._staticInstance._userContext = value; }
MapsService.get_defaultUserContext = function() { return MapsService._staticInstance._userContext; }
MapsService.set_defaultSucceededCallback = function(value) { MapsService._staticInstance._succeeded = value; }
MapsService.get_defaultSucceededCallback = function() { return MapsService._staticInstance._succeeded; }
MapsService.set_defaultFailedCallback = function(value) { MapsService._staticInstance._failed = value; }
MapsService.get_defaultFailedCallback = function() { return MapsService._staticInstance._failed; }
MapsService.set_path("/WebServices/MapsService.asmx");
MapsService.GetAdjacentLocations= function(latitude,longitude,radius,onSuccess,onFailed,userContext) {MapsService._staticInstance.GetAdjacentLocations(latitude,longitude,radius,onSuccess,onFailed,userContext); }
MapsService.GetAdverseFlightRulesLocations= function(onSuccess,onFailed,userContext) {MapsService._staticInstance.GetAdverseFlightRulesLocations(onSuccess,onFailed,userContext); }
MapsService.GetAirSigmets= function(onSuccess,onFailed,userContext) {MapsService._staticInstance.GetAirSigmets(onSuccess,onFailed,userContext); }
MapsService.GetAviationLocations= function(searchTerm,maxRecords,cls,context,onSuccess,onFailed,userContext) {MapsService._staticInstance.GetAviationLocations(searchTerm,maxRecords,cls,context,onSuccess,onFailed,userContext); }
MapsService.GetAviationLocationsOld= function(searchTerm,maxRecords,onSuccess,onFailed,userContext) {MapsService._staticInstance.GetAviationLocationsOld(searchTerm,maxRecords,onSuccess,onFailed,userContext); }
MapsService.GetCustomLocations= function(onSuccess,onFailed,userContext) {MapsService._staticInstance.GetCustomLocations(onSuccess,onFailed,userContext); }
MapsService.GetFavoriteAirports= function(onSuccess,onFailed,userContext) {MapsService._staticInstance.GetFavoriteAirports(onSuccess,onFailed,userContext); }
MapsService.GetLocationInfo= function(uniqueID,onSuccess,onFailed,userContext) {MapsService._staticInstance.GetLocationInfo(uniqueID,onSuccess,onFailed,userContext); }
MapsService.GetRoute= function(locationIDs,onSuccess,onFailed,userContext) {MapsService._staticInstance.GetRoute(locationIDs,onSuccess,onFailed,userContext); }
MapsService.GetTfrs= function(onSuccess,onFailed,userContext) {MapsService._staticInstance.GetTfrs(onSuccess,onFailed,userContext); }

