var MapServices=function() {
MapServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MapServices._staticInstance.get_path();},
GetPOIResults:function(categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPOIResults',true,{categoryId:categoryId},succeededCallback,failedCallback,userContext); },
GetEntertainmentVenues:function(SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEntertainmentVenues',true,{SouthWestLat:SouthWestLat,SouthWestLng:SouthWestLng,NorthEastLat:NorthEastLat,NorthEastLng:NorthEastLng,categoryId:categoryId},succeededCallback,failedCallback,userContext); },
GetPerferctures:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPerferctures',true,{},succeededCallback,failedCallback,userContext); },
GetMunicipalities:function(perferctureId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMunicipalities',true,{perferctureId:perferctureId},succeededCallback,failedCallback,userContext); }}
MapServices.registerClass('MapServices',Sys.Net.WebServiceProxy);
MapServices._staticInstance = new MapServices();
MapServices.set_path = function(value) { MapServices._staticInstance.set_path(value); }
MapServices.get_path = function() { return MapServices._staticInstance.get_path(); }
MapServices.set_timeout = function(value) { MapServices._staticInstance.set_timeout(value); }
MapServices.get_timeout = function() { return MapServices._staticInstance.get_timeout(); }
MapServices.set_defaultUserContext = function(value) { MapServices._staticInstance.set_defaultUserContext(value); }
MapServices.get_defaultUserContext = function() { return MapServices._staticInstance.get_defaultUserContext(); }
MapServices.set_defaultSucceededCallback = function(value) { MapServices._staticInstance.set_defaultSucceededCallback(value); }
MapServices.get_defaultSucceededCallback = function() { return MapServices._staticInstance.get_defaultSucceededCallback(); }
MapServices.set_defaultFailedCallback = function(value) { MapServices._staticInstance.set_defaultFailedCallback(value); }
MapServices.get_defaultFailedCallback = function() { return MapServices._staticInstance.get_defaultFailedCallback(); }
MapServices.set_path("/Services/MapServices.asmx");
MapServices.GetPOIResults= function(categoryId,onSuccess,onFailed,userContext) {MapServices._staticInstance.GetPOIResults(categoryId,onSuccess,onFailed,userContext); }
MapServices.GetEntertainmentVenues= function(SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,categoryId,onSuccess,onFailed,userContext) {MapServices._staticInstance.GetEntertainmentVenues(SouthWestLat,SouthWestLng,NorthEastLat,NorthEastLng,categoryId,onSuccess,onFailed,userContext); }
MapServices.GetPerferctures= function(onSuccess,onFailed,userContext) {MapServices._staticInstance.GetPerferctures(onSuccess,onFailed,userContext); }
MapServices.GetMunicipalities= function(perferctureId,onSuccess,onFailed,userContext) {MapServices._staticInstance.GetMunicipalities(perferctureId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(POIResult) === 'undefined') {
var POIResult=gtc("POIResult");
POIResult.registerClass('POIResult');
}
if (typeof(ComboBoxArea) === 'undefined') {
var ComboBoxArea=gtc("ComboBoxArea");
ComboBoxArea.registerClass('ComboBoxArea');
}
