var WSShopMap=function() {
WSShopMap.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WSShopMap.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WSShopMap._staticInstance.get_path();},
GetShopMapScript:function(shopID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShopMapScript',false,{shopID:shopID},succeededCallback,failedCallback,userContext); },
SaveShopLocation:function(shopID,longitude,latitude,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveShopLocation',false,{shopID:shopID,longitude:longitude,latitude:latitude},succeededCallback,failedCallback,userContext); },
GetShopsByZoom:function(market,ProvID,CityID,district,zoom,item,BrandBit,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShopsByZoom',false,{market:market,ProvID:ProvID,CityID:CityID,district:district,zoom:zoom,item:item,BrandBit:BrandBit},succeededCallback,failedCallback,userContext); },
SaveGPSbyObj:function(obj,lat,lng,zoom,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveGPSbyObj',false,{obj:obj,lat:lat,lng:lng,zoom:zoom},succeededCallback,failedCallback,userContext); },
GetObjLatLng:function(obj,type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetObjLatLng',false,{obj:obj,type:type},succeededCallback,failedCallback,userContext); },
GetObjByRange:function(maxlat,maxlng,minlat,minlng,type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetObjByRange',false,{maxlat:maxlat,maxlng:maxlng,minlat:minlat,minlng:minlng,type:type},succeededCallback,failedCallback,userContext); }}
WSShopMap.registerClass('WSShopMap',Sys.Net.WebServiceProxy);
WSShopMap._staticInstance = new WSShopMap();
WSShopMap.set_path = function(value) { WSShopMap._staticInstance.set_path(value); }
WSShopMap.get_path = function() { return WSShopMap._staticInstance.get_path(); }
WSShopMap.set_timeout = function(value) { WSShopMap._staticInstance.set_timeout(value); }
WSShopMap.get_timeout = function() { return WSShopMap._staticInstance.get_timeout(); }
WSShopMap.set_defaultUserContext = function(value) { WSShopMap._staticInstance.set_defaultUserContext(value); }
WSShopMap.get_defaultUserContext = function() { return WSShopMap._staticInstance.get_defaultUserContext(); }
WSShopMap.set_defaultSucceededCallback = function(value) { WSShopMap._staticInstance.set_defaultSucceededCallback(value); }
WSShopMap.get_defaultSucceededCallback = function() { return WSShopMap._staticInstance.get_defaultSucceededCallback(); }
WSShopMap.set_defaultFailedCallback = function(value) { WSShopMap._staticInstance.set_defaultFailedCallback(value); }
WSShopMap.get_defaultFailedCallback = function() { return WSShopMap._staticInstance.get_defaultFailedCallback(); }
WSShopMap.set_path("/WSShopMap.asmx");
WSShopMap.GetShopMapScript= function(shopID,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.GetShopMapScript(shopID,onSuccess,onFailed,userContext); }
WSShopMap.SaveShopLocation= function(shopID,longitude,latitude,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.SaveShopLocation(shopID,longitude,latitude,onSuccess,onFailed,userContext); }
WSShopMap.GetShopsByZoom= function(market,ProvID,CityID,district,zoom,item,BrandBit,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.GetShopsByZoom(market,ProvID,CityID,district,zoom,item,BrandBit,onSuccess,onFailed,userContext); }
WSShopMap.SaveGPSbyObj= function(obj,lat,lng,zoom,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.SaveGPSbyObj(obj,lat,lng,zoom,onSuccess,onFailed,userContext); }
WSShopMap.GetObjLatLng= function(obj,type,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.GetObjLatLng(obj,type,onSuccess,onFailed,userContext); }
WSShopMap.GetObjByRange= function(maxlat,maxlng,minlat,minlng,type,onSuccess,onFailed,userContext) {WSShopMap._staticInstance.GetObjByRange(maxlat,maxlng,minlat,minlng,type,onSuccess,onFailed,userContext); }
