<kbd id='0ysf59ap'></kbd><address id='0ysf59ap'><style id='0ysf59ap'></style></address><button id='0ysf59ap'></button>

              <kbd id='fu3251te'></kbd><address id='fu3251te'><style id='fu3251te'></style></address><button id='fu3251te'></button>

                      <kbd id='7pcfllkp'></kbd><address id='7pcfllkp'><style id='7pcfllkp'></style></address><button id='7pcfllkp'></button>

                              <kbd id='6zjuidke'></kbd><address id='6zjuidke'><style id='6zjuidke'></style></address><button id='6zjuidke'></button>

                                      <kbd id='ded4wyzb'></kbd><address id='ded4wyzb'><style id='ded4wyzb'></style></address><button id='ded4wyzb'></button>

                                              <kbd id='h8m9anvo'></kbd><address id='h8m9anvo'><style id='h8m9anvo'></style></address><button id='h8m9anvo'></button>

                                                      <kbd id='st8ka1mu'></kbd><address id='st8ka1mu'><style id='st8ka1mu'></style></address><button id='st8ka1mu'></button>

                                                              <kbd id='q6ncu8b5'></kbd><address id='q6ncu8b5'><style id='q6ncu8b5'></style></address><button id='q6ncu8b5'></button>

                                                                      <kbd id='1nmzy7t1'></kbd><address id='1nmzy7t1'><style id='1nmzy7t1'></style></address><button id='1nmzy7t1'></button>

                                                                          ag娱乐

                                                                          人才招聘
                                                                          //创建并初始化地图功能: 函数initMap(){ createMap(); //创建一个地图 setMapEvent(); //设置地图事件 addMapControl(); //向地图添加控件 addMapOverlay(); //为地图添加封面 } 函数createMap(){ Map=new BMap.Map('map'); map.centerAndZoom(new BMap.Point(112.001376,28.396042) ,19); } 函数setMapEvent(){ map.enableScrollWheelZoom(); map.enableKeyboard(); map.enableDragging(); map.enableDoubleClickZoom() } 函数addClickHandler(target ,window){ target.addEventListener( '点击' ,函数(){ target.openInfoWindow(窗口); }); } 函数addMapOverlay(){ Var标记=[ {内容:'咨询服务热线: 15173748205地址:湖南省桃江县松木塘镇元樟村邮箱:yuanlongzhuyi @ 126.com' ,标题:'桃江元龙竹制品厂' ,imageOffset: {width: 0 ,height: 3} ,位置: {lat: 28.396058 ,lng: 112.001066}}] 。 For(var index=0; index <markers.length; index ++){ Var point=new BMap.Point(markers [index] .position.lng ,markers [index] .position.lat); Var marker=new BMap.Marker(point ,{icon: new BMap.Icon('http://api.map.baidu.com/lbsapi/createmap/images/icon.png',new BMap.Size(20,25) ,{ imageOffset: new BMap.Size(markers [index] .imageOffset.width ,markers [index] .imageOffset.height) })}); Var label=new BMap.Label(markers [index] .title ,{offset: new BMap.Size(25,5)}); Var opts={ 宽度: 200 , 标题:标记[index] .title , enableMessage: false }; Var infoWindow=new BMap.InfoWindow(markers [index] .content ,opts);marker.setLabel(标签); addClickHandler(标记 ,信息窗口); map.addOverlay(标记); }; } //将控件添加到地图中 函数addMapControl(){ Var scaleControl=new BMap.ScaleControl({anchor: BMAP_ANCHOR_BOTTOM_LEFT}); scaleControl.setUnit(BMAP_UNIT_IMPERIAL); map.addControl(scaleControl); Var navControl=new BMap.NavigationControl({anchor: BMAP_ANCHOR_TOP_LEFT ,type: BMAP_NAVIGATION_CONTROL_LARGE}); map.addControl(navControl); Var overviewControl=new BMap.OverviewMapControl({anchor: BMAP_ANCHOR_BOTTOM_RIGHT ,isOpen: false}); map.addControl(overviewControl); } Var地图; initMap();
                                                                          咨询服务热线:
                                                                          15173748205
                                                                          地址:湖南桃江县松木塘镇圆槠坳村
                                                                          邮箱:yuanlongzhuyi@126.com
                                                                          远龙竹艺
                                                                          远龙竹艺微信公众号
                                                                          COPYRIGHT@2017 ag娱乐 ALL RIGHTS RESERVED
                                                                             技术支持:湖南递王科技   后台登录