var ThematicLocationService=function() {
ThematicLocationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ThematicLocationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ThematicLocationService._staticInstance.get_path();},
EnhancedQueryAdvanced:function(searchText,searchType,succeededCallback, failedCallback, userContext) {
/// <param name="searchText" type="String">System.String</param>
/// <param name="searchType" type="Core.Enumerations_SearchType">Core.Enumerations+SearchType</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(), 'EnhancedQueryAdvanced',false,{searchText:searchText,searchType:searchType},succeededCallback,failedCallback,userContext); },
EnhancedQuery:function(searchText,succeededCallback, failedCallback, userContext) {
/// <param name="searchText" type="String">System.String</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(), 'EnhancedQuery',false,{searchText:searchText},succeededCallback,failedCallback,userContext); }}
ThematicLocationService.registerClass('ThematicLocationService',Sys.Net.WebServiceProxy);
ThematicLocationService._staticInstance = new ThematicLocationService();
ThematicLocationService.set_path = function(value) {
ThematicLocationService._staticInstance.set_path(value); }
ThematicLocationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ThematicLocationService._staticInstance.get_path();}
ThematicLocationService.set_timeout = function(value) {
ThematicLocationService._staticInstance.set_timeout(value); }
ThematicLocationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ThematicLocationService._staticInstance.get_timeout(); }
ThematicLocationService.set_defaultUserContext = function(value) { 
ThematicLocationService._staticInstance.set_defaultUserContext(value); }
ThematicLocationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ThematicLocationService._staticInstance.get_defaultUserContext(); }
ThematicLocationService.set_defaultSucceededCallback = function(value) { 
 ThematicLocationService._staticInstance.set_defaultSucceededCallback(value); }
ThematicLocationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ThematicLocationService._staticInstance.get_defaultSucceededCallback(); }
ThematicLocationService.set_defaultFailedCallback = function(value) { 
ThematicLocationService._staticInstance.set_defaultFailedCallback(value); }
ThematicLocationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ThematicLocationService._staticInstance.get_defaultFailedCallback(); }
ThematicLocationService.set_path("/ThematicLocationService.asmx");
ThematicLocationService.EnhancedQueryAdvanced= function(searchText,searchType,onSuccess,onFailed,userContext) {
/// <param name="searchText" type="String">System.String</param>
/// <param name="searchType" type="Core.Enumerations_SearchType">Core.Enumerations+SearchType</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>
ThematicLocationService._staticInstance.EnhancedQueryAdvanced(searchText,searchType,onSuccess,onFailed,userContext); }
ThematicLocationService.EnhancedQuery= function(searchText,onSuccess,onFailed,userContext) {
/// <param name="searchText" type="String">System.String</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>
ThematicLocationService._staticInstance.EnhancedQuery(searchText,onSuccess,onFailed,userContext); }
Type.registerNamespace('Core');
if (typeof(Core.SearchType) === 'undefined') {
Core.SearchType = function() { throw Error.invalidOperation(); }
Core.SearchType.prototype = {all: 0,county_state: 1,street_address: 2}
Core.SearchType.registerEnum('Core.SearchType', true);
}
