function MarkerText(B,C,A,D,E){this._marker=B;this._dx=C||0;this._dy=A||0;this._style=D||"";this._text=E||""}MarkerText.prototype=new GOverlay();MarkerText.prototype.initialize=function(A){var B=document.createElement("div");this._div=B;this._map=A;this._div.innerHTML=this._text;this._div.setAttribute("style",this._style);
if(this._div.style.setAttribute){this._div.style.setAttribute("cssText",this._style)}this._div.style.position="absolute";this._map.getPane(G_MAP_MARKER_PANE).appendChild(this._div)};MarkerText.prototype.remove=function(){this._div.parentNode.removeChild(this._div)};MarkerText.prototype.copy=function(){return new MarkerText(this._marker,this._dx,this._dy,this._style,this._text)
};MarkerText.prototype.redraw=function(A){if(!A){return }var B=this._map.fromLatLngToDivPixel(this._marker.getLatLng());this._div.style.top=(B.y+this._dy)+"px";this._div.style.left=(B.x+this._dx)+"px"};MarkerText.prototype.element=function(){return this._div};