if(typeof _OnPointWebControls == "undefined") _OnPointWebControls={};
if(typeof _OnPointWebControls.Map == "undefined") _OnPointWebControls.Map={};
if(typeof _OnPointWebControls.Map.LayerManagerAjaxWrapper_class == "undefined") _OnPointWebControls.Map.LayerManagerAjaxWrapper_class={};
_OnPointWebControls.Map.LayerManagerAjaxWrapper_class = function() {};
Object.extend(_OnPointWebControls.Map.LayerManagerAjaxWrapper_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	TestAjaxMethodLM: function() {
		return this.invoke("TestAjaxMethodLM", {}, this.TestAjaxMethodLM.getArguments().slice(0));
	},
	ApplyLayerManager: function(clientSettings) {
		return this.invoke("ApplyLayerManager", {"clientSettings":clientSettings}, this.ApplyLayerManager.getArguments().slice(1));
	},
	GetLayerManagerTree: function(layerManagerId, regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("GetLayerManagerTree", {"layerManagerId":layerManagerId, "regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.GetLayerManagerTree.getArguments().slice(6));
	},
	SetActiveLayer: function(layerId) {
		return this.invoke("SetActiveLayer", {"layerId":layerId}, this.SetActiveLayer.getArguments().slice(1));
	},
	RemoveThematicSelection: function(layerId, thematicSelectionId) {
		return this.invoke("RemoveThematicSelection", {"layerId":layerId, "thematicSelectionId":thematicSelectionId}, this.RemoveThematicSelection.getArguments().slice(2));
	},
	RefreshLayerManager: function(regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("RefreshLayerManager", {"regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.RefreshLayerManager.getArguments().slice(5));
	},
	ZoomToLayerBySourceID: function(mapSourceId, mapId, layerId, regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("ZoomToLayerBySourceID", {"mapSourceId":mapSourceId, "mapId":mapId, "layerId":layerId, "regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.ZoomToLayerBySourceID.getArguments().slice(8));
	},
	ZoomToLayer: function(mapId, layerId, regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("ZoomToLayer", {"mapId":mapId, "layerId":layerId, "regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.ZoomToLayer.getArguments().slice(7));
	},
	ZoomToLayerScaleBySourceID: function(mapSourceId, mapId, layerId, regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("ZoomToLayerScaleBySourceID", {"mapSourceId":mapSourceId, "mapId":mapId, "layerId":layerId, "regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.ZoomToLayerScaleBySourceID.getArguments().slice(8));
	},
	ZoomToLayerScale: function(mapId, layerId, regularNodeStyle, activeNodeStyle, greyedNodeStyle, groupedNodeStyle, rootLevelNodeStyle) {
		return this.invoke("ZoomToLayerScale", {"mapId":mapId, "layerId":layerId, "regularNodeStyle":regularNodeStyle, "activeNodeStyle":activeNodeStyle, "greyedNodeStyle":greyedNodeStyle, "groupedNodeStyle":groupedNodeStyle, "rootLevelNodeStyle":rootLevelNodeStyle}, this.ZoomToLayerScale.getArguments().slice(7));
	},
	ApplyTheme: function(themeId) {
		return this.invoke("ApplyTheme", {"themeId":themeId}, this.ApplyTheme.getArguments().slice(1));
	},
	ClearTheme: function(layerId) {
		return this.invoke("ClearTheme", {"layerId":layerId}, this.ClearTheme.getArguments().slice(1));
	},
	GetThemeMenu: function(layerId) {
		return this.invoke("GetThemeMenu", {"layerId":layerId}, this.GetThemeMenu.getArguments().slice(1));
	},
	GetThemeMenus: function() {
		return this.invoke("GetThemeMenus", {}, this.GetThemeMenus.getArguments().slice(0));
	},
	SetThematicMappingLayer: function(layerId, clearCurrentTheme) {
		return this.invoke("SetThematicMappingLayer", {"layerId":layerId, "clearCurrentTheme":clearCurrentTheme}, this.SetThematicMappingLayer.getArguments().slice(2));
	},
	UpdateJSMapState: function(mapSourceId, mapId, visibile, selectedView) {
		return this.invoke("UpdateJSMapState", {"mapSourceId":mapSourceId, "mapId":mapId, "visibile":visibile, "selectedView":selectedView}, this.UpdateJSMapState.getArguments().slice(4));
	},
	GetDynamicMenus: function() {
		return this.invoke("GetDynamicMenus", {}, this.GetDynamicMenus.getArguments().slice(0));
	},
	url: '/StJohnsMapcentre/ajaxpro/OnPointWebControls.Map.LayerManagerAjaxWrapper,OnPointWebControls.ashx'
}));
_OnPointWebControls.Map.LayerManagerAjaxWrapper = new _OnPointWebControls.Map.LayerManagerAjaxWrapper_class();

