Type.registerNamespace('NeighborhoodPreviews.Services');
NeighborhoodPreviews.Services.PointOfInterestService=function() {
NeighborhoodPreviews.Services.PointOfInterestService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NeighborhoodPreviews.Services.PointOfInterestService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_path();},
GetNeighborhoodSpatialInformationJson:function(SubdivisionID,succeededCallback, failedCallback, userContext) {
/// <param name="SubdivisionID" 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(), 'GetNeighborhoodSpatialInformationJson',false,{SubdivisionID:SubdivisionID},succeededCallback,failedCallback,userContext); },
GetPointsOfInterestByBoundingBoxJson:function(maxX,maxY,minX,minY,succeededCallback, failedCallback, userContext) {
/// <param name="maxX" type="Number">System.Single</param>
/// <param name="maxY" type="Number">System.Single</param>
/// <param name="minX" type="Number">System.Single</param>
/// <param name="minY" type="Number">System.Single</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(), 'GetPointsOfInterestByBoundingBoxJson',false,{maxX:maxX,maxY:maxY,minX:minX,minY:minY},succeededCallback,failedCallback,userContext); }}
NeighborhoodPreviews.Services.PointOfInterestService.registerClass('NeighborhoodPreviews.Services.PointOfInterestService',Sys.Net.WebServiceProxy);
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance = new NeighborhoodPreviews.Services.PointOfInterestService();
NeighborhoodPreviews.Services.PointOfInterestService.set_path = function(value) {
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.set_path(value); }
NeighborhoodPreviews.Services.PointOfInterestService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_path();}
NeighborhoodPreviews.Services.PointOfInterestService.set_timeout = function(value) {
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.set_timeout(value); }
NeighborhoodPreviews.Services.PointOfInterestService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_timeout(); }
NeighborhoodPreviews.Services.PointOfInterestService.set_defaultUserContext = function(value) { 
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.set_defaultUserContext(value); }
NeighborhoodPreviews.Services.PointOfInterestService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_defaultUserContext(); }
NeighborhoodPreviews.Services.PointOfInterestService.set_defaultSucceededCallback = function(value) { 
 NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.set_defaultSucceededCallback(value); }
NeighborhoodPreviews.Services.PointOfInterestService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_defaultSucceededCallback(); }
NeighborhoodPreviews.Services.PointOfInterestService.set_defaultFailedCallback = function(value) { 
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.set_defaultFailedCallback(value); }
NeighborhoodPreviews.Services.PointOfInterestService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.get_defaultFailedCallback(); }
NeighborhoodPreviews.Services.PointOfInterestService.set_path("/np-preview/services/PointOfInterestService.svc");
NeighborhoodPreviews.Services.PointOfInterestService.GetNeighborhoodSpatialInformationJson= function(SubdivisionID,onSuccess,onFailed,userContext) {
/// <param name="SubdivisionID" 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>
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.GetNeighborhoodSpatialInformationJson(SubdivisionID,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.PointOfInterestService.GetPointsOfInterestByBoundingBoxJson= function(maxX,maxY,minX,minY,onSuccess,onFailed,userContext) {
/// <param name="maxX" type="Number">System.Single</param>
/// <param name="maxY" type="Number">System.Single</param>
/// <param name="minX" type="Number">System.Single</param>
/// <param name="minY" type="Number">System.Single</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>
NeighborhoodPreviews.Services.PointOfInterestService._staticInstance.GetPointsOfInterestByBoundingBoxJson(maxX,maxY,minX,minY,onSuccess,onFailed,userContext); }
