Type.registerNamespace('SoulSolutions.ClusterArticle');
SoulSolutions.ClusterArticle.MapService=function() {
SoulSolutions.ClusterArticle.MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SoulSolutions.ClusterArticle.MapService.prototype={
GetClusteredMapData:function(encodedBounds,zoomLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetClusteredMapData',false,{encodedBounds:encodedBounds,zoomLevel:zoomLevel},succeededCallback,failedCallback,userContext); },
GetClusteredMapDataByCategory:function(encodedBounds,zoomLevel,catID,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetClusteredMapDataByCategory',false,{encodedBounds:encodedBounds,zoomLevel:zoomLevel,catID:catID},succeededCallback,failedCallback,userContext); },
GetClusteredMapDataByCategoryList:function(encodedBounds,zoomLevel,catIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetClusteredMapDataByCategoryList',false,{encodedBounds:encodedBounds,zoomLevel:zoomLevel,catIDs:catIDs},succeededCallback,failedCallback,userContext); },
GetPushPin:function(encodedBounds,startIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetPushPin',false,{encodedBounds:encodedBounds,startIndex:startIndex},succeededCallback,failedCallback,userContext); },
GetPushPinByCategory:function(encodedBounds,startIndex,catID,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetPushPinByCategory',false,{encodedBounds:encodedBounds,startIndex:startIndex,catID:catID},succeededCallback,failedCallback,userContext); },
GetPushPinByCategoryList:function(encodedBounds,startIndex,catIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetPushPinByCategoryList',false,{encodedBounds:encodedBounds,startIndex:startIndex,catIDs:catIDs},succeededCallback,failedCallback,userContext); }}
SoulSolutions.ClusterArticle.MapService.registerClass('SoulSolutions.ClusterArticle.MapService',Sys.Net.WebServiceProxy);
SoulSolutions.ClusterArticle.MapService._staticInstance = new SoulSolutions.ClusterArticle.MapService();
SoulSolutions.ClusterArticle.MapService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; SoulSolutions.ClusterArticle.MapService._staticInstance._path = value; }
SoulSolutions.ClusterArticle.MapService.get_path = function() { return SoulSolutions.ClusterArticle.MapService._staticInstance._path; }
SoulSolutions.ClusterArticle.MapService.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); }
SoulSolutions.ClusterArticle.MapService._staticInstance._timeout = value; }
SoulSolutions.ClusterArticle.MapService.get_timeout = function() { 
return SoulSolutions.ClusterArticle.MapService._staticInstance._timeout; }
SoulSolutions.ClusterArticle.MapService.set_defaultUserContext = function(value) { 
SoulSolutions.ClusterArticle.MapService._staticInstance._userContext = value; }
SoulSolutions.ClusterArticle.MapService.get_defaultUserContext = function() { 
return SoulSolutions.ClusterArticle.MapService._staticInstance._userContext; }
SoulSolutions.ClusterArticle.MapService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; SoulSolutions.ClusterArticle.MapService._staticInstance._succeeded = value; }
SoulSolutions.ClusterArticle.MapService.get_defaultSucceededCallback = function() { 
return SoulSolutions.ClusterArticle.MapService._staticInstance._succeeded; }
SoulSolutions.ClusterArticle.MapService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; SoulSolutions.ClusterArticle.MapService._staticInstance._failed = value; }
SoulSolutions.ClusterArticle.MapService.get_defaultFailedCallback = function() { 
return SoulSolutions.ClusterArticle.MapService._staticInstance._failed; }
SoulSolutions.ClusterArticle.MapService.set_path("/fllowpa/MapService.asmx");
SoulSolutions.ClusterArticle.MapService.GetClusteredMapData= function(encodedBounds,zoomLevel,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetClusteredMapData(encodedBounds,zoomLevel,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetClusteredMapDataByCategory= function(encodedBounds,zoomLevel,catID,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetClusteredMapDataByCategory(encodedBounds,zoomLevel,catID,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetClusteredMapDataByCategoryList= function(encodedBounds,zoomLevel,catIDs,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetClusteredMapDataByCategoryList(encodedBounds,zoomLevel,catIDs,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetPushPin= function(encodedBounds,startIndex,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetPushPin(encodedBounds,startIndex,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetPushPinByCategory= function(encodedBounds,startIndex,catID,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetPushPinByCategory(encodedBounds,startIndex,catID,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetPushPinByCategoryList= function(encodedBounds,startIndex,catIDs,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetPushPinByCategoryList(encodedBounds,startIndex,catIDs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SoulSolutions.ClusterArticle.PinData) === 'undefined') {
SoulSolutions.ClusterArticle.PinData=gtc("SoulSolutions.ClusterArticle.PinData");
SoulSolutions.ClusterArticle.PinData.registerClass('SoulSolutions.ClusterArticle.PinData');
}
