var GService=function() {
GService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GService._staticInstance.get_path();},
SetLatLon:function(pID,pLatitude,pLongitude,succeededCallback, failedCallback, userContext) {
/// <param name="pID" type="String">System.String</param>
/// <param name="pLatitude" type="Number">System.Double</param>
/// <param name="pLongitude" type="Number">System.Double</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SetLatLon',false,{pID:pID,pLatitude:pLatitude,pLongitude:pLongitude},succeededCallback,failedCallback,userContext); },
RecenterMapComplete:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RecenterMapComplete',false,{},succeededCallback,failedCallback,userContext); },
GetGoogleObject:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetGoogleObject',false,{},succeededCallback,failedCallback,userContext); },
GetOptimizedGoogleObject:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetOptimizedGoogleObject',false,{},succeededCallback,failedCallback,userContext); }}
GService.registerClass('GService',Sys.Net.WebServiceProxy);
GService._staticInstance = new GService();
GService.set_path = function(value) {
GService._staticInstance.set_path(value); }
GService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GService._staticInstance.get_path();}
GService.set_timeout = function(value) {
GService._staticInstance.set_timeout(value); }
GService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GService._staticInstance.get_timeout(); }
GService.set_defaultUserContext = function(value) { 
GService._staticInstance.set_defaultUserContext(value); }
GService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GService._staticInstance.get_defaultUserContext(); }
GService.set_defaultSucceededCallback = function(value) { 
 GService._staticInstance.set_defaultSucceededCallback(value); }
GService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GService._staticInstance.get_defaultSucceededCallback(); }
GService.set_defaultFailedCallback = function(value) { 
GService._staticInstance.set_defaultFailedCallback(value); }
GService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GService._staticInstance.get_defaultFailedCallback(); }
GService.set_path("/GService.asmx");
GService.SetLatLon= function(pID,pLatitude,pLongitude,onSuccess,onFailed,userContext) {
/// <param name="pID" type="String">System.String</param>
/// <param name="pLatitude" type="Number">System.Double</param>
/// <param name="pLongitude" type="Number">System.Double</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.SetLatLon(pID,pLatitude,pLongitude,onSuccess,onFailed,userContext); }
GService.RecenterMapComplete= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.RecenterMapComplete(onSuccess,onFailed,userContext); }
GService.GetGoogleObject= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.GetGoogleObject(onSuccess,onFailed,userContext); }
GService.GetOptimizedGoogleObject= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.GetOptimizedGoogleObject(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Vagaro');
if (typeof(Vagaro.GoogleObject) === 'undefined') {
Vagaro.GoogleObject=gtc("Vagaro.GoogleObject");
Vagaro.GoogleObject.registerClass('Vagaro.GoogleObject');
}
