var GoogleMapService=function() {
GoogleMapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GoogleMapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GoogleMapService._staticInstance.get_path();},
GetAllMapPoints: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(), 'GetAllMapPoints',false,{},succeededCallback,failedCallback,userContext); },
GetAreaMapPoints:function(AreaID,succeededCallback, failedCallback, userContext) {
/// <param name="AreaID" type="Number">System.Int32</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(), 'GetAreaMapPoints',false,{AreaID:AreaID},succeededCallback,failedCallback,userContext); },
GetDivisionMapPoints:function(DivisionKey,succeededCallback, failedCallback, userContext) {
/// <param name="DivisionKey" type="String">System.String</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(), 'GetDivisionMapPoints',false,{DivisionKey:DivisionKey},succeededCallback,failedCallback,userContext); },
GetBranchDivisionMapPoint:function(BranchDivisionKey,succeededCallback, failedCallback, userContext) {
/// <param name="BranchDivisionKey" type="String">System.String</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(), 'GetBranchDivisionMapPoint',false,{BranchDivisionKey:BranchDivisionKey},succeededCallback,failedCallback,userContext); },
GetBranchInfo:function(BranchOwner,BranchID,succeededCallback, failedCallback, userContext) {
/// <param name="BranchOwner" type="String">System.String</param>
/// <param name="BranchID" type="Number">System.Int32</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(), 'GetBranchInfo',false,{BranchOwner:BranchOwner,BranchID:BranchID},succeededCallback,failedCallback,userContext); }}
GoogleMapService.registerClass('GoogleMapService',Sys.Net.WebServiceProxy);
GoogleMapService._staticInstance = new GoogleMapService();
GoogleMapService.set_path = function(value) {
GoogleMapService._staticInstance.set_path(value); }
GoogleMapService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GoogleMapService._staticInstance.get_path();}
GoogleMapService.set_timeout = function(value) {
GoogleMapService._staticInstance.set_timeout(value); }
GoogleMapService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GoogleMapService._staticInstance.get_timeout(); }
GoogleMapService.set_defaultUserContext = function(value) { 
GoogleMapService._staticInstance.set_defaultUserContext(value); }
GoogleMapService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GoogleMapService._staticInstance.get_defaultUserContext(); }
GoogleMapService.set_defaultSucceededCallback = function(value) { 
 GoogleMapService._staticInstance.set_defaultSucceededCallback(value); }
GoogleMapService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GoogleMapService._staticInstance.get_defaultSucceededCallback(); }
GoogleMapService.set_defaultFailedCallback = function(value) { 
GoogleMapService._staticInstance.set_defaultFailedCallback(value); }
GoogleMapService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GoogleMapService._staticInstance.get_defaultFailedCallback(); }
GoogleMapService.set_path("/WebServices/GoogleMapService.asmx");
GoogleMapService.GetAllMapPoints= 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>
GoogleMapService._staticInstance.GetAllMapPoints(onSuccess,onFailed,userContext); }
GoogleMapService.GetAreaMapPoints= function(AreaID,onSuccess,onFailed,userContext) {
/// <param name="AreaID" type="Number">System.Int32</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>
GoogleMapService._staticInstance.GetAreaMapPoints(AreaID,onSuccess,onFailed,userContext); }
GoogleMapService.GetDivisionMapPoints= function(DivisionKey,onSuccess,onFailed,userContext) {
/// <param name="DivisionKey" type="String">System.String</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>
GoogleMapService._staticInstance.GetDivisionMapPoints(DivisionKey,onSuccess,onFailed,userContext); }
GoogleMapService.GetBranchDivisionMapPoint= function(BranchDivisionKey,onSuccess,onFailed,userContext) {
/// <param name="BranchDivisionKey" type="String">System.String</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>
GoogleMapService._staticInstance.GetBranchDivisionMapPoint(BranchDivisionKey,onSuccess,onFailed,userContext); }
GoogleMapService.GetBranchInfo= function(BranchOwner,BranchID,onSuccess,onFailed,userContext) {
/// <param name="BranchOwner" type="String">System.String</param>
/// <param name="BranchID" type="Number">System.Int32</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>
GoogleMapService._staticInstance.GetBranchInfo(BranchOwner,BranchID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('BranchLocatorClassesNew');
if (typeof(BranchLocatorClassesNew.MapPoint) === 'undefined') {
BranchLocatorClassesNew.MapPoint=gtc("BranchLocatorClassesNew.MapPoint");
BranchLocatorClassesNew.MapPoint.registerClass('BranchLocatorClassesNew.MapPoint');
}

