function PoiCount(){
	this.uc="/map/uc/PoiCount?";
	this.ph= new mapionFuncs.text.ParamHashForUC();
	
	this.ph.put("grp", grp);
	this.ph.put("pt", 1);
	this.ph.put("vo", "mbml");
	this.ph.put("json", 1);
	this.ph.put("callback", "getList");
	// 汎用パラメータ
	this.general="";
};

// Common継承
PoiCount.prototype = Common.prototype;


// 汎用パラメータをセットします
PoiCount.prototype.setGeneralParam=function(p){
	this.general=p;
};

// 汎用パラメータを取得します
PoiCount.prototype.getGeneralParam=function(){
	return this.general;
};

// データ取得(都道府県)
PoiCount.prototype.getCountForKen=function(kcode){
	this.ph.remove("kencode");
	this.ph.remove("citycode");
	if( kcode ) {
		this.ph.put("kencode", kcode);
	}
	this.ph.remove("grpby");
	this.ph.put("grpby", "ken");

	this.getData(this.uc+this.ph+"&"+this.general, true);
};

// データ取得(市区町村)
PoiCount.prototype.getCountForCity=function(kcode){
	this.ph.remove("kencode");
	this.ph.remove("citycode");
	if( kcode ) {
		this.ph.put("kencode", kcode);
	}
	this.ph.remove("grpby");
	this.ph.put("grpby", "city");

	this.getData(this.uc+this.ph+"&"+this.general, true);
};

