var WS_GetMap=function() {
WS_GetMap.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_GetMap.prototype={
ReverseGeocodeXY:function(X,Y,iRef,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'ReverseGeocodeXY',false,{X:X,Y:Y,iRef:iRef},succeededCallback,failedCallback,userContext); },
ReverseGeocodeEx:function(p,Timeout,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'ReverseGeocodeEx',false,{p:p,Timeout:Timeout},succeededCallback,failedCallback,userContext); },
MapLoad:function(width,height,leftMap,rightMap,topMap,bottomMap,ImageFormat,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'MapLoad',false,{width:width,height:height,leftMap:leftMap,rightMap:rightMap,topMap:topMap,bottomMap:bottomMap,ImageFormat:ImageFormat},succeededCallback,failedCallback,userContext); },
MapLoadWithPOI:function(width,height,leftMap,rightMap,topMap,bottomMap,Stations,ImageFormat,bDisplayStops,bDisplayMoves,bDisplayRoute,bDisplayTexts,bCenterAllObjects,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'MapLoadWithPOI',false,{width:width,height:height,leftMap:leftMap,rightMap:rightMap,topMap:topMap,bottomMap:bottomMap,Stations:Stations,ImageFormat:ImageFormat,bDisplayStops:bDisplayStops,bDisplayMoves:bDisplayMoves,bDisplayRoute:bDisplayRoute,bDisplayTexts:bDisplayTexts,bCenterAllObjects:bCenterAllObjects},succeededCallback,failedCallback,userContext); },
ActiveTimerCarto:function(bActive,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'ActiveTimerCarto',false,{bActive:bActive},succeededCallback,failedCallback,userContext); },
GeocodeEx:function(Country,State,PostCode,City,CityDistrict,Street,HouseNumber,Timeout,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'GeocodeEx',false,{Country:Country,State:State,PostCode:PostCode,City:City,CityDistrict:CityDistrict,Street:Street,HouseNumber:HouseNumber,Timeout:Timeout},succeededCallback,failedCallback,userContext); },
GetActiveTimerCarto:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WS_GetMap.get_path(), 'GetActiveTimerCarto',false,{},succeededCallback,failedCallback,userContext); }}
WS_GetMap.registerClass('WS_GetMap',Sys.Net.WebServiceProxy);
WS_GetMap._staticInstance = new WS_GetMap();
WS_GetMap.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WS_GetMap._staticInstance._path = value; }
WS_GetMap.get_path = function() { return WS_GetMap._staticInstance._path; }
WS_GetMap.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); }
WS_GetMap._staticInstance._timeout = value; }
WS_GetMap.get_timeout = function() { 
return WS_GetMap._staticInstance._timeout; }
WS_GetMap.set_defaultUserContext = function(value) { 
WS_GetMap._staticInstance._userContext = value; }
WS_GetMap.get_defaultUserContext = function() { 
return WS_GetMap._staticInstance._userContext; }
WS_GetMap.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WS_GetMap._staticInstance._succeeded = value; }
WS_GetMap.get_defaultSucceededCallback = function() { 
return WS_GetMap._staticInstance._succeeded; }
WS_GetMap.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WS_GetMap._staticInstance._failed = value; }
WS_GetMap.get_defaultFailedCallback = function() { 
return WS_GetMap._staticInstance._failed; }
WS_GetMap.set_path("/WS_GetMap.asmx");
WS_GetMap.ReverseGeocodeXY= function(X,Y,iRef,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.ReverseGeocodeXY(X,Y,iRef,onSuccess,onFailed,userContext); }
WS_GetMap.ReverseGeocodeEx= function(p,Timeout,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.ReverseGeocodeEx(p,Timeout,onSuccess,onFailed,userContext); }
WS_GetMap.MapLoad= function(width,height,leftMap,rightMap,topMap,bottomMap,ImageFormat,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.MapLoad(width,height,leftMap,rightMap,topMap,bottomMap,ImageFormat,onSuccess,onFailed,userContext); }
WS_GetMap.MapLoadWithPOI= function(width,height,leftMap,rightMap,topMap,bottomMap,Stations,ImageFormat,bDisplayStops,bDisplayMoves,bDisplayRoute,bDisplayTexts,bCenterAllObjects,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.MapLoadWithPOI(width,height,leftMap,rightMap,topMap,bottomMap,Stations,ImageFormat,bDisplayStops,bDisplayMoves,bDisplayRoute,bDisplayTexts,bCenterAllObjects,onSuccess,onFailed,userContext); }
WS_GetMap.ActiveTimerCarto= function(bActive,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.ActiveTimerCarto(bActive,onSuccess,onFailed,userContext); }
WS_GetMap.GeocodeEx= function(Country,State,PostCode,City,CityDistrict,Street,HouseNumber,Timeout,onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.GeocodeEx(Country,State,PostCode,City,CityDistrict,Street,HouseNumber,Timeout,onSuccess,onFailed,userContext); }
WS_GetMap.GetActiveTimerCarto= function(onSuccess,onFailed,userContext) {WS_GetMap._staticInstance.GetActiveTimerCarto(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WS_GetMap_ResMapAddress) === 'undefined') {
var WS_GetMap_ResMapAddress=gtc("WS_GetMap+ResMapAddress");
WS_GetMap_ResMapAddress.registerClass('WS_GetMap_ResMapAddress');
}
Type.registerNamespace('System.Drawing');
if (typeof(System.Drawing.Point) === 'undefined') {
System.Drawing.Point=gtc("System.Drawing.Point");
System.Drawing.Point.registerClass('System.Drawing.Point');
}
if (typeof(WS_GetMap_ResMap) === 'undefined') {
var WS_GetMap_ResMap=gtc("WS_GetMap+ResMap");
WS_GetMap_ResMap.registerClass('WS_GetMap_ResMap');
}
if (typeof(WS_GetMap_XRMSGeoPoint) === 'undefined') {
var WS_GetMap_XRMSGeoPoint=gtc("WS_GetMap+XRMSGeoPoint");
WS_GetMap_XRMSGeoPoint.registerClass('WS_GetMap_XRMSGeoPoint');
}

