var MapService=function() {
MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapService.prototype={
GetPoint:function(ListType,PlaceKey,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetPoint',false,{ListType:ListType,PlaceKey:PlaceKey},succeededCallback,failedCallback,userContext); },
GetHotelPoints:function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,searchflags,ChainKey,HotelName,RatingFlags,ReviewOnly,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetHotelPoints',false,{ListType:ListType,StartIdx:StartIdx,EndIdx:EndIdx,encodedBounds:encodedBounds,encodedCenter:encodedCenter,iZoomLevel:iZoomLevel,DestPlacekey:DestPlacekey,searchflags:searchflags,ChainKey:ChainKey,HotelName:HotelName,RatingFlags:RatingFlags,ReviewOnly:ReviewOnly,SortOption:SortOption,sortasc:sortasc,placekeys:placekeys,IsEditorsChoice:IsEditorsChoice,IsTripPlanner:IsTripPlanner},succeededCallback,failedCallback,userContext); },
GetDestPoints:function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetDestPoints',false,{ListType:ListType,StartIdx:StartIdx,EndIdx:EndIdx,encodedBounds:encodedBounds,encodedCenter:encodedCenter,iZoomLevel:iZoomLevel,DestName:DestName,SortOption:SortOption,sortasc:sortasc,placekeys:placekeys,IsEditorsChoice:IsEditorsChoice,IsTripPlanner:IsTripPlanner},succeededCallback,failedCallback,userContext); },
GetPOIPoints:function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,CRKeys,POIName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetPOIPoints',false,{ListType:ListType,StartIdx:StartIdx,EndIdx:EndIdx,encodedBounds:encodedBounds,encodedCenter:encodedCenter,iZoomLevel:iZoomLevel,DestPlacekey:DestPlacekey,CRKeys:CRKeys,POIName:POIName,SortOption:SortOption,sortasc:sortasc,placekeys:placekeys,IsEditorsChoice:IsEditorsChoice,IsTripPlanner:IsTripPlanner},succeededCallback,failedCallback,userContext); },
GetMapPopupData:function(ListType,Placekey,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetMapPopupData',false,{ListType:ListType,Placekey:Placekey},succeededCallback,failedCallback,userContext); }}
MapService.registerClass('MapService',Sys.Net.WebServiceProxy);
MapService._staticInstance = new MapService();
MapService.set_path = function(value) { MapService._staticInstance._path = value; }
MapService.get_path = function() { return MapService._staticInstance._path; }
MapService.set_timeout = function(value) { MapService._staticInstance._timeout = value; }
MapService.get_timeout = function() { return MapService._staticInstance._timeout; }
MapService.set_defaultUserContext = function(value) { MapService._staticInstance._userContext = value; }
MapService.get_defaultUserContext = function() { return MapService._staticInstance._userContext; }
MapService.set_defaultSucceededCallback = function(value) { MapService._staticInstance._succeeded = value; }
MapService.get_defaultSucceededCallback = function() { return MapService._staticInstance._succeeded; }
MapService.set_defaultFailedCallback = function(value) { MapService._staticInstance._failed = value; }
MapService.get_defaultFailedCallback = function() { return MapService._staticInstance._failed; }
MapService.set_path("/MapService.asmx");
MapService.GetPoint= function(ListType,PlaceKey,onSuccess,onFailed,userContext) {MapService._staticInstance.GetPoint(ListType,PlaceKey,onSuccess,onFailed,userContext); }
MapService.GetHotelPoints= function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,searchflags,ChainKey,HotelName,RatingFlags,ReviewOnly,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext) {MapService._staticInstance.GetHotelPoints(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,searchflags,ChainKey,HotelName,RatingFlags,ReviewOnly,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext); }
MapService.GetDestPoints= function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext) {MapService._staticInstance.GetDestPoints(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext); }
MapService.GetPOIPoints= function(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,CRKeys,POIName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext) {MapService._staticInstance.GetPOIPoints(ListType,StartIdx,EndIdx,encodedBounds,encodedCenter,iZoomLevel,DestPlacekey,CRKeys,POIName,SortOption,sortasc,placekeys,IsEditorsChoice,IsTripPlanner,onSuccess,onFailed,userContext); }
MapService.GetMapPopupData= function(ListType,Placekey,onSuccess,onFailed,userContext) {MapService._staticInstance.GetMapPopupData(ListType,Placekey,onSuccess,onFailed,userContext); }
