Type.registerNamespace('WebServices');
WebServices.TouristMap=function() {
WebServices.TouristMap.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebServices.TouristMap.prototype={
GetKeyWordCoordinates:function(search,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetKeyWordCoordinates',false,{search:search},succeededCallback,failedCallback,userContext); },
GetStateContentPopup:function(stateID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetStateContentPopup',false,{stateID:stateID},succeededCallback,failedCallback,userContext); },
GetLocationContentPopup:function(locationID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetLocationContentPopup',false,{locationID:locationID},succeededCallback,failedCallback,userContext); },
GetMidLocationContentPopup:function(locationID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetMidLocationContentPopup',false,{locationID:locationID},succeededCallback,failedCallback,userContext); },
GetAllPointsOnMap:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetAllPointsOnMap',false,{},succeededCallback,failedCallback,userContext); },
GetTotalFlickrPicsForLocation:function(locationID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetTotalFlickrPicsForLocation',false,{locationID:locationID},succeededCallback,failedCallback,userContext); },
GetFlickrImagesForLocation:function(locationID,pageSize,currentPage,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'GetFlickrImagesForLocation',false,{locationID:locationID,pageSize:pageSize,currentPage:currentPage},succeededCallback,failedCallback,userContext); },
PostNewFlickrPick:function(flickrURL,name,locationID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TouristMap.get_path(), 'PostNewFlickrPick',false,{flickrURL:flickrURL,name:name,locationID:locationID},succeededCallback,failedCallback,userContext); }}
WebServices.TouristMap.registerClass('WebServices.TouristMap',Sys.Net.WebServiceProxy);
WebServices.TouristMap._staticInstance = new WebServices.TouristMap();
WebServices.TouristMap.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebServices.TouristMap._staticInstance._path = value; }
WebServices.TouristMap.get_path = function() { return WebServices.TouristMap._staticInstance._path; }
WebServices.TouristMap.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WebServices.TouristMap._staticInstance._timeout = value; }
WebServices.TouristMap.get_timeout = function() { 
return WebServices.TouristMap._staticInstance._timeout; }
WebServices.TouristMap.set_defaultUserContext = function(value) { 
WebServices.TouristMap._staticInstance._userContext = value; }
WebServices.TouristMap.get_defaultUserContext = function() { 
return WebServices.TouristMap._staticInstance._userContext; }
WebServices.TouristMap.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebServices.TouristMap._staticInstance._succeeded = value; }
WebServices.TouristMap.get_defaultSucceededCallback = function() { 
return WebServices.TouristMap._staticInstance._succeeded; }
WebServices.TouristMap.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebServices.TouristMap._staticInstance._failed = value; }
WebServices.TouristMap.get_defaultFailedCallback = function() { 
return WebServices.TouristMap._staticInstance._failed; }
WebServices.TouristMap.set_path("/touristmap/touristmap.asmx");
WebServices.TouristMap.GetKeyWordCoordinates= function(search,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetKeyWordCoordinates(search,onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetStateContentPopup= function(stateID,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetStateContentPopup(stateID,onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetLocationContentPopup= function(locationID,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetLocationContentPopup(locationID,onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetMidLocationContentPopup= function(locationID,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetMidLocationContentPopup(locationID,onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetAllPointsOnMap= function(onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetAllPointsOnMap(onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetTotalFlickrPicsForLocation= function(locationID,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetTotalFlickrPicsForLocation(locationID,onSuccess,onFailed,userContext); }
WebServices.TouristMap.GetFlickrImagesForLocation= function(locationID,pageSize,currentPage,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.GetFlickrImagesForLocation(locationID,pageSize,currentPage,onSuccess,onFailed,userContext); }
WebServices.TouristMap.PostNewFlickrPick= function(flickrURL,name,locationID,onSuccess,onFailed,userContext) {WebServices.TouristMap._staticInstance.PostNewFlickrPick(flickrURL,name,locationID,onSuccess,onFailed,userContext); }
