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