var MapService=function() {
MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MapService._staticInstance.get_path();},
GetInfo:function(pnt,succeededCallback, failedCallback, userContext) {
/// <param name="pnt" type="SharpMap.Geometries.Point">SharpMap.Geometries.Point</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(), 'GetInfo',false,{pnt:pnt},succeededCallback,failedCallback,userContext); },
GetImageLink: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(), 'GetImageLink',false,{},succeededCallback,failedCallback,userContext); },
subjectClick: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(), 'subjectClick',false,{},succeededCallback,failedCallback,userContext); },
GetInfoPropTax:function(pnt,succeededCallback, failedCallback, userContext) {
/// <param name="pnt" type="SharpMap.Geometries.Point">SharpMap.Geometries.Point</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(), 'GetInfoPropTax',false,{pnt:pnt},succeededCallback,failedCallback,userContext); }}
MapService.registerClass('MapService',Sys.Net.WebServiceProxy);
MapService._staticInstance = new MapService();
MapService.set_path = function(value) {
MapService._staticInstance.set_path(value); }
MapService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MapService._staticInstance.get_path();}
MapService.set_timeout = function(value) {
MapService._staticInstance.set_timeout(value); }
MapService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MapService._staticInstance.get_timeout(); }
MapService.set_defaultUserContext = function(value) { 
MapService._staticInstance.set_defaultUserContext(value); }
MapService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MapService._staticInstance.get_defaultUserContext(); }
MapService.set_defaultSucceededCallback = function(value) { 
 MapService._staticInstance.set_defaultSucceededCallback(value); }
MapService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MapService._staticInstance.get_defaultSucceededCallback(); }
MapService.set_defaultFailedCallback = function(value) { 
MapService._staticInstance.set_defaultFailedCallback(value); }
MapService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MapService._staticInstance.get_defaultFailedCallback(); }
MapService.set_path("/MapService.asmx");
MapService.GetInfo= function(pnt,onSuccess,onFailed,userContext) {
/// <param name="pnt" type="SharpMap.Geometries.Point">SharpMap.Geometries.Point</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>
MapService._staticInstance.GetInfo(pnt,onSuccess,onFailed,userContext); }
MapService.GetImageLink= 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>
MapService._staticInstance.GetImageLink(onSuccess,onFailed,userContext); }
MapService.subjectClick= 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>
MapService._staticInstance.subjectClick(onSuccess,onFailed,userContext); }
MapService.GetInfoPropTax= function(pnt,onSuccess,onFailed,userContext) {
/// <param name="pnt" type="SharpMap.Geometries.Point">SharpMap.Geometries.Point</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>
MapService._staticInstance.GetInfoPropTax(pnt,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SharpMap.Geometries');
if (typeof(SharpMap.Geometries.Point) === 'undefined') {
SharpMap.Geometries.Point=gtc("SharpMap.Geometries.Point");
SharpMap.Geometries.Point.registerClass('SharpMap.Geometries.Point');
}

