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={
GetMyMapPointElement:function(loc_id,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetMyMapPointElement',true,{loc_id:loc_id},succeededCallback,failedCallback,userContext); },
GetClusteredMapData:function(encodedBounds,zoomLevel,activity_id,postfix,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetClusteredMapData',true,{encodedBounds:encodedBounds,zoomLevel:zoomLevel,activity_id:activity_id,postfix:postfix},succeededCallback,failedCallback,userContext); },
GetPushPin:function(encodedBounds,startIndex,activity_id,postfix,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetPushPin',true,{encodedBounds:encodedBounds,startIndex:startIndex,activity_id:activity_id,postfix:postfix},succeededCallback,failedCallback,userContext); },
GetTipsToWrite:function(activity_id,zoomlevel,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetTipsToWrite',true,{activity_id:activity_id,zoomlevel:zoomlevel},succeededCallback,failedCallback,userContext); },
GetTopInstructions:function(activity_id,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetTopInstructions',true,{activity_id:activity_id},succeededCallback,failedCallback,userContext); },
GetNearestLocationBasedOnLatLong:function(lat,lon,activity_id,succeededCallback, failedCallback, userContext) {
return this._invoke(SoulSolutions.ClusterArticle.MapService.get_path(), 'GetNearestLocationBasedOnLatLong',true,{lat:lat,lon:lon,activity_id:activity_id},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) { 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) { 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) { 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) { SoulSolutions.ClusterArticle.MapService._staticInstance._failed = value; }
SoulSolutions.ClusterArticle.MapService.get_defaultFailedCallback = function() { return SoulSolutions.ClusterArticle.MapService._staticInstance._failed; }
SoulSolutions.ClusterArticle.MapService.set_path("/MapService.asmx");
SoulSolutions.ClusterArticle.MapService.GetMyMapPointElement= function(loc_id,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetMyMapPointElement(loc_id,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetClusteredMapData= function(encodedBounds,zoomLevel,activity_id,postfix,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetClusteredMapData(encodedBounds,zoomLevel,activity_id,postfix,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetPushPin= function(encodedBounds,startIndex,activity_id,postfix,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetPushPin(encodedBounds,startIndex,activity_id,postfix,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetTipsToWrite= function(activity_id,zoomlevel,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetTipsToWrite(activity_id,zoomlevel,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetTopInstructions= function(activity_id,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetTopInstructions(activity_id,onSuccess,onFailed,userContext); }
SoulSolutions.ClusterArticle.MapService.GetNearestLocationBasedOnLatLong= function(lat,lon,activity_id,onSuccess,onFailed,userContext) {SoulSolutions.ClusterArticle.MapService._staticInstance.GetNearestLocationBasedOnLatLong(lat,lon,activity_id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SoulSolutions.ClusterArticle.MapService_MyMapPointElement) === 'undefined') {
SoulSolutions.ClusterArticle.MapService_MyMapPointElement=gtc("SoulSolutions.ClusterArticle.MapService+MyMapPointElement");
SoulSolutions.ClusterArticle.MapService_MyMapPointElement.registerClass('SoulSolutions.ClusterArticle.MapService_MyMapPointElement');
}
if (typeof(SoulSolutions.ClusterArticle.PinData) === 'undefined') {
SoulSolutions.ClusterArticle.PinData=gtc("SoulSolutions.ClusterArticle.PinData");
SoulSolutions.ClusterArticle.PinData.registerClass('SoulSolutions.ClusterArticle.PinData');
}

