var GService=function() {
GService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GService.prototype={
SetLatLon:function(pID,pLatitude,pLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(GService.get_path(), 'SetLatLon',false,{pID:pID,pLatitude:pLatitude,pLongitude:pLongitude},succeededCallback,failedCallback,userContext); },
RecenterMapComplete:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GService.get_path(), 'RecenterMapComplete',false,{},succeededCallback,failedCallback,userContext); },
GetGoogleObject:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GService.get_path(), 'GetGoogleObject',false,{},succeededCallback,failedCallback,userContext); },
GetOptimizedGoogleObject:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GService.get_path(), 'GetOptimizedGoogleObject',false,{},succeededCallback,failedCallback,userContext); }}
GService.registerClass('GService',Sys.Net.WebServiceProxy);
GService._staticInstance = new GService();
GService.set_path = function(value) { GService._staticInstance._path = value; }
GService.get_path = function() { return GService._staticInstance._path; }
GService.set_timeout = function(value) { GService._staticInstance._timeout = value; }
GService.get_timeout = function() { return GService._staticInstance._timeout; }
GService.set_defaultUserContext = function(value) { GService._staticInstance._userContext = value; }
GService.get_defaultUserContext = function() { return GService._staticInstance._userContext; }
GService.set_defaultSucceededCallback = function(value) { GService._staticInstance._succeeded = value; }
GService.get_defaultSucceededCallback = function() { return GService._staticInstance._succeeded; }
GService.set_defaultFailedCallback = function(value) { GService._staticInstance._failed = value; }
GService.get_defaultFailedCallback = function() { return GService._staticInstance._failed; }
GService.set_path("/DesktopModules/cGoogleMaps/Class/GService.asmx");
GService.SetLatLon= function(pID,pLatitude,pLongitude,onSuccess,onFailed,userContext) {GService._staticInstance.SetLatLon(pID,pLatitude,pLongitude,onSuccess,onFailed,userContext); }
GService.RecenterMapComplete= function(onSuccess,onFailed,userContext) {GService._staticInstance.RecenterMapComplete(onSuccess,onFailed,userContext); }
GService.GetGoogleObject= function(onSuccess,onFailed,userContext) {GService._staticInstance.GetGoogleObject(onSuccess,onFailed,userContext); }
GService.GetOptimizedGoogleObject= function(onSuccess,onFailed,userContext) {GService._staticInstance.GetOptimizedGoogleObject(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Drake.GoogleMap.Components');
if (typeof(Drake.GoogleMap.Components.GoogleObject) === 'undefined') {
Drake.GoogleMap.Components.GoogleObject=gtc("Drake.GoogleMap.Components.GoogleObject");
Drake.GoogleMap.Components.GoogleObject.registerClass('Drake.GoogleMap.Components.GoogleObject');
}
