	function Textmarker(point,text,size3){
		var lengths=Textmarker.getnumber(text);
		this.point =point;
                if(text==null){
                   this.text="无名人士"
                }else{
                   this.text=text;
                }
		this.csize=lengths[0];
		this.esize=lengths[1];
		this.fsize=arguments[2]?arguments[2]:15;
	}
	Textmarker.getnumber=function(text){
          if(text==null){
              return [4,0];
          }
	   var length=[0,0]; 
	  for(var i=0;i<=text.length-1;i++){
		  if ((text.charCodeAt(i) < 0) || (text.charCodeAt(i) > 255)){  
			   length[0]=length[0]+1;
		   }      
		   else{  
			   length[1]=length[1]+1;
		  }     
	   }
	 return length;
	 }
	Textmarker.prototype = new GOverlay();
	
	Textmarker.prototype.initialize = function(map)
	{
		var div = document.createElement("div");
		div.style.position = "absolute";
		div.style.color ="#993300";
		div.style.fontSize=this.fsize+"px";
		div.style.width=(this.csize*this.fsize+this.esize*this.fsize/2)+"px";
		div.style.left =this.point.x+"px";
		div.style.top = this.point.y+"px";
		div.style.backgroundColor="#FFFFD7";
		div.appendChild(document.createTextNode(this.text));
		
		map.getPane(G_MAP_MAP_PANE).appendChild(div);
		this.map_=map;
		this.div_=div;
	}
	Textmarker.prototype.remove = function(){
	   this.div_.parentNode.removeChild(this.div_);
	}
	Textmarker.prototype.copy = function(){
	
	}
	Textmarker.prototype.redraw = function(force) {
	
	   if (!force) return;
	   this.div_.style.left=this.map_.fromLatLngToDivPixel(this.point).x+"px";
	   this.div_.style.top=this.map_.fromLatLngToDivPixel(this.point).y+"px";
	}
