admin管理员组文章数量:1530873
2024年7月4日发(作者:)
HTML或者JSP 再或者PHP文件
"/TR/xhtml1/DTD/">
type="text/javascript"
style="width:150px;" />
style="width:0px;position:absolute;top:0px;right:0px;height:100%;overflow:auto;-
webkit-transition: all 0.5s ease-in-out;transition: all 0.5s ease-in-out;">
id="showOverlayInfo">此处用于展示覆盖物信息
- 绘制工具功能
- 是否进行线或面积的计算(单位米)
- 绘制功能
-
-
是否带信息窗
口
-
-
-
-
-
-
- 覆盖物操作
-
-
onclick="alert()"/>
onclick="clearAll()"/>
id="getLastOverLay"/>
-
JS文件---
// JavaScript Document
//动态标记
function DynamicMarking(point,iconv,iconu,iconSize,offsetSize,hintText){
AndZoom(point);
//
var icon = new (iconv,iconSize, {
anchor:offsetSize
});
var mkr = new (point, {
icon: icon
});
rlay(mkr);
var label;
ntListener("mouseover", function(){
//label=HintText(point,hintText);
foWindow(new ndow(hintText,{
title : "地理位置", //标题
width : 290, //宽度
}));
n(new (iconu,iconSize,{
anchor:offsetSize
}));
});
ntListener("mouseout", function () {
//Overlay(label);
n(new (iconv,iconSize,{
anchor:offsetSize
}));
});
}
//添加遮罩物--提示文本信息
function HintText(point,hintText){
AndZoom(point);
var opts = {
position : point, // 指定文本标注所在的地理位置
offset : new (30, -30) //设置文本偏移量
}
var label = new (hintText, opts); // 创建文本标注对象
le({
color : "red",
fontSize : "12px",
height : "20px",
lineHeight : "20px",
fontFamily:"微软雅黑"
});
rlay(label);
return label;
}
JS文件--- DrawingManager_
var BMapLib=b=BMapLib||{};
var
BMAP_DRAWING_MARKER="marker",BMAP_DRAWING_POLYLINE="polyline",BM
AP_DRAWING_CIRCLE="circle",BMAP_DRAWING_RECTANGLE="rectangle",BMAP_
DRAWING_POLYGON="polygon",BMAP_DRAWING_POLYGON="search";
(function(){var b=b||{guid:"$BAIDU$"};
(function(){window[]={};
=function(i,g){for(var
g){if(Property(h)){i[h]=g[h]}}return i};
h in
=||{};
=function(){
return"TANGRAM__"+(window[]._counter++).toString(36)};window[
id]._counter=window[]._counter||1;window[]._instances=window[
id]._instances||{};
=function(g){=g||();
window[]._instances[]=this};window[]._instances=windo
w[]._instances||{};
ng=function(g){return"[object
String]"==(g)};
tion=function(g){return"[object
Function]"==(g)};
ng=function(){return"[object
"+(this._className||"Object")+"]"};
e=function(){delete
window[]._instances[];
for(var g in this){if(!tion(this[g])){delete
this[g]}}ed=true};
=function(g,h){=g;
Value=true;=h||null;
tTarget=null};
ntListener=function(j,i,h){if(!tion(i))
{return}!this.__listeners&&(this.__listeners={});
var g=this.__listeners,k;
if(typeof h=="string"&&h){if(/[^w-]/.test(h)){throw ("nonstandard
key:"+h)}else{de=h;k=h}}f("on")!=0&&(j="on"+j);
typeof g[j]!="object"&&(g[j]={});
k=k||();de=k;
g[j][k]=i};
EventListener=function(i,h){
if(tion(h)){h=de}else{
if(!ng(h)){return}
}!this.__listeners&&(this.__listeners={});
f("on")!=0&&(i="on"+i);
var g=this.__listeners;
if(!g[i]){return}g[i][h]&&delete g[i][h]};
chEvent=function(k,g){
if(ng(k)){k=new
(k)}!this.__listeners&&(this.__listeners={});
g=g||{};for(var j in g){k[j]=g[j]}var j,h=this.__listeners,l=;
=||this;
tTarget=this;
f("on")!=0&&(l="on"+l);
tion(this[l])&&this[l].apply(this,arguments);
if(typeof h[l]=="object"){for(j in h[l]){h[l][j].apply(this,arguments)}}return
Value};
ts=function(m,k,j){var i,l,g=ype,h=new Function();
ype=ype;l=ype=new h();
for(i in g){l[i]=g[i]}uctor=m;
lass=ype;
if("string"==typeof j){l._className=j}};
=||{};b._g=._g=function(g){if(ng(g)){return
mentById(g)}return g};
b.g=.g=function(g){
if("string"==typeof g||g instanceof String){
return mentById(g)
}else{
if(g&&me&&(pe==1||pe==9)){
return g
}
}return null
};
HTML=HTML=function(j,g,i){j=.g(j);
var h,k;
if(AdjacentHTML){
AdjacentHTML(g,i)
}else{
h=Range();
g=rCase();
if(g=="AFTERBEGIN"||g=="BEFOREEND"){
NodeContents(j);
se(g=="AFTERBEGIN")
}else{
k=g=="BEFOREBEGIN";
h[k?"setStartBefore":"setEndAfter"](j);
se(k)
}
Node(ContextualFragment(i))
}return j
};
=ss=function(n,o){n=.g(n);
var h=(/s+/),g=ame,m=" "+g+" ",k=0,j=;
for(;k if(f(" "+h[k]+" ")<0){ g+=(g?" ":"")+h[k] } } ame=g;return n }; =||{}; ._listeners=._listeners||[]; ==function(h,k,m){ k=e(/^on/i,""); h=b._g(h);var l=function(o){ (h,o) },g=._listeners,j=._eventFilter,n,i=k;k=rCase(); if(j&&j[k]){n=j[k](h,k,l); i=;l=er }if(ntListener){ ntListener(i,l,false) }else{ if(Event){ Event("on"+i,l) } }g[]=[h,k,m,l,i]; return h}; ==function(i,l,h){ i=b._g(i);l=e(/^on/i,"").toLowerCase(); var o=._listeners,j=,k=!h,n,m,g; while(j--){n=o[j]; if(n[1]===l&&n[0]===i&&(k||n[2]===h)){ m=n[4];g=n[3]; if(EventListener){ EventListener(m,g,false) }else{ if(Event){ Event("on"+m,g) } } (j,1) } }return i } ;nt=nt=function(g){ return ||g}; get=get=function(g){ var g=nt(g); return ||ment}; tDefault=tDefault=function(g){ var g=nt(g); if(tDefault){ tDefault() }else{ Value=false } }; bble=bble=function(g){ g=nt(g); opagation?opagation():Bubble=true } })(); var d=gManager=function(h,g){ if(!h){return}(this); g=g||{};this._initialize(h,g)}; ts(d,,"DrawingManager"); =function(){if(this._isOpen==true){ return true}f(this); this._open()}; =function(){if(this._isOpen==false){ return true}this._close()}; wingMode=function(g){ if(this._drawingType!=g){ f(this); this._setDrawingMode(g) } }; wingMode=function(){ return this._drawingType}; Calculate=function(){ this._enableCalculate=true;this._addGeoUtilsLibrary() }; eCalculate=function(){ this._enableCalculate=false}; ype._initialize=function(h,g){ this._map=h; this._opts=g; this._drawingType=gMode||BMAP_DRAWING_MARKER; if(DrawingTool){ var i=new a(this,gToolOptions); this._drawingTool=i;trol(i) }if(Calculate===true){ Calculate() }else{ eCalculate() }this._isOpen=!!(===true); if(this._isOpen){ this._open()}Options=Options||{}; Options=Options||{}; neOptions=neOptions||{}; nOptions=nOptions||{}; gleOptions=gleOptions||{}},ype._open=function(){ this._isOpen=true;if(!this._mask){ this._mask=new e() }this._rlay(this._mask); this._setDrawingMode(this._drawingType) }; ype._setDrawingMode=function(g){ this._drawingType=g;if(this._isOpen){ this._mask.__listeners={}; switch(g){ case BMAP_DRAWING_MARKER:this._bindMarker(); break; case BMAP_DRAWING_CIRCLE:this._bindCircle(); break; case BMAP_DRAWING_POLYLINE:case BMAP_DRAWING_POLYGON:this._bindPolylineOrPolygon(); break; case BMAP_DRAWING_RECTANGLE:this._bindRectangle(); break } }if(this._drawingTool&&this._isOpen){ this._leByDrawingMode(g) } }; ype._close=function(){ this._isOpen=false;if(this._mask){ this._Overlay(this._mask) }if(this._drawingTool){ this._leByDrawingMode("hander") } }; ype._bindMarker=function(){ var i=this,j=this._map,h=this._mask; var g=function(l){ var k=new (,Options); rlay(k);i._dispatchOverlayComplete(k)}; ntListener("click",g)};ype._bindCircle=function(){ var m=this,h=this._map,o=this._mask,i=null,k=null; var j=function(p){ //画圆前鼠标落下时。 k=;i=new (k,0,Options); rlay(i);EdgeMove(); ntListener("mousemove",n); (document,"mouseup",l)}; var n=function(p){ius(m._tance(k,))}; var l=function(q){ var p=m._calculate(i,); m._dispatchOverlayComplete(i,p); k=null; eEdgeMove(); EventListener("mousemove",n); (document,"mouseup",l)}; var g=function(p){tDefault(p); bble(p);if(k==null){j(p)} }; ntListener("mousedown",g) }; ype._bindPolylineOrPolygon=function(){ var k=this,m=this._map,h=this._mask,j=[],n=null; overlay=null,isBinded=false; var l=function(o){ (); n=(j[-1]); if(==1){ if(k._drawingType==BMAP_DRAWING_POLYLINE){ overlay=new ne(n,neOptions) }else{ if(k._drawingType==BMAP_DRAWING_POLYGON){ overlay=new n(n,nOptions) } } rlay(overlay) }else{ h(n) }if(!isBinded){ isBinded=true; EdgeMove(); //画折线前的单击 ntListener("mousemove",i); ntListener("dblclick",g) } }; var i=function(o){ itionAt(-1,)}; var g=function(p){bble(p); isBinded=false;eEdgeMove(); EventListener("mousemove",i); //画完折线后双击 EventListener("dblclick",g); h(j);var o=k._calculate(overlay,()); k._dispatchOverlayComplete(overlay,o); =0;=0};ntListener("click",l); ntListener("dblclick",function(o){bble(o)}) }; ype._bindRectangle=function(){ var k=this,n=this._map,h=this._mask,i=null,j=null; var m=function(p){ bble(p); tDefault(p); j=; var o=j; i=new n(k._getRectanglePoint(j,o),gleOptions); rlay(i); EdgeMove(); ntListener("mousemove",l); (document,"mouseup",g)}; var l=function(o){ h(k._getRectanglePoint(j,)) }; var g=function(p){var o=k._calculate(i,h()[2]); k._dispatchOverlayComplete(i,o);j=null; eEdgeMove(); EventListener("mousemove",l); (document,"mouseup",g) }; ntListener("mousedown",m) }; ype._calculate=function(j,i){ var h={data:0,label:null}; if(this._enableCalculate&&ls){ var k=ng(); switch(k){ case"[object Polyline]":=ylineDistance(j);break; case"[object Polygon]":=ygonArea(j);break; case"[object Circle]":var g=ius();=*g*g;break }if(!||<0){ =0}else{=d(2) }=this._addLabel(i,) }return h }; ype._addGeoUtilsLibrary=function(){ if(!ls){ var g=Element("script"); ribute("type","text/javascript"); ribute("src","GeoUtils_"); Child(g) } };ype._addLabel=function(g,i){ var h=new (i,{position:g}); this._rlay(h); return h }; ype._getRectanglePoint=function(h,g){ return[new (,),new (,),new (,),new (,)]}; ype._dispatchOverlayComplete=function(h,i){ var g={overlay:h,drawingMode:this._drawingType}; if(i){ ate=||null; =||null}chEvent(this._drawingType+"complete",h); chEvent("overlaycomplete",g) }; function e(){ this._enableEdgeMove=false } ype=new y(); chEvent=chEvent;ype. addEventListener=ntListener; EventListener=EventListene r; lize=function(i){ var h=this;this._map=i; var j=ner=Element("div"); var g=this._e(); t="position:absolute;background:url(about:blank);cursor:crosshai r;width:"++"px;height:"++"px"; this._ntListener("resize",function(k){ h._adjustSize() }); this._es().Child(j); this._bind();return j }; =function(){ var (0,0)),h=oOverlayPixel(g); =h.x+"px"; =h.y+"px" }; EdgeMove=function(){ this._enableEdgeMove=true}; eEdgeMove=function(){ clearInterval(this._edgeMoveTimer); this._enableEdgeMove=false}; i=this._map,g=oPoint(new ype._bind=function(){ var l=this,g=this._map,h=ner,m=null,n=null;var k=function(p){ return{x:X,y:Y} }; var j=function(r){ var q=;r=nt(r); point=wPoint(r); var s=function(t){ =point; chEvent(r) }; if(q=="mousedown"){ m=k(r) }var p=k(r); if(q=="click"){ if((p.x-m.x)<5&&(p.y-m.y)<5){ if(!n||!((p.x-n.x)<5&&(p.y-n.y)<5)){ s("click"); n=k(r) }else{ n=null } } }else{ s(q) } }; var o=["click","mousedown","mousemove","mouseup","dblclick"],i=; while(i--){(h,o[i],j) } (h,"mousemove",function(p){ if(l._enableEdgeMove){ oveAction(p) } }) }; oveAction=function(n){ function g(s){ var r=X,q=Y; if(dTouches){ r=dTouches[0].clientX;q=dTouches[0].clientY } return new (r,q) } var h=this._map,o=this,i=oPixel(wPoint(n)),k=g(n),l=k.x-i.x,j=k.y-i.y ; i=new ((k.x-l),(k.y-j)); this._draggingMovePixel=i; var p=oPoint(i),m={pixel:i,point:p}; this._panByX=this._panByY=0;if(i.x<=20||i.x>=-20||i.y<=50||i.y>= ght-10){ if(i.x<=20){this._panByX=8}else{ if(i.x>=-20){ this._panByX=-8 } }if(i.y<=50){ this._panByY=8 }else{ if(i.y>=-10){ this._panByY=-8} }if(!this._edgeMoveTimer){ this._edgeMoveTimer=setInterval(function(){ (o._panByX,o._panByY,{noAnimation:true}) },30) } }else{ if(this._edgeMoveTimer){ clearInterval(this._edgeMoveTimer); this._edgeMoveTimer=null}}}; ype._adjustSize=function(g){ =+"px";=+" px"}; wPoint=function(l){ var k=this._map,j=get(l),h=X||||0,m=Y||||0;if( Type!=1){ j=Node}while(j&&j!=tainer()){ if(!(Width==0&&Height==0&&Parent&&Parent.n odeName=="TD")){ h+=Left||0;m+=Top||0 } j=Parent}var i=new (h,m); var g=oPoint(i); return g }; function a(h,g){ gManager=h; g=gToolOptions=g||{}; tAnchor=BMAP_ANCHOR_TOP_LEFT; tOffset=new (10,10); tDrawingModes=[BMAP_DRAWING_MARKER,BMAP_DRAWING_CI RCLE,BMAP_DRAWING_POLYLINE,BMAP_DRAWING_POLYGON,BMAP_DRAWING_ RECTANGLE]; if(gModes){ gModes=gModes }else{ gModes=tDrawingModes }if(){ hor() }if(){ set() } } ype=new l(); lize=function(i){ var h=ner=Element("div"); ame="BMapLib_Drawing";var g==Element("div"); ame="BMapLib_Drawing_panel"; if(gToolOptions&&){ this._setScale() } Child(g); TML=this._generalHtml();this._bind(g); tainer().appendChild(h);return h}; ype._generalHtml=function(m){var h={}; ="拖动地图"; h[BMAP_DRAWING_MARKER]="画点"; h[BMAP_DRAWING_CIRCLE]="画圆"; h[BMAP_DRAWING_POLYLINE]="画折线"; h[BMAP_DRAWING_POLYGON]="画多边形"; h[BMAP_DRAWING_RECTANGLE]="画矩形"; h[BMAP_DRAWING_SEARCH]="搜索"; var n=function(o,i){ return' title="'+h[i]+'" onfocus="()"> }; var k=[]; (n("BMapLib_box BMapLib_hander","hander")); for(var j=0,g=;j var l="BMapLib_box BMapLib_"+gModes[j]; if(j==g-1){ l+=" BMapLib_last"}(n(l,gModes[j])) } return ("") }; ype._setScale=function(j){ var i=390,g=50,k=-parseInt((i-i*j)/2,10),h=-parseInt((g-g*j)/2,10); t=["-moz-transform: scale("+j+");","-webkit-transform: scale("+j+");","-o-transform: scale("+j+");","transform: scale("+j+");","margin-left:"+k+"px;","margin-top:"+h+"px;","*margin-left:0px;","* margin-top:0px;","margin-left:0px0;","margin-top:0px0;","filter: progid:(","M11="+j+",","M12=0,","M21=0,"," M22="+j+",","SizingMethod='auto expand');"].join("")}; ype._bind=function(g){ var h=this; (,"click",function(k){ var j=get(k); var i=ribute("drawingType"); leByDrawingMode(i); h._bindEventByDraingMode(i) }) }; leByDrawingMode=function(h){ if(!h){ return } var j=mentsByTagName("a"); for(var k=0,g=;k if(ribute("drawingType")==h){ var l="BMapLib_box BMapLib_"+h+"_hover"; if(k==g-1){l+=" BMapLib_last"}ame=l}else{ ame=e(/_hover/,"") } } }; ype._bindEventByDraingMode=function(g){ var h=gManager; if(g=="hander"){()}else{ wingMode(g);() } }; var c=[];function f(g){ var h=;while(h--){ if(c[h]!=g){ c[h].close() } } } })(); JS文件 ----SearchInfoWindow_ Var BMapLib=b=BMapLib||{};var BMAPLIB_TAB_SEARCH=0,BMAPLIB_TAB_TO_HERE=1,BMAPLIB_TAB_FROM_HERE =2;(function(){var d,c=d=c||{version:"1.5.0"};="$BAIDU$";(function(){window[]=window[ ]||{};=||{};ng=function(e){return"[object String]"==(e)};=function(e,f){=e; Value=true;=f||null;tTarget=null};=|| {};==function(g,e){for(var e){if(Property(f)){g[f]=e[f]}}return g};=||{};._listeners=._listeners||[];=||{}; m._g=function(e){if(ng(e)){return mentById(e)}return e};c._g=._g;=function(f,i,k){i=e(/^on/i,"");f=._g(f);var j=function(m){(f,m)},e=._listeners,h=._eventFilter,l,g=i;i= erCase();if(h&&h[i]){l=h[i](f,i,j);g=;j=er}if(ntListener){n tListener(g,j,false)}else{if(Event){Event("on"+g,j)}}e[]=[f,i,k,j, g];return f};=;=function(g,j,f){g=._g(g);j=e(/^on/i,"").t oLowerCase();var m=._listeners,h=,i=!f,l,k,e;while(h--){l=m[h];if(l[1]===j&&l[0]=== f in g&&(i||l[2]===f)){k=l[4];e=l[3];if(EventListener){EventListener(k ,e,false)}else{if(Event){Event("on"+k,e)}}(h,1)}}return g};=;.g=function(e){if("string"==typeof String){return mentById(e)}else{if(e&&me&&(pe==1|| eType==9)){return e}}return e||e instanceof null};c.g=c.G=.g;=||{};r=r||{};= =/msie (d+.d+)/(ent)?(ntMode||+RegExp["x2 41"]):undefined;._NAME_ATTRS=(function(){var e={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan: "rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"};if( <8){e["for"]="htmlFor";e["class"]="className"}else{r="for"; Name="class"}return e})();r=function(f,e,g){f=.g(f);if("style"==e){t=g}else {e=._NAME_ATTRS[e]||e;ribute(e,g)}return f};r=r;rs=function(g,e){g=.g(g);for(var f in e){r(g,f,e[f])}return g};rs=rs;=function(g,e){var h=Element(g),f=e||{};return rs(h,f)};=true})();var a=InfoWindow=function(g,f,e){=b++;Inf ce[]=this;this._isOpen=false;this._map=g;this._opts=e=e|| {};this._content=f||"";this._=;this._=;this._opts. _title=||"";this._=||new (0,0);this._AutoPan=AutoPan===false?false:true;thi s._opts._panel=||null;this._opts._searchTypes=Types};ype=n ew y();lize=function(f){this._closeOtherSearchInfo();var e=this;var h=this._createSearchTemplate();var g=es().floatPane;="auto";Child(h);this._initSearchTe mplate();this._getSearchInfoWindowSize();this._boxWidth=parseInt(ner. offsetWidth,10);this._boxHeight=parseInt(Height,10);.o n(h,"onmousedown",function(i){e._stopBubble(i)});(h,"onmouseover",fun ction(i){e._stopBubble(i)});(h,"click",function(i){e._stopBubble(i)});. on(h,"dblclick",function(i){e._stopBubble(i)});return h};=function(){this._isOpen&&this._adjustPosition(this._point)};a. =function(e){this._nfoWindow();var f=this,g;if(!this._isOpen){this._rlay(this);this._isOpen=true;setTimeout( function(){f._dispatchEvent(f,"open",{point:f._point})},10)}if(e ){g=e;this._removeMarkerEvt();this._marker=null}else{if(e instanceof instanceof ){if(this._marker){this._removeMarkerEvt()}g=ition();this._mar ker=e;!this._markerDragend&&this._ntListener("dragend",this._mar kerDragend=function(h){f._point=;f._adjustPosition(f._point);f._panBox(); ow()});!this._markerDragging&&this._ntListener("dragging",this._ma rkerDragging=function(){();f._point=f._ition();f._adjustPosition(f. _point)})}}();this._point=g;this._panBox();this._adjustPosition(this._point)}; =function(){if(this._isOpen){this._Overlay(this);this._d isposeAutoComplete();this._isOpen=false;this._dispatchEvent(this,"close",{point:thi s._point})}};AutoPan=function(){this._AutoPan=true} ;eAutoPan=function(){this._AutoPan=false};y tent=function(e){this._setContent(e);this._getSearchInfoWindowSize();th is._adjustPosition(this._point)},le=function(e){ HTML=e;this._opts._title=e};tent=function(){return TML},le=function(){return TML};ition=function(e){this._point=e;this._a djustPosition(e);this._panBox();this._removeMarkerEvt()};ition=f unction(){return this._point};set=function(){return this._},(ype,{_closeOtherSearchInfo:function(){var f=ce,e=;while(e--){if(f[e]._isOpen){f[e].cl ose()}}},_setContent:function(f){if(!||!t){return}if(typeof pe==="undefined"){TML=f}else{ Child(f)}var e=this;e._adjustContainerWidth();this._content=f},_adjustPosition:function(g){var e=this._getPointPosition(g);var f=this._marker&&this._n();if(this._marker){ =-(e.y-this._+)-this._ set().height+2+30+"px";=+t his._set().width+-this._boxWidth/2+28+" px"}else{=-(e.y-this._)+30+"px"; =e.x-this._boxWidth/2+25+"px"}},_getPointPosition:function(e){thi s._pointPosition=this._oOverlayPixel(e);return this._pointPosition},_getSearchInfoWindowSize:function(){this._boxWidth=parseIn t(Width,10);this._boxHeight=parseInt(Heig ht,10)},_stopBubble:function(f){if(f&&opagation){opagation()}else{ Bubble=true}},_panBox:function(){if(!this._AutoPa n){return}var j=parseInt(this._tainer().offsetHeight,10),o=parseInt(this._ tainer().offsetWidth,10),k=this._boxHeight,e=this._boxWidth;if(k>=j||e>=o){return }if(!this._nds().containsPoint(this._point)){this._ter(this._poi nt)}var f=this._oPixel(this._point),p,m,i=e/2-28-f.x+10,n=e/2+28+f.x-o+10;if(t his._marker){var l=this._n()}var g=this._marker?+this._set().ndowAnch :0;p=k-f.y+this._+g+31+10;panX=i>0?i:(n>0?-n:0);m=p >0?p:0;this._(panX,m)},_removeMarkerEvt:function(){this._markerDrage nd&&this._EventListener("dragend",this._markerDragend);this._mar kerDragging&&this._EventListener("dragging",this._markerDraggin g);this._markerDragend=this._markerDragging=null},_dispatchEvent:function(e,f,h) {f("on")!=0&&(f="on"+f);var g=new (f);if(!!h){for(var i in h){g[i]=h[i]}}chEvent(g)},_initSearchTemplate:function(){this._initDom();this. _initPanelTemplate();le(this._opts._title);if(this._){ =parseInt(this._,10)+"px"}this._setContent(this._content );this._initService();this._bind();if(this._opts._searchTypes){this._setSearchTypes()}thi s._mendIE6()},_createSearchTemplate:function(){if(!this._div){var f=("div",{"class":"BMapLib_SearchInfoWindow",id:"BMapLib_SearchIn foWindow"+});var class="BMapLib_bubble_title" id="BMapLib_bubble_title'++'">
发表评论