var AmenetiesMapService=function() {
AmenetiesMapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AmenetiesMapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AmenetiesMapService._staticInstance.get_path();},
GetMapPointsForSubCategory:function(subCategory,lat,lon,milesAway,succeededCallback, failedCallback, userContext) {
/// <param name="subCategory" type="Number">System.Int32</param>
/// <param name="lat" type="String">System.String</param>
/// <param name="lon" type="String">System.String</param>
/// <param name="milesAway" 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(), 'GetMapPointsForSubCategory',false,{subCategory:subCategory,lat:lat,lon:lon,milesAway:milesAway},succeededCallback,failedCallback,userContext); },
GetMapPointsForAmenity:function(amenity,succeededCallback, failedCallback, userContext) {
/// <param name="amenity" 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(), 'GetMapPointsForAmenity',false,{amenity:amenity},succeededCallback,failedCallback,userContext); },
GetBoundaryPlots: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(), 'GetBoundaryPlots',false,{},succeededCallback,failedCallback,userContext); }}
AmenetiesMapService.registerClass('AmenetiesMapService',Sys.Net.WebServiceProxy);
AmenetiesMapService._staticInstance = new AmenetiesMapService();
AmenetiesMapService.set_path = function(value) {
AmenetiesMapService._staticInstance.set_path(value); }
AmenetiesMapService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AmenetiesMapService._staticInstance.get_path();}
AmenetiesMapService.set_timeout = function(value) {
AmenetiesMapService._staticInstance.set_timeout(value); }
AmenetiesMapService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AmenetiesMapService._staticInstance.get_timeout(); }
AmenetiesMapService.set_defaultUserContext = function(value) { 
AmenetiesMapService._staticInstance.set_defaultUserContext(value); }
AmenetiesMapService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AmenetiesMapService._staticInstance.get_defaultUserContext(); }
AmenetiesMapService.set_defaultSucceededCallback = function(value) { 
 AmenetiesMapService._staticInstance.set_defaultSucceededCallback(value); }
AmenetiesMapService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AmenetiesMapService._staticInstance.get_defaultSucceededCallback(); }
AmenetiesMapService.set_defaultFailedCallback = function(value) { 
AmenetiesMapService._staticInstance.set_defaultFailedCallback(value); }
AmenetiesMapService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AmenetiesMapService._staticInstance.get_defaultFailedCallback(); }
AmenetiesMapService.set_path("/WebServices/AmenetiesMapService.asmx");
AmenetiesMapService.GetMapPointsForSubCategory= function(subCategory,lat,lon,milesAway,onSuccess,onFailed,userContext) {
/// <param name="subCategory" type="Number">System.Int32</param>
/// <param name="lat" type="String">System.String</param>
/// <param name="lon" type="String">System.String</param>
/// <param name="milesAway" 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>
AmenetiesMapService._staticInstance.GetMapPointsForSubCategory(subCategory,lat,lon,milesAway,onSuccess,onFailed,userContext); }
AmenetiesMapService.GetMapPointsForAmenity= function(amenity,onSuccess,onFailed,userContext) {
/// <param name="amenity" 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>
AmenetiesMapService._staticInstance.GetMapPointsForAmenity(amenity,onSuccess,onFailed,userContext); }
AmenetiesMapService.GetBoundaryPlots= 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>
AmenetiesMapService._staticInstance.GetBoundaryPlots(onSuccess,onFailed,userContext); }
