if(typeof Torbay == "undefined") Torbay={};
if(typeof Torbay.GIS == "undefined") Torbay.GIS={};
if(typeof Torbay.GIS.Web == "undefined") Torbay.GIS.Web={};
if(typeof Torbay.GIS.Web.Controls == "undefined") Torbay.GIS.Web.Controls={};
Torbay.GIS.Web.Controls.MappingControlActions_class = function() {};
Object.extend(Torbay.GIS.Web.Controls.MappingControlActions_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoadWorkspace: function(key, path) {
		return this.invoke("LoadWorkspace", {"key":key, "path":path}, this.LoadWorkspace.getArguments().slice(2));
	},
	SaveWorkspace: function(key, path) {
		return this.invoke("SaveWorkspace", {"key":key, "path":path}, this.SaveWorkspace.getArguments().slice(2));
	},
	ShowScaleBar: function(key, visible) {
		return this.invoke("ShowScaleBar", {"key":key, "visible":visible}, this.ShowScaleBar.getArguments().slice(2));
	},
	IsScaleBarVisible: function(key) {
		return this.invoke("IsScaleBarVisible", {"key":key}, this.IsScaleBarVisible.getArguments().slice(1));
	},
	GetImageUrl: function(key) {
		return this.invoke("GetImageUrl", {"key":key}, this.GetImageUrl.getArguments().slice(1));
	},
	ExecuteMappingMethod: function(key, methodName, parameters) {
		return this.invoke("ExecuteMappingMethod", {"key":key, "methodName":methodName, "parameters":parameters}, this.ExecuteMappingMethod.getArguments().slice(3));
	},
	ConvertScreenToMapCoordinates: function(key, point) {
		return this.invoke("ConvertScreenToMapCoordinates", {"key":key, "point":point}, this.ConvertScreenToMapCoordinates.getArguments().slice(2));
	},
	ConvertMapToScreenCoordinates: function(key, point) {
		return this.invoke("ConvertMapToScreenCoordinates", {"key":key, "point":point}, this.ConvertMapToScreenCoordinates.getArguments().slice(2));
	},
	SetPan: function(key, x, y) {
		return this.invoke("SetPan", {"key":key, "x":x, "y":y}, this.SetPan.getArguments().slice(3));
	},
	GetZoom: function(key) {
		return this.invoke("GetZoom", {"key":key}, this.GetZoom.getArguments().slice(1));
	},
	SetZoom: function(key, distance) {
		return this.invoke("SetZoom", {"key":key, "distance":distance}, this.SetZoom.getArguments().slice(2));
	},
	SetZoomUnit: function(key, distance, unit) {
		return this.invoke("SetZoomUnit", {"key":key, "distance":distance, "unit":unit}, this.SetZoomUnit.getArguments().slice(3));
	},
	SetZoomPoint: function(key, zoomIn, factor, point) {
		return this.invoke("SetZoomPoint", {"key":key, "zoomIn":zoomIn, "factor":factor, "point":point}, this.SetZoomPoint.getArguments().slice(4));
	},
	SetZoomRectangle: function(key, zoomIn, x1, y1, x2, y2) {
		return this.invoke("SetZoomRectangle", {"key":key, "zoomIn":zoomIn, "x1":x1, "y1":y1, "x2":x2, "y2":y2}, this.SetZoomRectangle.getArguments().slice(6));
	},
	SetSize: function(key, width, height) {
		return this.invoke("SetSize", {"key":key, "width":width, "height":height}, this.SetSize.getArguments().slice(3));
	},
	SetCenter: function(key, point) {
		return this.invoke("SetCenter", {"key":key, "point":point}, this.SetCenter.getArguments().slice(2));
	},
	SetCenterMap: function(key, point) {
		return this.invoke("SetCenterMap", {"key":key, "point":point}, this.SetCenterMap.getArguments().slice(2));
	},
	GetCenter: function(key) {
		return this.invoke("GetCenter", {"key":key}, this.GetCenter.getArguments().slice(1));
	},
	GetSelection: function(key) {
		return this.invoke("GetSelection", {"key":key}, this.GetSelection.getArguments().slice(1));
	},
	ClearSelection: function(key) {
		return this.invoke("ClearSelection", {"key":key}, this.ClearSelection.getArguments().slice(1));
	},
	SetSelectionTolerance: function(key, point, tolerance, returnFeatures) {
		return this.invoke("SetSelectionTolerance", {"key":key, "point":point, "tolerance":tolerance, "returnFeatures":returnFeatures}, this.SetSelectionTolerance.getArguments().slice(4));
	},
	SetSelection: function(key, point, returnFeatures) {
		return this.invoke("SetSelection", {"key":key, "point":point, "returnFeatures":returnFeatures}, this.SetSelection.getArguments().slice(3));
	},
	SetSelectionAdd: function(key, point, returnFeatures) {
		return this.invoke("SetSelectionAdd", {"key":key, "point":point, "returnFeatures":returnFeatures}, this.SetSelectionAdd.getArguments().slice(3));
	},
	SetSelectionAddTolerance: function(key, point, tolerance, returnFeatures) {
		return this.invoke("SetSelectionAddTolerance", {"key":key, "point":point, "tolerance":tolerance, "returnFeatures":returnFeatures}, this.SetSelectionAddTolerance.getArguments().slice(4));
	},
	SetSelectionRemoveTolerance: function(key, point, tolerance, returnFeatures) {
		return this.invoke("SetSelectionRemoveTolerance", {"key":key, "point":point, "tolerance":tolerance, "returnFeatures":returnFeatures}, this.SetSelectionRemoveTolerance.getArguments().slice(4));
	},
	SetSelectionRemove: function(key, point, returnFeatures) {
		return this.invoke("SetSelectionRemove", {"key":key, "point":point, "returnFeatures":returnFeatures}, this.SetSelectionRemove.getArguments().slice(3));
	},
	SetSelectionSearch: function(key, query, returnFeatures) {
		return this.invoke("SetSelectionSearch", {"key":key, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearch.getArguments().slice(3));
	},
	SetSelectionSearchLayer: function(key, layerName, query, returnFeatures) {
		return this.invoke("SetSelectionSearchLayer", {"key":key, "layerName":layerName, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchLayer.getArguments().slice(4));
	},
	SetSelectionSearchLayers: function(key, layers, query, returnFeatures) {
		return this.invoke("SetSelectionSearchLayers", {"key":key, "layers":layers, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchLayers.getArguments().slice(4));
	},
	SetSelectionSearchAdd: function(key, query, returnFeatures) {
		return this.invoke("SetSelectionSearchAdd", {"key":key, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchAdd.getArguments().slice(3));
	},
	SetSelectionSearchAddLayer: function(key, layerName, query, returnFeatures) {
		return this.invoke("SetSelectionSearchAddLayer", {"key":key, "layerName":layerName, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchAddLayer.getArguments().slice(4));
	},
	SetSelectionSearchAddLayers: function(key, layers, query, returnFeatures) {
		return this.invoke("SetSelectionSearchAddLayers", {"key":key, "layers":layers, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchAddLayers.getArguments().slice(4));
	},
	SetSelectionSearchRemove: function(key, query, returnFeatures) {
		return this.invoke("SetSelectionSearchRemove", {"key":key, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchRemove.getArguments().slice(3));
	},
	SetSelectionSearchRemoveLayer: function(key, layerName, query, returnFeatures) {
		return this.invoke("SetSelectionSearchRemoveLayer", {"key":key, "layerName":layerName, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchRemoveLayer.getArguments().slice(4));
	},
	SetSelectionSearchRemoveLayers: function(key, layers, query, returnFeatures) {
		return this.invoke("SetSelectionSearchRemoveLayers", {"key":key, "layers":layers, "query":query, "returnFeatures":returnFeatures}, this.SetSelectionSearchRemoveLayers.getArguments().slice(4));
	},
	Search: function(key, query, zoomEnvelope, numberOfRecords) {
		return this.invoke("Search", {"key":key, "query":query, "zoomEnvelope":zoomEnvelope, "numberOfRecords":numberOfRecords}, this.Search.getArguments().slice(4));
	},
	SearchLayer: function(key, layerName, query, zoomEnvelope, numberOfRecords) {
		return this.invoke("SearchLayer", {"key":key, "layerName":layerName, "query":query, "zoomEnvelope":zoomEnvelope, "numberOfRecords":numberOfRecords}, this.SearchLayer.getArguments().slice(5));
	},
	SearchLayers: function(key, layers, query, zoomEnvelope, numberOfRecords) {
		return this.invoke("SearchLayers", {"key":key, "layers":layers, "query":query, "zoomEnvelope":zoomEnvelope, "numberOfRecords":numberOfRecords}, this.SearchLayers.getArguments().slice(5));
	},
	SearchPoint: function(key, point) {
		return this.invoke("SearchPoint", {"key":key, "point":point}, this.SearchPoint.getArguments().slice(2));
	},
	SearchPointTolerance: function(key, point, tolerance) {
		return this.invoke("SearchPointTolerance", {"key":key, "point":point, "tolerance":tolerance}, this.SearchPointTolerance.getArguments().slice(3));
	},
	AddText: function(key, text, point) {
		return this.invoke("AddText", {"key":key, "text":text, "point":point}, this.AddText.getArguments().slice(3));
	},
	AddTextXYSizeColors: function(key, text, point, size, color, backColor, haloColor) {
		return this.invoke("AddTextXYSizeColors", {"key":key, "text":text, "point":point, "size":size, "color":color, "backColor":backColor, "haloColor":haloColor}, this.AddTextXYSizeColors.getArguments().slice(7));
	},
	AddTextXYSizeColorsFont: function(key, text, point, size, color, backColor, haloColor, fontName, bold, italics, underline) {
		return this.invoke("AddTextXYSizeColorsFont", {"key":key, "text":text, "point":point, "size":size, "color":color, "backColor":backColor, "haloColor":haloColor, "fontName":fontName, "bold":bold, "italics":italics, "underline":underline}, this.AddTextXYSizeColorsFont.getArguments().slice(11));
	},
	AddTextXYSizeFont: function(key, text, point, size, fontName, bold, italics, underline) {
		return this.invoke("AddTextXYSizeFont", {"key":key, "text":text, "point":point, "size":size, "fontName":fontName, "bold":bold, "italics":italics, "underline":underline}, this.AddTextXYSizeFont.getArguments().slice(8));
	},
	AddSymbol: function(key, symbol) {
		return this.invoke("AddSymbol", {"key":key, "symbol":symbol}, this.AddSymbol.getArguments().slice(2));
	},
	AddSymbolLayer: function(key, symbol, layer) {
		return this.invoke("AddSymbolLayer", {"key":key, "symbol":symbol, "layer":layer}, this.AddSymbolLayer.getArguments().slice(3));
	},
	AddSymbolXY: function(key, point, type) {
		return this.invoke("AddSymbolXY", {"key":key, "point":point, "type":type}, this.AddSymbolXY.getArguments().slice(3));
	},
	AddSymbolXYSizeColors: function(key, point, type, size, color, backColor, haloColor) {
		return this.invoke("AddSymbolXYSizeColors", {"key":key, "point":point, "type":type, "size":size, "color":color, "backColor":backColor, "haloColor":haloColor}, this.AddSymbolXYSizeColors.getArguments().slice(7));
	},
	AddSymbolXYLayer: function(key, point, type, layer) {
		return this.invoke("AddSymbolXYLayer", {"key":key, "point":point, "type":type, "layer":layer}, this.AddSymbolXYLayer.getArguments().slice(4));
	},
	RemoveSymbol: function(key, symbol) {
		return this.invoke("RemoveSymbol", {"key":key, "symbol":symbol}, this.RemoveSymbol.getArguments().slice(2));
	},
	RemoveSymbolById: function(key, symbolId) {
		return this.invoke("RemoveSymbolById", {"key":key, "symbolId":symbolId}, this.RemoveSymbolById.getArguments().slice(2));
	},
	GetSymbol: function(key, symbolId) {
		return this.invoke("GetSymbol", {"key":key, "symbolId":symbolId}, this.GetSymbol.getArguments().slice(2));
	},
	GetTables: function(key) {
		return this.invoke("GetTables", {"key":key}, this.GetTables.getArguments().slice(1));
	},
	GetTableNames: function(key) {
		return this.invoke("GetTableNames", {"key":key}, this.GetTableNames.getArguments().slice(1));
	},
	GetTableColumnNames: function(key, table) {
		return this.invoke("GetTableColumnNames", {"key":key, "table":table}, this.GetTableColumnNames.getArguments().slice(2));
	},
	GetTableColumnNamesAndType: function(key, table) {
		return this.invoke("GetTableColumnNamesAndType", {"key":key, "table":table}, this.GetTableColumnNamesAndType.getArguments().slice(2));
	},
	GetTableIsDisplayedInMap: function(key, tableName) {
		return this.invoke("GetTableIsDisplayedInMap", {"key":key, "tableName":tableName}, this.GetTableIsDisplayedInMap.getArguments().slice(2));
	},
	GetTable: function(key, name) {
		return this.invoke("GetTable", {"key":key, "name":name}, this.GetTable.getArguments().slice(2));
	},
	OpenTable: function(key, table) {
		return this.invoke("OpenTable", {"key":key, "table":table}, this.OpenTable.getArguments().slice(2));
	},
	OpenTableSpatial: function(key, table, spatialInfo) {
		return this.invoke("OpenTableSpatial", {"key":key, "table":table, "spatialInfo":spatialInfo}, this.OpenTableSpatial.getArguments().slice(3));
	},
	OpenTablePath: function(key, path, name) {
		return this.invoke("OpenTablePath", {"key":key, "path":path, "name":name}, this.OpenTablePath.getArguments().slice(3));
	},
	OpenTableSqlServer: function(key, name, connectionString, query) {
		return this.invoke("OpenTableSqlServer", {"key":key, "name":name, "connectionString":connectionString, "query":query}, this.OpenTableSqlServer.getArguments().slice(4));
	},
	CloseAllTables: function(key) {
		return this.invoke("CloseAllTables", {"key":key}, this.CloseAllTables.getArguments().slice(1));
	},
	CloseTable: function(key, name) {
		return this.invoke("CloseTable", {"key":key, "name":name}, this.CloseTable.getArguments().slice(2));
	},
	AddSelectableLayer: function(key, layerName) {
		return this.invoke("AddSelectableLayer", {"key":key, "layerName":layerName}, this.AddSelectableLayer.getArguments().slice(2));
	},
	AddInformationLayer: function(key, layerName) {
		return this.invoke("AddInformationLayer", {"key":key, "layerName":layerName}, this.AddInformationLayer.getArguments().slice(2));
	},
	RemoveSelectableLayer: function(key, layerName) {
		return this.invoke("RemoveSelectableLayer", {"key":key, "layerName":layerName}, this.RemoveSelectableLayer.getArguments().slice(2));
	},
	RemoveInformationLayer: function(key, layerName) {
		return this.invoke("RemoveInformationLayer", {"key":key, "layerName":layerName}, this.RemoveInformationLayer.getArguments().slice(2));
	},
	GetLayers: function(key) {
		return this.invoke("GetLayers", {"key":key}, this.GetLayers.getArguments().slice(1));
	},
	GetLayersVisible: function(key) {
		return this.invoke("GetLayersVisible", {"key":key}, this.GetLayersVisible.getArguments().slice(1));
	},
	GetLayerNames: function(key) {
		return this.invoke("GetLayerNames", {"key":key}, this.GetLayerNames.getArguments().slice(1));
	},
	GetLayerNamesVisible: function(key) {
		return this.invoke("GetLayerNamesVisible", {"key":key}, this.GetLayerNamesVisible.getArguments().slice(1));
	},
	GetLayer: function(key, name) {
		return this.invoke("GetLayer", {"key":key, "name":name}, this.GetLayer.getArguments().slice(2));
	},
	RemoveLayer: function(key, name) {
		return this.invoke("RemoveLayer", {"key":key, "name":name}, this.RemoveLayer.getArguments().slice(2));
	},
	RemoveAllLayers: function(key) {
		return this.invoke("RemoveAllLayers", {"key":key}, this.RemoveAllLayers.getArguments().slice(1));
	},
	DisplayLayer: function(key, name, visible) {
		return this.invoke("DisplayLayer", {"key":key, "name":name, "visible":visible}, this.DisplayLayer.getArguments().slice(3));
	},
	AddLayer: function(key, layer) {
		return this.invoke("AddLayer", {"key":key, "layer":layer}, this.AddLayer.getArguments().slice(2));
	},
	AddFeatureLayer: function(key, tableName, layerName) {
		return this.invoke("AddFeatureLayer", {"key":key, "tableName":tableName, "layerName":layerName}, this.AddFeatureLayer.getArguments().slice(3));
	},
	AddFeatureLayerTools: function(key, tableName, layerName, selectable, displayInformation) {
		return this.invoke("AddFeatureLayerTools", {"key":key, "tableName":tableName, "layerName":layerName, "selectable":selectable, "displayInformation":displayInformation}, this.AddFeatureLayerTools.getArguments().slice(5));
	},
	AddLabelLayer: function(key, tableName, layerName) {
		return this.invoke("AddLabelLayer", {"key":key, "tableName":tableName, "layerName":layerName}, this.AddLabelLayer.getArguments().slice(3));
	},
	AddLabelLayerColumn: function(key, tableName, layerName, columnName) {
		return this.invoke("AddLabelLayerColumn", {"key":key, "tableName":tableName, "layerName":layerName, "columnName":columnName}, this.AddLabelLayerColumn.getArguments().slice(4));
	},
	AddLayerStyle: function(key, layer, style) {
		return this.invoke("AddLayerStyle", {"key":key, "layer":layer, "style":style}, this.AddLayerStyle.getArguments().slice(3));
	},
	AddFeatureLayerStyle: function(key, tableName, layerName, style) {
		return this.invoke("AddFeatureLayerStyle", {"key":key, "tableName":tableName, "layerName":layerName, "style":style}, this.AddFeatureLayerStyle.getArguments().slice(4));
	},
	AddFeatureLayerToolsStyle: function(key, tableName, layerName, selectable, displayInformation, style) {
		return this.invoke("AddFeatureLayerToolsStyle", {"key":key, "tableName":tableName, "layerName":layerName, "selectable":selectable, "displayInformation":displayInformation, "style":style}, this.AddFeatureLayerToolsStyle.getArguments().slice(6));
	},
	AddLabelLayerStyle: function(key, tableName, layerName, style) {
		return this.invoke("AddLabelLayerStyle", {"key":key, "tableName":tableName, "layerName":layerName, "style":style}, this.AddLabelLayerStyle.getArguments().slice(4));
	},
	AddLabelLayerColumnStyle: function(key, tableName, layerName, columnName, style) {
		return this.invoke("AddLabelLayerColumnStyle", {"key":key, "tableName":tableName, "layerName":layerName, "columnName":columnName, "style":style}, this.AddLabelLayerColumnStyle.getArguments().slice(5));
	},
	ClearWorkspace: function(key) {
		return this.invoke("ClearWorkspace", {"key":key}, this.ClearWorkspace.getArguments().slice(1));
	},
	GetWorkspaceXml: function(key) {
		return this.invoke("GetWorkspaceXml", {"key":key}, this.GetWorkspaceXml.getArguments().slice(1));
	},
	SetWorkspaceXml: function(key, xml) {
		return this.invoke("SetWorkspaceXml", {"key":key, "xml":xml}, this.SetWorkspaceXml.getArguments().slice(2));
	},
	url: '/apps2/StreetCare/ajaxpro/Torbay.GIS.Web.Controls.MappingControlActions, Torbay.GIS.Web, Version=2006.11.1.0, Culture=neutral, PublicKeyToken=0e8421ff7ecab46a.ashx'
}));
Torbay.GIS.Web.Controls.MappingControlActions = new Torbay.GIS.Web.Controls.MappingControlActions_class();


