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();},
GetMapData:function(fileName,CBSACode,succeededCallback, failedCallback, userContext) {
/// <param name="fileName" type="String">System.String</param>
/// <param name="CBSACode" 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(), 'GetMapData',false,{fileName:fileName,CBSACode:CBSACode},succeededCallback,failedCallback,userContext); },
GetMSACountyList:function(CBSACode,succeededCallback, failedCallback, userContext) {
/// <param name="CBSACode" 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(), 'GetMSACountyList',false,{CBSACode:CBSACode},succeededCallback,failedCallback,userContext); },
GetMSALatLon:function(CBSACode,succeededCallback, failedCallback, userContext) {
/// <param name="CBSACode" 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(), 'GetMSALatLon',false,{CBSACode:CBSACode},succeededCallback,failedCallback,userContext); },
GetPlaceInfo:function(fileName,latitude,longitude,succeededCallback, failedCallback, userContext) {
/// <param name="fileName" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</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(), 'GetPlaceInfo',false,{fileName:fileName,latitude:latitude,longitude:longitude},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("/ws/MapService.asmx");
MapService.GetMapData= function(fileName,CBSACode,onSuccess,onFailed,userContext) {
/// <param name="fileName" type="String">System.String</param>
/// <param name="CBSACode" 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>
MapService._staticInstance.GetMapData(fileName,CBSACode,onSuccess,onFailed,userContext); }
MapService.GetMSACountyList= function(CBSACode,onSuccess,onFailed,userContext) {
/// <param name="CBSACode" 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>
MapService._staticInstance.GetMSACountyList(CBSACode,onSuccess,onFailed,userContext); }
MapService.GetMSALatLon= function(CBSACode,onSuccess,onFailed,userContext) {
/// <param name="CBSACode" 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>
MapService._staticInstance.GetMSALatLon(CBSACode,onSuccess,onFailed,userContext); }
MapService.GetPlaceInfo= function(fileName,latitude,longitude,onSuccess,onFailed,userContext) {
/// <param name="fileName" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</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.GetPlaceInfo(fileName,latitude,longitude,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Shape) === 'undefined') {
var Shape=gtc("Shape");
Shape.registerClass('Shape');
}
