var ShowHideLayers=function() {
ShowHideLayers.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShowHideLayers.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShowHideLayers._staticInstance.get_path();},
ShowHideMapLayers:function(mgSessionId,mgMapName,chkId,chkChecked,succeededCallback, failedCallback, userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" type="String">System.String</param>
/// <param name="chkId" type="String">System.String</param>
/// <param name="chkChecked" type="Boolean">System.Boolean</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(), 'ShowHideMapLayers',false,{mgSessionId:mgSessionId,mgMapName:mgMapName,chkId:chkId,chkChecked:chkChecked},succeededCallback,failedCallback,userContext); },
ShowMoreMyMapChangeMap:function(mgSessionId,mgMapName,arrayShowMore,succeededCallback, failedCallback, userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" type="String">System.String</param>
/// <param name="arrayShowMore" type="Array">System.Collections.ArrayList</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(), 'ShowMoreMyMapChangeMap',false,{mgSessionId:mgSessionId,mgMapName:mgMapName,arrayShowMore:arrayShowMore},succeededCallback,failedCallback,userContext); },
SaveMap:function(mgSessionId,mgMapName,succeededCallback, failedCallback, userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" 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(), 'SaveMap',false,{mgSessionId:mgSessionId,mgMapName:mgMapName},succeededCallback,failedCallback,userContext); },
LoadMunicipalityLayer:function(mgSessionId,mgMapName,succeededCallback, failedCallback, userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" 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(), 'LoadMunicipalityLayer',false,{mgSessionId:mgSessionId,mgMapName:mgMapName},succeededCallback,failedCallback,userContext); }}
ShowHideLayers.registerClass('ShowHideLayers',Sys.Net.WebServiceProxy);
ShowHideLayers._staticInstance = new ShowHideLayers();
ShowHideLayers.set_path = function(value) {
ShowHideLayers._staticInstance.set_path(value); }
ShowHideLayers.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ShowHideLayers._staticInstance.get_path();}
ShowHideLayers.set_timeout = function(value) {
ShowHideLayers._staticInstance.set_timeout(value); }
ShowHideLayers.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ShowHideLayers._staticInstance.get_timeout(); }
ShowHideLayers.set_defaultUserContext = function(value) { 
ShowHideLayers._staticInstance.set_defaultUserContext(value); }
ShowHideLayers.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ShowHideLayers._staticInstance.get_defaultUserContext(); }
ShowHideLayers.set_defaultSucceededCallback = function(value) { 
 ShowHideLayers._staticInstance.set_defaultSucceededCallback(value); }
ShowHideLayers.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ShowHideLayers._staticInstance.get_defaultSucceededCallback(); }
ShowHideLayers.set_defaultFailedCallback = function(value) { 
ShowHideLayers._staticInstance.set_defaultFailedCallback(value); }
ShowHideLayers.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ShowHideLayers._staticInstance.get_defaultFailedCallback(); }
ShowHideLayers.set_path("/mapguide/hlm/ShowHideLayers.asmx");
ShowHideLayers.ShowHideMapLayers= function(mgSessionId,mgMapName,chkId,chkChecked,onSuccess,onFailed,userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" type="String">System.String</param>
/// <param name="chkId" type="String">System.String</param>
/// <param name="chkChecked" type="Boolean">System.Boolean</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>
ShowHideLayers._staticInstance.ShowHideMapLayers(mgSessionId,mgMapName,chkId,chkChecked,onSuccess,onFailed,userContext); }
ShowHideLayers.ShowMoreMyMapChangeMap= function(mgSessionId,mgMapName,arrayShowMore,onSuccess,onFailed,userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" type="String">System.String</param>
/// <param name="arrayShowMore" type="Array">System.Collections.ArrayList</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>
ShowHideLayers._staticInstance.ShowMoreMyMapChangeMap(mgSessionId,mgMapName,arrayShowMore,onSuccess,onFailed,userContext); }
ShowHideLayers.SaveMap= function(mgSessionId,mgMapName,onSuccess,onFailed,userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" 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>
ShowHideLayers._staticInstance.SaveMap(mgSessionId,mgMapName,onSuccess,onFailed,userContext); }
ShowHideLayers.LoadMunicipalityLayer= function(mgSessionId,mgMapName,onSuccess,onFailed,userContext) {
/// <param name="mgSessionId" type="String">System.String</param>
/// <param name="mgMapName" 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>
ShowHideLayers._staticInstance.LoadMunicipalityLayer(mgSessionId,mgMapName,onSuccess,onFailed,userContext); }

